/*
Theme Name:        Doux Secret
Theme URI:         https://douxsecretinstitut.com/
Author:            Oscar-seo
Author URI:        https://oscar-seo.ai/
Description:       Thème de blog sur mesure pour Doux Secret – Institut de beauté & de bien-être (Toussieu). Reprend l'identité graphique du site principal : fond peint bleu canard, dorures, orchidée et monogramme DS, typographies Cormorant, Bellefair et Montserrat (auto-hébergées, conformes RGPD).
Version:           1.1.0
Requires at least: 6.0
Tested up to:      6.8
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       doux-secret
Tags:              blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, editor-style, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Polices (auto-hébergées – SIL Open Font License)
   ========================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Upright"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-upright-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Upright"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-upright-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Upright"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-upright-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bellefair"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bellefair-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Aboreto"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/aboreto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "The Nautigal"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/the-nautigal-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

/* ==========================================================================
   2. Design tokens – relevés sur douxsecretinstitut.com
   ========================================================================== */
:root {
	/* Couleurs de marque */
	--ds-gold:        #f6cb60;   /* titres, liens, dorures */
	--ds-gold-deep:   #d9a93a;   /* survol / anneau */
	--ds-sky:         #8bcee3;   /* mots mis en avant (prénoms, soins) */
	--ds-slate:       #6d818c;   /* monogramme DS */
	--ds-white:       #ffffff;
	--ds-ink:         #0f1015;   /* noir des cadres */

	/* Fond peint bleu canard */
	--ds-teal-950:    #042c48;
	--ds-teal-900:    #04344d;
	--ds-teal-800:    #033c4f;
	--ds-teal-700:    #034454;
	--ds-teal-600:    #0a455a;
	--ds-steel-500:   #315f78;
	--ds-steel-400:   #557c90;
	--ds-mist-300:    #7593a2;

	/* Rôles */
	--ds-bg:          var(--ds-teal-800);
	--ds-surface:     rgba(3, 44, 72, .55);
	--ds-surface-2:   rgba(255, 255, 255, .06);
	--ds-line:        rgba(246, 203, 96, .45);
	--ds-line-soft:   rgba(255, 255, 255, .14);
	--ds-text:        #f4f1ea;
	--ds-text-muted:  #c5d3da;

	/* Typographies */
	--ds-font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--ds-font-heading: "Cormorant Upright", "Cormorant Garamond", Garamond, serif;
	--ds-font-body:    "Bellefair", "Cormorant Garamond", Georgia, serif;
	--ds-font-nav:     "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--ds-font-caps:    "Aboreto", "Montserrat", sans-serif;
	--ds-font-script:  "The Nautigal", "Brush Script MT", cursive;

	/* Mise en page */
	--ds-wrap:        1200px;
	--ds-content:     760px;
	--ds-gutter:      clamp(16px, 4vw, 40px);
	--ds-radius:      2px;
	--ds-pill:        999px;
	--ds-shadow:      0 18px 40px -18px rgba(0, 0, 0, .55);
	--ds-ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	position: relative;
	margin: 0;
	color: var(--ds-text);
	background-color: var(--ds-bg);
	font-family: var(--ds-font-body);
	font-size: clamp(1.075rem, 1rem + .3vw, 1.2rem);
	line-height: 1.7;
	letter-spacing: .035em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
/* Fond peint bleu canard (image du site principal) fixé derrière le contenu – fluide aussi sur mobile */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(3, 44, 72, .10) 0%, rgba(3, 44, 72, .55) 100%),
		url("assets/img/fond-peinture.webp") center / cover no-repeat,
		var(--ds-bg);
	pointer-events: none;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
figure { margin: 0; }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ds-line), transparent); margin: 3rem auto; }

a { color: var(--ds-gold); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ds-ease); }
a:hover, a:focus { color: var(--ds-sky); }
:focus-visible { outline: 2px solid var(--ds-sky); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { color: var(--ds-gold); font-weight: 400; line-height: 1.15; margin: 2.2em 0 .6em; letter-spacing: .05em; }
h1 { font-family: var(--ds-font-display); font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem); text-transform: uppercase; }
h2 { font-family: var(--ds-font-heading); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); text-transform: uppercase; }
h3 { font-family: var(--ds-font-heading); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
h4 { font-family: var(--ds-font-nav); font-weight: 500; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
h5, h6 { font-family: var(--ds-font-nav); font-weight: 500; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }

p, ul, ol, dl, blockquote, pre, table { margin: 0 0 1.35em; }
strong, b { color: var(--ds-white); font-weight: 400; text-shadow: 0 0 .01px currentColor; }
em, i { font-family: var(--ds-font-heading); font-style: normal; color: var(--ds-sky); }
mark { background: transparent; color: var(--ds-sky); }
small { font-size: .85em; }

blockquote {
	position: relative;
	margin: 2.5em 0;
	padding: 1.2em 1.6em 1.2em 2.4em;
	border-left: 1px solid var(--ds-gold);
	font-family: var(--ds-font-display);
	font-style: italic;
	font-weight: 300;
	font-size: 1.45em;
	line-height: 1.45;
	color: var(--ds-white);
	background: linear-gradient(90deg, rgba(246, 203, 96, .08), transparent 70%);
}
blockquote cite, blockquote footer { display: block; margin-top: .8em; font-family: var(--ds-font-nav); font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ds-gold); }

code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; letter-spacing: 0; }
pre { overflow: auto; padding: 1.2em; background: rgba(0, 0, 0, .3); border: 1px solid var(--ds-line-soft); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: .7em .9em; border-bottom: 1px solid var(--ds-line-soft); text-align: left; }
th { font-family: var(--ds-font-nav); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-gold); }

::selection { background: var(--ds-gold); color: var(--ds-teal-950); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 100000; padding: 12px 20px;
	background: var(--ds-gold); color: var(--ds-teal-950); font-family: var(--ds-font-nav); font-size: .85rem;
}

/* ==========================================================================
   4. Composants réutilisables
   ========================================================================== */
.ds-wrap { width: 100%; max-width: var(--ds-wrap); margin-inline: auto; padding-inline: var(--ds-gutter); }
.ds-narrow { max-width: calc(var(--ds-content) + 2 * var(--ds-gutter)); }

/* Étiquette capitales fines, comme « DE BIEN-ÊTRE » */
.ds-eyebrow {
	display: inline-block;
	font-family: var(--ds-font-caps);
	font-size: .85rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ds-white);
}

/* Lien menu doré souligné, comme « L'INSTITUT / PRESTATIONS » */
.ds-link {
	font-family: var(--ds-font-nav);
	font-weight: 500;
	font-size: .82rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ds-gold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .35em;
}
.ds-link:hover, .ds-link:focus { color: var(--ds-white); }

/* Bouton pilule blanc (cf. « À LA UNE ! ») */
.ds-btn, .wp-block-button__link, button, input[type="submit"], input[type="button"], .comment-reply-link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .8em 1.7em;
	border: 2px solid var(--ds-white);
	border-radius: var(--ds-pill);
	background: transparent;
	color: var(--ds-gold);
	font-family: var(--ds-font-display);
	font-size: 1.15rem;
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s var(--ds-ease), color .25s var(--ds-ease), border-color .25s var(--ds-ease), transform .25s var(--ds-ease);
}
.ds-btn:hover, .ds-btn:focus, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover, .comment-reply-link:hover {
	background: var(--ds-gold); border-color: var(--ds-gold); color: var(--ds-teal-950); transform: translateY(-1px);
}
.ds-btn--gold { background: var(--ds-gold); border-color: var(--ds-gold); color: var(--ds-teal-950); }
.ds-btn--gold:hover, .ds-btn--gold:focus { background: transparent; color: var(--ds-gold); }
.ds-btn--small { padding: .55em 1.25em; font-size: 1rem; }

/* Cadre photo fin, comme les vignettes du site */
.ds-frame { position: relative; display: block; overflow: hidden; background: var(--ds-ink); border: 1px solid rgba(255, 255, 255, .55); box-shadow: var(--ds-shadow); }
.ds-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ds-ease); }
a:hover .ds-frame img, a:focus .ds-frame img { transform: scale(1.04); }

/* Filet doré décoratif avec anneau central */
.ds-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2.5rem auto; color: var(--ds-gold); }
.ds-divider::before, .ds-divider::after { content: ""; height: 1px; width: min(120px, 25vw); background: linear-gradient(90deg, transparent, var(--ds-gold)); }
.ds-divider::after { transform: scaleX(-1); }
.ds-divider span { width: 10px; height: 10px; border: 1px solid var(--ds-gold); border-radius: 50%; }

/* ==========================================================================
   5. En-tête
   ========================================================================== */
.ds-topbar {
	background: rgba(4, 44, 72, .85);
	border-bottom: 1px solid var(--ds-line-soft);
	font-family: var(--ds-font-body);
	font-size: .95rem;
	letter-spacing: .06em;
	color: var(--ds-white);
}
.ds-topbar .ds-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .45rem; }
.ds-topbar a { color: var(--ds-white); text-decoration: none; }
.ds-topbar a:hover { color: var(--ds-gold); }
@media (max-width: 600px) { .ds-topbar { font-size: .82rem; } .ds-topbar .ds-wrap { justify-content: center; text-align: center; } }
.ds-topbar__phone::before { content: "Tél : "; color: var(--ds-gold); }

.site-header { position: relative; z-index: 50; }
.site-header__bar {
	background: linear-gradient(180deg, rgba(4, 44, 72, .7), rgba(4, 44, 72, .35));
	border-bottom: 1px solid var(--ds-line);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 110px; padding-block: .6rem; }

.site-branding { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.site-branding a { display: block; line-height: 0; }
.site-branding .custom-logo, .site-branding .ds-logo { width: auto; height: 104px; max-height: 104px; }
.site-branding__text { display: flex; flex-direction: column; line-height: 1; }
.site-title { margin: 0; font-family: var(--ds-font-script); font-size: 2.6rem; color: var(--ds-gold); letter-spacing: 0; text-transform: none; }
.site-title a { color: inherit; text-decoration: none; }
.site-description { margin: .35rem 0 0; font-family: var(--ds-font-caps); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ds-white); }

/* Navigation principale */
.main-navigation { display: flex; align-items: center; gap: 1.6rem; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation .menu { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.8rem; }
.main-navigation .menu > li { position: relative; }
.main-navigation .menu a {
	display: inline-block; padding: .4rem 0;
	font-family: var(--ds-font-nav); font-weight: 500; font-size: .8rem;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--ds-gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em;
	text-decoration-color: rgba(246, 203, 96, .55);
}
.main-navigation .menu a:hover, .main-navigation .menu a:focus,
.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a, .main-navigation .current_page_parent > a { color: var(--ds-white); text-decoration-color: var(--ds-white); }

/* Sous-menus */
.main-navigation .sub-menu, .main-navigation .children {
	position: absolute; top: 100%; left: -1rem; min-width: 230px; padding: .6rem 0;
	background: rgba(4, 44, 72, .97); border: 1px solid var(--ds-line); box-shadow: var(--ds-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ds-ease);
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu,
.main-navigation li:hover > .children, .main-navigation li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a, .main-navigation .children a { display: block; padding: .45rem 1rem; text-decoration: none; }

.menu-toggle { display: none; }

@media (max-width: 980px) {
	.site-header__inner { min-height: 84px; }
	.site-branding .custom-logo, .site-branding .ds-logo { height: 70px; }
	.menu-toggle {
		display: inline-flex; padding: .55rem .9rem; border: 1px solid var(--ds-gold); border-radius: var(--ds-radius);
		font-family: var(--ds-font-nav); font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--ds-gold);
	}
	.menu-toggle:hover { background: var(--ds-gold); color: var(--ds-teal-950); transform: none; }
	.menu-toggle__icon { display: inline-block; width: 18px; height: 12px; border-block: 1px solid currentColor; position: relative; }
	.menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
	.main-navigation__panel {
		position: absolute; left: 0; right: 0; top: 100%;
		display: none; padding: 1.2rem var(--ds-gutter) 1.6rem;
		background: rgba(4, 44, 72, .98); border-bottom: 1px solid var(--ds-line); box-shadow: var(--ds-shadow);
	}
	.main-navigation.is-open .main-navigation__panel { display: block; }
	.main-navigation .menu { flex-direction: column; align-items: flex-start; gap: .2rem; }
	.main-navigation .sub-menu, .main-navigation .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 1px solid var(--ds-line); background: transparent; margin-left: .4rem; padding: 0 0 0 .6rem; }
	.main-navigation .ds-btn { margin-top: 1rem; }
}

/* ==========================================================================
   6. Bandeau (hero) du blog / des pages
   ========================================================================== */
.ds-hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); text-align: left; overflow: hidden; }
.ds-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 2rem; }
.ds-hero__title { margin: 0 0 .3em; font-family: var(--ds-font-display); font-weight: 300; font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.5rem); line-height: 1.02; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-gold); }
.ds-hero__title em { font-family: var(--ds-font-display); font-style: italic; color: var(--ds-gold); }
.ds-hero__lead { max-width: 42ch; font-size: 1.25rem; color: var(--ds-white); letter-spacing: .08em; }
.ds-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.8rem; }
.ds-hero__logo { justify-self: center; width: min(460px, 100%); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.ds-hero__logo img { display: block; width: 100%; height: auto; }
.ds-hero__meta { margin-top: 1.4rem; color: var(--ds-white); font-size: 1.05rem; }
.ds-hero__meta a { color: var(--ds-white); text-decoration: none; }
.ds-hero__meta a:hover { color: var(--ds-gold); }
.ds-hero__arrow svg { width: 100%; height: 100%; fill: currentColor; }
.ds-hero__arrow { display: inline-block; width: 22px; height: 30px; margin-right: .6rem; vertical-align: middle; color: var(--ds-gold); }

/* Bandeau compact (archives, pages, recherche) */
.ds-hero--compact { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.ds-hero--compact .ds-hero__title { font-style: italic; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.5rem); }
.ds-hero--compact .ds-hero__lead { margin-inline: auto; max-width: 60ch; font-size: 1.1rem; color: var(--ds-text-muted); }

@media (max-width: 860px) {
	.ds-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.ds-hero__lead { margin-inline: auto; }
	.ds-hero__actions { justify-content: center; }
	.ds-hero__logo { order: -1; width: min(320px, 80%); }
}

/* Fil d'Ariane */
.ds-breadcrumb { font-family: var(--ds-font-nav); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ds-text-muted); margin-bottom: 1.2rem; }
.ds-breadcrumb a { color: var(--ds-gold); text-decoration: none; }
.ds-breadcrumb a:hover { color: var(--ds-white); }
.ds-breadcrumb span[aria-hidden] { margin-inline: .6em; color: var(--ds-gold); }

/* ==========================================================================
   7. Mise en page principale
   ========================================================================== */
.site-main { padding-bottom: clamp(3rem, 7vw, 6rem); }
.ds-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.has-sidebar .ds-layout { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 1024px) { .has-sidebar .ds-layout { grid-template-columns: minmax(0, 1fr); } }

.ds-section-title { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.8rem; font-family: var(--ds-font-heading); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); text-transform: uppercase; color: var(--ds-gold); }
.ds-section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--ds-line), transparent); }

/* Filtres de catégories */
.ds-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 0 0 2.8rem; padding: 0; list-style: none; }
.ds-filters a { font-family: var(--ds-font-nav); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-gold); text-underline-offset: .45em; text-decoration-color: rgba(246, 203, 96, .45); }
.ds-filters a:hover, .ds-filters .is-current a { color: var(--ds-white); text-decoration-color: var(--ds-white); }

/* ==========================================================================
   8. Cartes d'articles
   ========================================================================== */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.8rem, 3vw, 2.6rem); }
.has-sidebar .ds-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

.ds-card { display: flex; flex-direction: column; min-width: 0; }
.ds-card__media { display: block; aspect-ratio: 4 / 3; margin-bottom: 1.2rem; text-decoration: none; }
.ds-card__media .ds-frame { height: 100%; }
.ds-card__placeholder { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 30% 30%, var(--ds-steel-500), var(--ds-teal-950)); }
.ds-card__placeholder img { width: 38%; height: auto; object-fit: contain; opacity: .9; }
.ds-card__cat { margin-bottom: .5rem; }
.ds-card__cat a { font-family: var(--ds-font-nav); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ds-sky); text-decoration: none; }
.ds-card__cat a:hover { color: var(--ds-gold); }
.ds-card__title { margin: 0 0 .6rem; font-family: var(--ds-font-heading); font-size: clamp(1.45rem, 1.25rem + .6vw, 1.75rem); line-height: 1.2; letter-spacing: .03em; text-transform: none; }
.ds-card__title a { color: var(--ds-gold); text-decoration: none; }
.ds-card__title a:hover { color: var(--ds-white); }
.ds-card__excerpt { margin-bottom: 1rem; color: var(--ds-text); font-size: 1.02rem; line-height: 1.6; }
.ds-card__excerpt p { margin: 0; }
.ds-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--ds-line-soft); }
.ds-card__date { font-size: .92rem; color: var(--ds-text-muted); }

/* Article à la une (premier de la page d'accueil du blog) */
.ds-card--featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; grid-column: 1 / -1; margin-bottom: 1rem; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--ds-line); }
.ds-card--featured .ds-card__media { margin: 0; aspect-ratio: 16 / 11; }
.ds-card--featured .ds-card__title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); }
.ds-card--featured .ds-card__excerpt { font-size: 1.15rem; }
.ds-card--featured .ds-card__footer { border: 0; padding: 0; margin-top: 1rem; justify-content: flex-start; gap: 2rem; }
.ds-badge { display: inline-block; margin-bottom: .9rem; padding: .35em .9em; border: 1px solid var(--ds-gold); border-radius: var(--ds-pill); font-family: var(--ds-font-display); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-gold); }
@media (max-width: 860px) { .ds-card--featured { grid-template-columns: 1fr; } }

/* ==========================================================================
   9. Article seul / page
   ========================================================================== */
.ds-entry-header { padding-block: clamp(2.5rem, 6vw, 5rem) 2rem; text-align: center; }
.ds-entry-header .entry-title { margin: .2em auto .4em; max-width: 22ch; font-family: var(--ds-font-display); font-weight: 300; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.08; letter-spacing: .04em; text-transform: uppercase; }
.ds-entry-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1.4rem; font-size: 1rem; color: var(--ds-text-muted); }
.ds-entry-meta a { color: var(--ds-gold); text-decoration: none; }
.ds-entry-meta .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--ds-gold); }

.ds-entry-thumb { max-width: 1000px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.ds-entry-thumb .ds-frame { aspect-ratio: 16 / 9; }
.ds-entry-thumb figcaption { margin-top: .6rem; text-align: center; font-size: .9rem; color: var(--ds-text-muted); }

.entry-content { max-width: var(--ds-content); margin-inline: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > p:first-of-type::first-letter {
	float: left; margin: .08em .12em 0 0;
	font-family: var(--ds-font-display); font-weight: 300; font-size: 4.2em; line-height: .8; color: var(--ds-gold);
}
.entry-content h2 { position: relative; padding-top: .9em; }
.entry-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 1px; background: var(--ds-gold); }
.entry-content ul { list-style: none; padding-left: 1.3em; }
.entry-content ul li { position: relative; margin-bottom: .45em; }
.entry-content ul li::before { content: ""; position: absolute; left: -1.2em; top: .7em; width: 7px; height: 7px; border: 1px solid var(--ds-gold); border-radius: 50%; }
.entry-content ol { padding-left: 1.4em; }
.entry-content ol li::marker { color: var(--ds-gold); font-family: var(--ds-font-display); }
.entry-content a { color: var(--ds-gold); }
.entry-content img { border: 1px solid rgba(255, 255, 255, .45); }
.entry-content .alignwide { max-width: min(1100px, 100vw - 2 * var(--ds-gutter)); margin-inline: calc(50% - min(550px, 50vw - var(--ds-gutter))); }
.entry-content .alignfull { max-width: 100vw; width: 100vw; margin-inline: calc(50% - 50vw); }
.entry-content .alignfull img { border: 0; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption, .wp-element-caption { font-size: .9rem; color: var(--ds-text-muted); text-align: center; margin-top: .5rem; }
.wp-block-separator { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ds-line), transparent); margin-block: 3rem; }
.wp-block-pullquote { border-block: 1px solid var(--ds-gold); padding: 2rem 0; text-align: center; }
.wp-block-pullquote blockquote { border: 0; background: none; padding: 0; margin: 0; }
.wp-block-table table { border: 1px solid var(--ds-line-soft); }
.wp-block-quote.is-style-large, .wp-block-quote.is-large { font-size: 1.8em; }

/* Encadré « prestation » (style de bloc) */
.is-style-ds-panel { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--ds-surface); border: 1px solid var(--ds-line); box-shadow: var(--ds-shadow); }
.is-style-ds-panel > *:last-child { margin-bottom: 0; }
.is-style-ds-signature { font-family: var(--ds-font-script); font-size: 2.6em; line-height: 1.1; color: var(--ds-gold); letter-spacing: 0; }
.is-style-ds-caps { font-family: var(--ds-font-caps); letter-spacing: .2em; text-transform: uppercase; }

/* Tags + partage */
.ds-entry-footer { max-width: var(--ds-content); margin: 3rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--ds-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.ds-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ds-tags a { display: inline-block; padding: .3em .9em; border: 1px solid var(--ds-line-soft); border-radius: var(--ds-pill); font-family: var(--ds-font-nav); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-text); text-decoration: none; }
.ds-tags a:hover { border-color: var(--ds-gold); color: var(--ds-gold); }
.ds-share { display: flex; align-items: center; gap: .9rem; font-family: var(--ds-font-nav); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ds-text-muted); }
.ds-share a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ds-line); border-radius: 50%; color: var(--ds-gold); }
.ds-share a:hover { background: var(--ds-gold); color: var(--ds-teal-950); }
.ds-share svg { width: 16px; height: 16px; fill: currentColor; }

/* Encadré auteur – esprit « Qui suis-je ? » */
.ds-author { max-width: var(--ds-content); margin: 3.5rem auto 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1.6rem; align-items: center; padding: 1.8rem; background: var(--ds-surface); border: 1px solid var(--ds-line); }
.ds-author img { width: 110px; height: 110px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .6); }
.ds-author__label { margin: 0 0 .2rem; font-family: var(--ds-font-heading); font-size: 1.4rem; text-transform: uppercase; color: var(--ds-gold); letter-spacing: .06em; }
.ds-author__name { margin: 0 0 .4rem; font-family: var(--ds-font-script); font-size: 2.3rem; line-height: 1; color: var(--ds-white); }
.ds-author p { margin: 0; color: var(--ds-text); }
@media (max-width: 560px) { .ds-author { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Appel à l'action réservation */
.ds-cta { position: relative; max-width: 1000px; margin: clamp(3rem, 7vw, 5rem) auto 0; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; border: 1px solid var(--ds-gold); background: radial-gradient(ellipse at top, rgba(246, 203, 96, .12), transparent 60%), var(--ds-surface); }
.ds-cta::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246, 203, 96, .25); pointer-events: none; }
.ds-cta__title { margin: 0 0 .8rem; line-height: 1.15; font-family: var(--ds-font-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); text-transform: uppercase; }
.ds-cta__script { display: block; margin-bottom: .6rem; font-family: var(--ds-font-script); font-size: 2.6rem; line-height: 1; color: var(--ds-gold); }
.ds-cta p { max-width: 52ch; margin: 0 auto 1.6rem; color: var(--ds-white); }
.ds-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Navigation article précédent / suivant */
.post-navigation { max-width: 1000px; margin: 3.5rem auto 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.post-navigation a { display: block; height: 100%; padding: 1.3rem 1.5rem; border: 1px solid var(--ds-line-soft); text-decoration: none; transition: border-color .2s; }
.post-navigation a:hover { border-color: var(--ds-gold); }
.post-navigation .nav-next { text-align: right; }
.post-navigation .nav-subtitle { display: block; margin-bottom: .3rem; font-family: var(--ds-font-nav); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ds-sky); }
.post-navigation .nav-title { font-family: var(--ds-font-heading); font-size: 1.3rem; color: var(--ds-gold); line-height: 1.25; }
@media (max-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

/* Articles liés */
.ds-related { margin-top: clamp(3rem, 7vw, 5rem); }

/* ==========================================================================
   10. Pagination
   ========================================================================== */
.pagination, .comments-pagination { margin-top: 3.5rem; }
.pagination .nav-links, .comments-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .9rem; border: 1px solid var(--ds-line-soft); border-radius: var(--ds-pill); font-family: var(--ds-font-display); font-size: 1.2rem; color: var(--ds-gold); text-decoration: none; }
.page-numbers:hover { border-color: var(--ds-gold); color: var(--ds-white); }
.page-numbers.current { background: var(--ds-gold); border-color: var(--ds-gold); color: var(--ds-teal-950); }
.page-numbers.dots { border: 0; }

/* ==========================================================================
   11. Barre latérale & widgets
   ========================================================================== */
.widget-area .widget { margin-bottom: 2.4rem; padding: 1.6rem; background: var(--ds-surface); border: 1px solid var(--ds-line-soft); }
.widget-title, .widget .wp-block-heading { margin: 0 0 1rem; font-family: var(--ds-font-heading); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-gold); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .45rem 0; border-bottom: 1px solid var(--ds-line-soft); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--ds-text); text-decoration: none; }
.widget a:hover { color: var(--ds-gold); }
.ds-widget-booking { text-align: center; }
.ds-widget-booking img { width: 200px; margin: 0 auto 1rem; display: block; }

/* Formulaires */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="tel"], input[type="number"], textarea, select {
	width: 100%; padding: .8rem 1rem;
	background: rgba(255, 255, 255, .06); color: var(--ds-white);
	border: 1px solid var(--ds-line-soft); border-radius: var(--ds-radius);
	font-family: var(--ds-font-body); font-size: 1.02rem; letter-spacing: .04em;
	transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ds-gold); }
::placeholder { color: rgba(255, 255, 255, .5); }
label { font-family: var(--ds-font-nav); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-gold); }

.search-form, .wp-block-search__inside-wrapper { display: flex; gap: .5rem; }
.wp-block-search__label { display: block; margin-bottom: .6rem; }
.wp-block-search__input { border-radius: var(--ds-radius); }
.wp-block-search .wp-block-search__button { margin: 0; padding: .6em 1.1em; background: transparent; color: var(--ds-gold); border: 2px solid var(--ds-white); font-size: .95rem; }
.wp-block-search .wp-block-search__button:hover { background: var(--ds-gold); border-color: var(--ds-gold); color: var(--ds-teal-950); }
.search-form label { flex: 1; }
.search-form .search-submit { padding-inline: 1.2rem; font-size: 1rem; }

/* ==========================================================================
   12. Commentaires
   ========================================================================== */
.comments-area { max-width: var(--ds-content); margin: 4rem auto 0; }
.comments-title, .comment-reply-title { font-family: var(--ds-font-heading); font-size: 1.8rem; text-transform: uppercase; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; margin: 0; padding-left: clamp(1rem, 4vw, 2.5rem); border-left: 1px solid var(--ds-line-soft); }
.comment-body { margin-bottom: 1.4rem; padding: 1.3rem 1.4rem; background: var(--ds-surface); border: 1px solid var(--ds-line-soft); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-bottom: .8rem; }
.comment-author { display: flex; align-items: center; gap: .7rem; font-family: var(--ds-font-heading); font-size: 1.2rem; color: var(--ds-gold); }
.comment-author .avatar { border-radius: 50%; border: 1px solid var(--ds-gold); }
.comment-author .says { display: none; }
.comment-metadata { font-size: .85rem; }
.comment-metadata a { color: var(--ds-text-muted); text-decoration: none; }
.comment-reply-link { padding: .35em 1em; font-size: .9rem; }
.bypostauthor > .comment-body { border-color: var(--ds-gold); }
.comment-form p { margin-bottom: 1rem; }
.comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; }
.comment-form-cookies-consent label { text-transform: none; letter-spacing: .02em; font-family: var(--ds-font-body); font-size: .95rem; color: var(--ds-text); }

/* ==========================================================================
   13. Pied de page
   ========================================================================== */
.site-footer { position: relative; margin-top: 0; padding-top: clamp(3rem, 6vw, 4.5rem); background: linear-gradient(180deg, rgba(4, 44, 72, .35), rgba(4, 30, 50, .92)); border-top: 1px solid var(--ds-line); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 240px; height: auto; }
.site-footer__brand p { margin-top: 1rem; color: var(--ds-text-muted); max-width: 34ch; }
.site-footer h2 { margin: 0 0 1rem; font-family: var(--ds-font-heading); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--ds-text); text-decoration: none; }
.site-footer a:hover { color: var(--ds-gold); }
.site-footer address { font-style: normal; line-height: 1.8; color: var(--ds-white); }
.site-footer .ds-btn { margin-top: 1rem; }
.ds-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.ds-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ds-line); border-radius: 50%; color: var(--ds-gold); }
.ds-social a:hover { background: var(--ds-gold); color: var(--ds-teal-950); }
.ds-social svg { width: 18px; height: 18px; fill: currentColor; }
.site-info { padding-block: 1.3rem; border-top: 1px solid var(--ds-line-soft); font-family: var(--ds-font-nav); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-text-muted); }
.site-info .ds-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.site-info a { color: var(--ds-text-muted); }
.site-info .menu { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Retour en haut */
.ds-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--ds-gold); border-radius: 50%; background: rgba(4, 44, 72, .9); color: var(--ds-gold); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s; }
.ds-to-top.is-visible { opacity: 1; visibility: visible; }
.ds-to-top:hover { background: var(--ds-gold); color: var(--ds-teal-950); transform: none; }
.ds-to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   14. 404 / aucun résultat
   ========================================================================== */
.ds-empty { max-width: 640px; margin: 0 auto; text-align: center; }
.ds-empty img { width: 180px; margin: 0 auto 1.5rem; display: block; opacity: .95; }
.ds-empty .search-form { margin-top: 1.5rem; }


/* ==========================================================================
   14 bis. Animation d'entrée (balayage gauche → droite, comme le site Canva)
   Active seulement si JavaScript tourne (classe .ds-js posée dans <head>).
   ========================================================================== */
@keyframes ds-wipe {
	from { clip-path: inset(-15% 100% -15% -15%); }
	to   { clip-path: inset(-15% -15% -15% -15%); }
}
@keyframes ds-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

html.ds-js:not(.ds-anim-failsafe) body:not(.ds-anim-none) :is(
	.site-branding, .main-navigation, .ds-eyebrow, .ds-hero__title, .ds-hero .is-style-ds-signature,
	.ds-hero__lead, .ds-hero__actions, .ds-hero__meta, .ds-hero__logo, .ds-breadcrumb, .ds-filters, .ds-card,
	.ds-entry-header .ds-card__cat, .ds-entry-header .entry-title, .ds-entry-meta, .ds-divider, .ds-entry-thumb,
	.ds-section-title, .ds-author, .ds-cta, .site-footer__grid > *
):not(.is-in) { visibility: hidden; }

body.ds-anim-wipe .ds-reveal.is-in:not(.is-done) { animation: ds-wipe var(--ds-anim-duration, 1.5s) cubic-bezier(.45, 0, .2, 1) both; }
body.ds-anim-fade .ds-reveal.is-in:not(.is-done) { animation: ds-fade-up var(--ds-anim-duration, 1s) cubic-bezier(.22, .61, .36, 1) both; }

@media (prefers-reduced-motion: reduce) {
	html.ds-js body :is(.site-branding, .main-navigation, .ds-eyebrow, .ds-hero__title, .ds-hero .is-style-ds-signature, .ds-hero__lead, .ds-hero__actions, .ds-hero__meta, .ds-hero__logo, .ds-breadcrumb, .ds-filters, .ds-card, .ds-entry-header .ds-card__cat, .ds-entry-header .entry-title, .ds-entry-meta, .ds-divider, .ds-entry-thumb, .ds-section-title, .ds-author, .ds-cta, .site-footer__grid > *) { visibility: visible !important; animation: none !important; }
}

/* ==========================================================================
   15. Accessibilité – réduction des animations
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Impression */
@media print {
	body { background: #fff; color: #000; }
	.site-header, .site-footer, .ds-cta, .ds-share, .post-navigation, .comments-area, .ds-to-top, .ds-topbar { display: none !important; }
	h1, h2, h3, a { color: #000 !important; }
}
