/*!
Theme Name: mariage-artiste
Theme URI: http://underscores.me/
Author: Karine Maillet
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mariage-artiste
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mariage-artiste is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Theme mariage-artiste
	- Polices (via Apparence > Polices)
	- Variables (couleurs & typographies)
	- Points de rupture (mobile first)
	- Conteneur (bandes blanches en desktop)
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
	- Cases à cocher & boutons radio
## Layouts
# Components
	- Media
	- Captions
	- Galleries
	- Boutons (principal / secondaire)
# Utilities
	- Accessibility
	- Anneau de focus clavier
	- Alignments
	- Couleurs & signature

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Theme mariage-artiste
--------------------------------------------------------------*/

/* Polices
--------------------------------------------- */
/*
	DM Serif Display, Source Serif 4 et Brittany Signature sont installées
	via Apparence > Polices (Font Library) dans la médiathèque : WordPress
	héberge les fichiers localement et génère lui-même les règles @font-face
	(inutile de les redéclarer ici, et ça évite un appel externe à Google
	Fonts, ce qui est plus propre niveau RGPD).

	Seul point de vigilance : les noms ci-dessous (--font-titre, --font-corps,
	--font-signature) doivent correspondre EXACTEMENT au nom donné à chaque
	police au moment de l'ajout dans Apparence > Polices. En cas de doute,
	ouvrir Apparence > Polices et vérifier l'orthographe/la casse exacte
	affichée pour chaque famille.
*/

/* Variables (couleurs & typographies)
--------------------------------------------- */
:root {

	/* Palette validée en réunion avec les mariés */
	--color-sauge: #8C9A5B;
	--color-abricot: #F2AE6A;
	--color-terracotta: #DC7A33;
	--color-corail: #E68B88;
	--color-bleu-doux: #B7CDE1;
	--color-creme: #F6EFE6;
	--color-orange-clair: #FDF1E5;
	--color-gris-chaud: #F0EAE1;

	/* Usage : fond en orange clair, accentuations en terracotta,
	   tâches de couleur en sauge, texte en noir/sauge, bleu doux
	   réservé aux ajouts de fleurs. */
	--color-fond: var(--color-orange-clair);
	--color-fond-alt: var(--color-creme);
	--color-texte: #262420;
	--color-accent: var(--color-terracotta);
	--color-accent-hover: #b8611f;
	--color-tache: var(--color-sauge);

	/* Typographies */
	--font-titre: "DM Serif Display", Georgia, serif;
	--font-corps: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-signature: "Brittany Signature", "Segoe Script", "Brush Script MT", cursive;

	/* Rayons / ombres communs aux boutons et cartes */
	--radius-bouton: 999px;
	--ombre-douce: 0 4px 14px rgba(140, 154, 91, 0.18);

	/* Largeur max du site à partir du desktop : on garde le rendu tablette
	   et on ajoute des bandes blanches sur les côtés au lieu d'étirer la
	   mise en page. */
	--content-max-width: 60em;
}

/* Points de rupture (approche mobile first)
--------------------------------------------- */
/*
	Toute la feuille de style est écrite mobile first : les règles "de base"
	(hors media query) s'appliquent au mobile, puis on ENRICHIT l'affichage
	à mesure que l'écran s'agrandit avec des `min-width`. On ne fait jamais
	l'inverse (`max-width` pour rétrécir depuis le desktop).

	Points de rupture utilisés dans ce fichier (en em, base 16px) :
	- 30em   ≈ 480px  : grand mobile / petit format
	- 37.5em ≈ 600px  : tablette portrait (déjà utilisé pour le menu)
	- 48em   ≈ 768px  : tablette paysage
	- 60em   ≈ 960px  : desktop
	- 80em   ≈ 1280px : grand écran
*/
html {
	font-size: 100%;
}

/* Conteneur : bandes blanches à partir du desktop
--------------------------------------------- */
/*
	En dessous de --content-max-width (donc jusqu'à la tablette incluse),
	le site prend toute la largeur de l'écran, comme avant. À partir du
	desktop, on ne laisse plus la mise en page s'étirer : le contenu garde
	sa largeur "tablette" et reste centré, avec des bandes blanches de
	chaque côté.

	.site correspond au conteneur global généré par Underscores
	(<div id="page" class="site">) qui englobe le header, le contenu et
	le footer.
*/
@media screen and (min-width: 60em) {
	.site {
		max-width: var(--content-max-width);
		margin-left: auto;
		margin-right: auto;
		box-shadow: 0 0 40px rgba(38, 36, 32, 0.08);
	}
}
.site{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-main{
	padding-top: 6rem;
	flex: 1 0 auto;
	background-image: url('assets/images/background/fond.png') !important;
	background-size: 100vw auto !important;
	background-repeat: repeat-y !important;
	margin-top: 80px;
 }
@media screen and (min-width: 48em) {
	.site-main {
		background-image: url('assets/images/background/fond-desktop.png') !important;
		background-size: clamp(48em, 100%, 100%) auto !important;
		background-position: top center !important;
	}
}
.home .site-main {
	padding-top: 0;
}

.entry-content{
	width: min(100% - 2.5rem, 15rem);
	margin-inline: auto;
	padding-bottom: 4rem;
}
@media screen and (min-width: 43em){
	.entry-content{
		width: min(100% - 2.5rem, 28rem);
		padding-bottom: 4rem;
	}
}@media screen and (min-width: 60em){
	.entry-content{
		width: min(100% - 2.5rem, 40rem);
		padding-bottom: 4rem;
	}
}


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	height: 100%;
	margin: 0;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	flex: 1;
	position: relative;
	z-index: 1;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
.tache-abricot,
.tache-sauge,
.tache-terracotta {
	background-size: 100% 100% !important;
	background-repeat: no-repeat !important;
}
.tache-abricot {
	background-image: url('assets/images/taches/abricot.png');
}
.tache-sauge {
	background-image: url('assets/images/taches/vert-sauge.png');
}
.tache-terracotta {
	background-image: url('assets/images/taches/corail.png');
}
img{
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea{
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input{
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"]{
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea,
.forminator-label {
	color: var(--color-texte);
	font-family: var(--font-corps);
	font-size: 1rem;
	line-height: 1.6;
}

h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-titre);
	font-weight: 400;
	line-height: 1.2;
	color: var(--color-terracotta);
}

/*
	Tailles fluides mobile-first : la valeur part petite sur mobile et
	grandit avec la largeur d'écran (clamp(min, valeur-fluide, max)),
	sans avoir besoin de media queries supplémentaires.
*/
h1 {
	clear: both;
	font-family: var(--font-signature);
	font-weight: 400;
	line-height: 1.2;
	color: var(--color-sauge);
	font-size: clamp(1.75rem, 5vw + 1rem, 3rem);
	text-align: center;
	margin-top: -80px;
	margin-bottom: 0px;
}

h2 {
	font-size: clamp(1.5rem, 3.5vw + 1rem, 2.25rem);
}

h3 {
	font-size: clamp(1.25rem, 2.5vw + 1rem, 1.75rem);
}

h4 {
	font-size: clamp(1.125rem, 1.5vw + 1rem, 1.375rem);
}

h5 {
	font-size: clamp(1rem, 1vw + 1rem, 1.125rem);
}

h6 {
	font-size: clamp(0.95rem, 0.5vw + 1rem, 1rem);
}

p{
	margin: 0;
}
:where(.wp-block-columns) {
	margin-bottom: 0em !important;
	margin-top: 1.75em !important;
}
/*@media screen and (min-width: 48em ) {*/
/*	p {*/
/*		margin-inline: 80px;*/
/*	}*/
/*	.wp-block-column > p {*/
/*		 margin-left: 0px;*/
/*	}*/
/*}*/
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
	font-family: var(--font-titre);
	color: var(--color-sauge);
	border-left: 3px solid var(--color-sauge);
	padding-left: 1em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-gris-chaud);
}

.site {
	background: var(--color-fond);
}

hr {
	background-color: var(--color-abricot);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
	color: var(--color-sauge);
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

h1 ~ div {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 37.5em) {

	table {
		display: table;
		overflow-x: visible;
	}
}

table th {
	font-family: var(--font-titre);
	color: var(--color-terracotta);
	text-align: left;
	border-bottom: 2px solid var(--color-sauge);
	padding: 0.5em 0.75em;
	white-space: nowrap;
}

table td {
	border-bottom: 1px solid var(--color-abricot);
	padding: 0.5em 0.75em;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-accent);
	text-decoration-color: var(--color-abricot);
	transition: color 0.2s ease;
}

a:visited {
	color: var(--color-sauge);
}

a:hover,
a:focus,
a:active {
	color: var(--color-accent-hover);
}

a:focus {
	outline: none;
}

a:focus-visible {
	outline: 2px solid var(--color-terracotta);
	outline-offset: 2px;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: block;
	width: 100%;
	border: 2px solid var(--color-sauge);
	border-radius: var(--radius-bouton);
	background: transparent;
	color: var(--color-sauge);
	font-family: var(--font-corps);
	font-weight: 600;
	line-height: 1;
	padding: 0.85em 1.75em;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media screen and (min-width: 37.5em) {

	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		display: inline-block;
		width: auto;
	}
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--color-sauge);
	color: var(--color-texte);
	box-shadow: var(--ombre-douce);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: var(--color-accent-hover);
	outline: none;
	box-shadow: 0 0 0 3px rgba(220, 122, 51, 0.25);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--color-texte);
	background: #fff;
	border: 1px solid var(--color-sauge);
	border-radius: 8px;
	padding: 0.6em 0.75em;
	width: 100%;
	max-width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--color-texte);
	border-color: var(--color-terracotta);
	outline: none;
}

/* Texte d'exemple affiché dans un champ vide, harmonisé avec la charte
   plutôt que le gris par défaut du navigateur. */
input::placeholder,
textarea::placeholder {
	color: var(--color-sauge);
	opacity: 0.7;
}

select {
	border: 1px solid var(--color-sauge);
	border-radius: 8px;
	padding: 0.5em;
	background: #fff;
}

textarea {
	width: 100%;
}

/* Cases à cocher & boutons radio
--------------------------------------------- */
/*
	accent-color est la façon moderne et légère de reteinter les cases à
	cocher/radios natifs du navigateur (support large : Chrome, Firefox,
	Safari, Edge récents). On les agrandit un peu au passage pour un
	meilleur tap target mobile.
*/
input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--color-terracotta);
	width: 1.15em;
	height: 1.15em;
	vertical-align: middle;
	margin-right: 0.4em;
	cursor: pointer;
}

/* Étiquette associée à une case à cocher / un radio, pour un tap confortable */
label {
	cursor: pointer;
}

.forminator-edit-module-link {
	display: none !important;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley{
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
	/* Mobile first : une seule colonne par défaut, quel que soit le nombre
	   de colonnes demandé dans la médiathèque. */
	grid-template-columns: 1fr;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

@media screen and (min-width: 30em) {

	.gallery-columns-2,
	.gallery-columns-3,
	.gallery-columns-4,
	.gallery-columns-5,
	.gallery-columns-6,
	.gallery-columns-7,
	.gallery-columns-8,
	.gallery-columns-9 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 48em) {

	.gallery-columns-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-columns-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.gallery-columns-4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.gallery-columns-5 {
		grid-template-columns: repeat(5, 1fr);
	}

	.gallery-columns-6 {
		grid-template-columns: repeat(6, 1fr);
	}

	.gallery-columns-7 {
		grid-template-columns: repeat(7, 1fr);
	}

	.gallery-columns-8 {
		grid-template-columns: repeat(8, 1fr);
	}

	.gallery-columns-9 {
		grid-template-columns: repeat(9, 1fr);
	}
}

.gallery-caption {
	display: block;
}

/* Boutons (principal / secondaire)
--------------------------------------------- */
/*
	Classes prêtes à l'emploi pour les boutons du site (RSVP, formulaire,
	liens d'action...). Elles s'utilisent en plus des balises <button>,
	<a> ou <input type="submit"> : <a href="#" class="btn btn-primary">Je réponds</a>
*/
.btn {
	display: block;
	width: 100%;
	font-family: var(--font-corps);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	text-align: center;
	border-radius: var(--radius-bouton);
	padding: 0.85em 2em;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

@media screen and (min-width: 37.5em) {

	.btn {
		display: inline-block;
		width: auto;
	}
}

.btn:hover,
.btn:focus {
	transform: translateY(-1px);
}

/* Bouton principal : appel à l'action fort (ex. "Je réponds au RSVP") */
.btn-primary {
	border: 2px solid var(--color-terracotta);
	background: var(--color-terracotta);
	/* Texte foncé plutôt que blanc : sur ce terracotta, le contraste est
	   d'environ 6.9:1 en noir contre ~3:1 en blanc (le blanc passe tout
	   juste en grand texte mais pas en texte normal selon WCAG AA). */
	color: var(--color-texte);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--color-orange-clair);
	border-color: var(--color-terracotta);
	color: var(--color-terracotta);
	box-shadow: var(--ombre-douce);
}

/* Bouton secondaire : action discrète (ex. "En savoir plus") */
.btn-secondary {
	border: 2px solid var(--color-sauge);
	background: transparent;
	color: var(--color-sauge);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: var(--color-sauge);
	color: var(--color-texte);
}

/* Bouton tertiaire discret, pour les liens moins prioritaires */
.btn-tertiary {
	border: none;
	background: transparent;
	color: var(--color-terracotta);
	text-decoration: underline;
	text-decoration-color: var(--color-abricot);
	padding: 0.5em 0.25em;
}

.btn-tertiary:hover,
.btn-tertiary:focus {
	color: var(--color-accent-hover);
}

/*
	Bouton du bloc natif WordPress (Gutenberg). Par défaut ce bloc arrive
	avec un fond noir/gris foncé qui ne suit pas la charte : on lui applique
	le même style que .btn-primary, et sa variante "outline" (bouton
	secondaire choisi dans l'éditeur) reprend le style .btn-secondary.
*/
.wp-block-button__link {
	display: block;
	width: 100%;
	font-family: var(--font-corps);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	text-align: center;
	border-radius: var(--radius-bouton);
	padding: 0.85em 2em;
	border: 2px solid var(--color-terracotta);
	background-color: var(--color-terracotta);
	color: var(--color-creme);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

@media screen and (min-width: 37.5em) {

	.wp-block-button__link {
		display: inline-block;
		width: auto;
	}
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background-color: var(--color-orange-clair);
	border-color: var(--color-terracotta);
	color: var(--color-terracotta);
	box-shadow: var(--ombre-douce);
	transform: translateY(-1px);
}

/* Variante "contour" du bloc bouton (choisie dans l'éditeur) : style secondaire */
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	border: 2px solid var(--color-sauge);
	color: var(--color-sauge);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	background-color: var(--color-sauge);
	color: var(--color-texte);
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Anneau de focus clavier
--------------------------------------------- */
/*
	:focus-visible ne s'affiche qu'à la navigation clavier (tab), pas au
	clic souris/tactile : ça évite un anneau disgracieux au clic tout en
	gardant un repère clair et accessible au clavier, aux couleurs du site
	plutôt que le bleu par défaut du navigateur.
*/
.btn:focus-visible,
.wp-block-button__link:focus-visible,
.main-navigation a:focus-visible,
.menu-toggle:focus-visible {
	outline: 2px solid var(--color-terracotta);
	outline-offset: 2px;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
input[type="number"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="date"]:focus-visible,
input[type="month"]:focus-visible,
input[type="week"]:focus-visible,
input[type="time"]:focus-visible,
input[type="datetime"]:focus-visible,
input[type="datetime-local"]:focus-visible,
input[type="color"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--color-terracotta);
	outline-offset: 1px;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
	outline: 2px solid var(--color-terracotta);
	outline-offset: 2px;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Couleurs & signature
--------------------------------------------- */
/*
	Petites classes utilitaires pour appliquer rapidement la charte
	(prénoms des mariés, accroches courtes, tâches de couleur en fond...).
*/
.text-sauge {
	color: var(--color-sauge);
}

.text-terracotta {
	color: var(--color-terracotta);
}

.bg-creme {
	background-color: var(--color-creme);
}

.bg-orange-clair {
	background-color: var(--color-orange-clair);
}

/* Réservé aux fleurs / petites touches décoratives, pas pour le texte principal */
.accent-bleu-doux {
	color: var(--color-bleu-doux);
}

/*
	Prénoms des mariés et accroches très courtes uniquement (quelques mots
	max). Écriture en minuscules avec la première lettre en majuscule,
	comme validé en réunion.
*/
.signature {
	font-family: var(--font-signature);
	font-size: clamp(1.75rem, 6vw + 1rem, 2.5rem);
	text-transform: lowercase;
	color: var(--color-terracotta);
}

.signature::first-letter {
	text-transform: uppercase;
}
/* Le widget iFrame Spotify
--------------------------------------------- */

#spotify-embed-container iframe {
	min-width: 100% !important;
}

/* Icons
--------------------------------------------- */

.conseil-accessoire {
	display: flex !important;
	justify-content: center !important; /* Centre l'ensemble horizontalement */
	align-items: center !important;     /* Centre l'icône verticalement par rapport au texte */
	gap: 10px;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	text-align: center;
}

.conseil-accessoire .lucide-icon,
.conseil-accessoire svg {
	width: 20px !important;
	height: 20px !important;
	stroke-width: 2;
	flex-shrink: 0;
	display: block !important;
	margin: 0 !important;
}

.conseil-accessoire span {
	display: inline-block !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}

/* Séparateurs du thème
--------------------------------------------- */

.wp-block-separator {
	border: none !important;
	background-color: transparent !important;
	opacity: 1 !important;

	background-image: url('assets/images/separateurs/separateur.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;

	height: auto;
	max-width: 100%;
	margin-top: 4rem;
	margin-bottom: 4rem;
}

.wp-block-separator.is-style-wide,
.wp-block-separator.is-style-dots {
	border: none !important;
	background-image: url('assets/images/separateurs/separateur.png');
}

.wp-block-separator.is-style-dots::before {
	content: none !important;
}