/*
Theme Name: Domo Salle de Bain
Template: twentytwentyfive
Description: Thème enfant pour renovation-salledebain-creteil.fr (Domo Rénovation, Créteil).
Version: 0.2.0
Text Domain: domo-sdb
*/

/* Couleurs du logo: bleu Domo (structure, confiance) + rouge Domo (action). */
:root {
	--domo-radius: 8px;
	--domo-shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
	--c-navy: var(--wp--preset--color--navy);
	--c-navy-dark: var(--wp--preset--color--navy-dark);
	--c-red: var(--wp--preset--color--accent);
	--c-tile: var(--wp--preset--color--tile);
	--c-line: var(--wp--preset--color--line);
	--c-muted: var(--wp--preset--color--muted);
	--c-ink: var(--wp--preset--color--contrast);
}

body { -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
.wp-site-blocks > * { margin-block-start: 0 !important; }

:where(a):focus-visible,
:where(button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--c-red);
	outline-offset: 2px;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--c-navy);
}

/* ------------------------------------------------------------- */
/* En-tête                                                        */
/* ------------------------------------------------------------- */
.domo-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 243, 238, .92);
	backdrop-filter: saturate(1.4) blur(6px);
	border-bottom: 1px solid var(--c-line);
}
.domo-header .domo-logo img { height: 58px; width: auto; display: block; }
.domo-header .domo-tel a { text-decoration: none; font-weight: 700; color: var(--c-navy); white-space: nowrap; }
.domo-header .domo-tel small { display: block; font-weight: 400; color: var(--c-muted); font-size: .78rem; }
@media (max-width: 600px) {
	.domo-header > .wp-block-group { flex-wrap: nowrap !important; gap: .6rem; }
	.domo-header .domo-logo img { height: 44px; }
	.domo-header .domo-tel { display: none; }
	.domo-header .wp-block-button__link { padding: .55rem .9rem; font-size: .9rem; }
}

/* ------------------------------------------------------------- */
/* Hero                                                           */
/* ------------------------------------------------------------- */
.domo-hero {
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(212,178,122,.28), transparent 55%),
		linear-gradient(135deg, #0b1427 0%, #14244a 50%, #1a3a84 130%);
	color: #fff;
}
.domo-hero h1, .domo-hero h2, .domo-hero p { color: #fff; }
.domo-hero .domo-surtitre { color: #d4b27a; }
.domo-hero h1 { font-weight: 500; line-height: 1.04; }
.domo-hero h1 em { color: #ecdcbc; }
.domo-hero .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.7); }
.domo-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255,255,255,.1); }
.domo-hero-photo { position: relative; margin: 0; }
.domo-hero-photo img {
	width: 100%; max-height: 520px; object-fit: cover;
	border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); display: block;
}
.domo-hero-photo figcaption {
	position: absolute; left: 14px; bottom: 14px; margin: 0;
	background: #fff; color: var(--c-ink); border-radius: 6px; padding: .45rem .7rem;
	font-size: .85rem; line-height: 1.35; box-shadow: var(--domo-shadow);
}
.domo-hero-photo figcaption strong { color: var(--c-red); }
@media (max-width: 781px) { .domo-hero-photo img { max-height: 340px; } }
.domo-surtitre { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; color: #b08d57; }

/* Bandeau de confiance */
.domo-confiance {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
	list-style: none; margin: 0; padding: 0;
}
.domo-confiance li { display: flex; gap: .7rem; align-items: flex-start; min-width: 0; }
.domo-confiance svg { flex: 0 0 auto; width: 30px; height: 30px; color: var(--c-red); margin-top: .1rem; }
.domo-confiance strong { display: block; color: var(--c-ink); }
.domo-confiance span { color: var(--c-muted); font-size: .9rem; line-height: 1.4; display: block; }
@media (max-width: 860px) { .domo-confiance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------- */
/* Pour qui: oui / non                                            */
/* ------------------------------------------------------------- */
.domo-ouinon { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.domo-ouinon > div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--domo-radius); padding: 1.3rem 1.4rem; }
.domo-ouinon h3 { margin: 0 0 .6rem; font-size: 1.1rem; display: flex; gap: .5rem; align-items: center; }
.domo-ouinon ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.domo-ouinon li { padding-left: 1.6rem; position: relative; }
.domo-ouinon .oui li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--ok); font-weight: 700; }
.domo-ouinon .non li::before { content: "✕"; position: absolute; left: 0; color: var(--c-red); font-weight: 700; }
.domo-ouinon .oui { border-top: 4px solid var(--wp--preset--color--ok); }
.domo-ouinon .non { border-top: 4px solid var(--c-red); }
@media (max-width: 700px) { .domo-ouinon { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- */
/* Soucis -> réponse -> preuve                                    */
/* ------------------------------------------------------------- */
.domo-soucis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.domo-souci {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--domo-radius);
	padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--domo-shadow);
}
.domo-souci .citation { font-size: 1.15rem; font-weight: 700; color: var(--c-ink); line-height: 1.3; margin: 0; }
.domo-souci .etiquette { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-red); margin: 0; }
.domo-souci p { margin: 0; }
.domo-souci .preuve {
	margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--c-line);
	font-size: .9rem; color: var(--c-navy); font-weight: 600;
}
@media (max-width: 900px) { .domo-soucis { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- */
/* Réalisations                                                   */
/* ------------------------------------------------------------- */
.domo-reals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.domo-real {
	background: #fff; border-radius: var(--domo-radius); overflow: hidden;
	box-shadow: var(--domo-shadow); display: flex; flex-direction: column; min-width: 0;
}
.domo-real img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.domo-real .corps { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .6rem; }
.domo-real h3 { margin: 0; font-size: 1.2rem; }
.domo-real p { margin: 0; }
.domo-real .lieu { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-red); }
.domo-reals-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.4rem; }
.domo-reals-mini .domo-real { box-shadow: none; border: 1px solid var(--c-line); }
@media (max-width: 760px) { .domo-reals, .domo-reals-mini { grid-template-columns: 1fr; } }

.domo-faits { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.domo-faits li {
	font-family: var(--wp--preset--font-family--serif);
	font-size: .82rem; font-variant-numeric: tabular-nums;
	background: var(--c-tile); border: 1px solid var(--c-line); border-radius: 4px; padding: .15rem .5rem;
}
.domo-faits li.prix { background: var(--c-navy); border-color: var(--c-navy); color: #fff; font-weight: 600; }

/* ------------------------------------------------------------- */
/* Prix internet vs devis                                         */
/* ------------------------------------------------------------- */
.domo-compare { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border-radius: var(--domo-radius); overflow: hidden; box-shadow: var(--domo-shadow); }
.domo-compare > div { padding: 1.5rem 1.6rem; }
.domo-compare .internet { background: var(--c-tile); }
.domo-compare .devis { background: #fff; border-left: 4px solid var(--c-navy); }
.domo-compare h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.domo-compare .gros { font-family: var(--wp--preset--font-family--serif); font-size: 1.6rem; font-weight: 700; margin: 0 0 .8rem; color: var(--c-ink); }
.domo-compare .devis .gros { font-family: inherit; }
.domo-compare .internet .gros { color: var(--c-muted); text-decoration: line-through; text-decoration-color: var(--c-red); }
.domo-compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.domo-compare li { padding-left: 1.6rem; position: relative; }
.domo-compare .internet li::before { content: "?"; position: absolute; left: .2rem; color: var(--c-muted); font-weight: 700; }
.domo-compare .devis li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--ok); font-weight: 700; }
@media (max-width: 760px) { .domo-compare { grid-template-columns: 1fr; } .domo-compare .devis { border-left: 0; border-top: 4px solid var(--c-navy); } }

/* ------------------------------------------------------------- */
/* Étapes (vraie séquence)                                        */
/* ------------------------------------------------------------- */
.domo-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: etape; list-style: none; margin: 0; padding: 0; position: relative; }
.domo-etapes::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: var(--c-line); }
.domo-etapes li { counter-increment: etape; position: relative; display: grid; gap: .35rem; align-content: start; }
.domo-etapes li::before {
	content: counter(etape); width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c-navy);
	box-shadow: 0 0 0 5px #fff; position: relative; margin-bottom: .4rem;
}
.domo-etapes strong { color: var(--c-ink); }
.domo-etapes span { color: var(--c-muted); font-size: .95rem; }
@media (max-width: 860px) {
	.domo-etapes { grid-template-columns: 1fr; gap: 1rem; }
	.domo-etapes::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
	.domo-etapes li { padding-left: 56px; }
	.domo-etapes li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ------------------------------------------------------------- */
/* Avis                                                           */
/* ------------------------------------------------------------- */
.domo-avis-note { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.domo-avis-note .note { font-size: 2.4rem; font-weight: 700; line-height: 1; color: #fff; }
.domo-etoiles { color: #ffc93c; letter-spacing: .1em; font-size: 1.2rem; }
.domo-avis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.domo-avis blockquote {
	margin: 0; background: #fff; color: var(--c-ink); border-radius: var(--domo-radius);
	padding: 1.3rem 1.4rem; display: grid; gap: .6rem; border: 0;
}
.domo-avis blockquote p { margin: 0; color: var(--c-ink); }
.domo-avis cite { font-style: normal; font-size: .88rem; color: var(--c-muted); }
@media (max-width: 760px) { .domo-avis { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- */
/* FAQ                                                            */
/* ------------------------------------------------------------- */
.domo-faq details { border-bottom: 1px solid var(--c-line); padding: 1rem 0; }
.domo-faq summary { cursor: pointer; font-weight: 700; color: var(--c-ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.domo-faq summary::-webkit-details-marker { display: none; }
.domo-faq summary::after { content: "+"; color: var(--c-red); font-size: 1.4rem; line-height: 1; }
.domo-faq details[open] summary::after { content: "−"; }
.domo-faq details > *:not(summary) { margin-top: .6rem; color: var(--c-muted); }

/* ------------------------------------------------------------- */
/* Section devis + pied de page                                   */
/* ------------------------------------------------------------- */
.domo-devis-grille { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: start; }
.domo-devis-grille .apres { display: grid; gap: 1rem; }
.domo-devis-grille .apres h2 { margin: 0; }
.domo-devis-grille .apres ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.domo-devis-grille .carte-form { background: #fff; border-radius: 12px; box-shadow: var(--domo-shadow); padding: clamp(1.2rem, 3vw, 2rem); }
.domo-devis-grille .carte-form .domo-form-wrap { max-width: none; }
.domo-devis-grille .carte-form .domo-form-wrap > h2 { display: none; }
@media (max-width: 860px) { .domo-devis-grille { grid-template-columns: 1fr; } }

.domo-footer a { color: inherit; }
.domo-footer .logo-badge { background: #fff; border-radius: 10px; padding: 8px 10px; display: inline-block; }
.domo-footer .logo-badge img { height: 70px; width: auto; display: block; }

/* Barre d'action fixe sur mobile */
.domo-barre-mobile { display: none; }
@media (max-width: 700px) {
	.domo-barre-mobile {
		display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(20,33,61,.1);
	}
	.domo-barre-mobile a {
		text-align: center; text-decoration: none; font-weight: 700; border-radius: 6px; padding: .7rem .5rem;
	}
	.domo-barre-mobile .appel { border: 2px solid var(--c-navy); color: var(--c-navy); }
	.domo-barre-mobile .devis { background: var(--c-red); color: #fff; }
	.domo-barre-mobile .wa { background: #1f8f4e; color: #fff; }
	body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* ------------------------------------------------------------- */
/* Pages de campagne                                              */
/* ------------------------------------------------------------- */

/* Preuve devis = facture (hero page prix-fixe) */
.domo-preuve-chiffres { background: #fff; color: var(--c-ink); border-radius: 12px; padding: 1.3rem 1.4rem; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.domo-hero .domo-preuve-chiffres p { color: var(--c-ink); margin: 0; }
.domo-preuve-chiffres .t { font-weight: 700; margin-bottom: .7rem !important; }
.domo-preuve-chiffres table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.domo-preuve-chiffres th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); padding: 0 0 .4rem; }
.domo-preuve-chiffres td { padding: .55rem 0; border-top: 1px solid var(--c-line); }
.domo-preuve-chiffres td + td, .domo-preuve-chiffres th + th { text-align: right; padding-left: .8rem; white-space: nowrap; }
.domo-preuve-chiffres td:last-child { color: var(--wp--preset--color--ok); font-weight: 700; }
.domo-hero .domo-preuve-chiffres .n { color: var(--c-muted); font-size: .85rem; margin-top: .6rem; }

/* Exemple de devis */
.domo-devis-ex { border: 1px solid var(--c-line); border-radius: var(--domo-radius); overflow: hidden; background: #fff; }
.domo-devis-ex .ligne { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-top: 1px solid var(--c-line); align-items: center; }
.domo-devis-ex .ligne:first-child { border-top: 0; }
.domo-devis-ex .entete { background: var(--c-tile); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.domo-devis-ex .tag { flex: 0 0 auto; font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--c-tile); color: var(--c-navy); }
.domo-devis-ex .tag.si { background: #fff1d6; color: #8a5300; }

/* Tableau simple */
.domo-table-wrap { overflow-x: auto; }
.domo-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--domo-radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.domo-table th, .domo-table td { padding: .7rem 1rem; text-align: left; border-top: 1px solid var(--c-line); }
.domo-table th { background: var(--c-navy); color: #fff; font-size: .85rem; border-top: 0; }

/* Projet avant/après */
.domo-projet { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; padding-block: 1.5rem; }
.domo-projet + .domo-projet { border-top: 1px solid var(--c-line); margin-top: 1.5rem; padding-top: 3rem; }
.domo-projet .photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.domo-projet .photos.deux { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
.domo-projet figure { margin: 0; position: relative; }
.domo-projet img { width: 100%; height: 100%; max-height: 420px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; display: block; }
.domo-projet figcaption { position: absolute; left: 8px; top: 8px; background: rgba(20,33,61,.85); color: #fff; font-size: .75rem; font-weight: 700; padding: .15rem .5rem; border-radius: 4px; }
.domo-projet .texte { display: grid; gap: .7rem; }
.domo-projet .texte h2 { margin: 0; }
.domo-projet .texte p { margin: 0; }
.domo-projet .lieu { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-red); }
.domo-lien-fort { font-weight: 700; color: var(--c-red); }
@media (max-width: 860px) { .domo-projet { grid-template-columns: 1fr; } .domo-projet img { max-height: 300px; } }

/* Quiz dans le hero: texte foncé sur la carte blanche */
.domo-hero .domo-quiz, .domo-hero .domo-quiz p, .domo-hero .domo-quiz legend { color: var(--c-ink); }
.domo-hero .domo-quiz .domo-quiz-prix { color: var(--c-navy); }
.domo-hero .domo-quiz .domo-quiz-note, .domo-hero .domo-quiz .domo-quiz-sur { color: var(--c-muted); }
.domo-hero .domo-quiz a { color: var(--c-navy); }
.domo-hero .domo-msg, .domo-hero .domo-msg p, .domo-hero .domo-msg h2 { color: var(--c-ink); }

/* Page Irek */
.domo-portrait img { max-height: 460px; object-position: 50% 20%; }
.domo-avis-clair blockquote { border: 1px solid var(--c-line); box-shadow: var(--domo-shadow); }

/* Marques posées */
.domo-marques { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; }
.domo-marques h2 { margin: 0 0 .4rem; }
.domo-marques p { margin: 0; color: var(--c-muted); }
.domo-marques ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.domo-marques li { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: .6rem .8rem; display: grid; place-items: center; height: 72px; }
.domo-marques img { max-width: 100%; max-height: 46px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.domo-marques li:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .domo-marques { grid-template-columns: 1fr; gap: 1rem; } .domo-marques li { height: 60px; } }

/* Questions qu'on n'ose pas poser */
.domo-peurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.domo-peurs > div { background: #fff; border-radius: var(--domo-radius); padding: 1.2rem 1.3rem; display: grid; gap: .5rem; align-content: start; border: 1px solid var(--c-line); }
.domo-peurs p { margin: 0; }
.domo-peurs .q { font-weight: 700; color: var(--c-navy); font-size: 1.05rem; line-height: 1.35; }
@media (max-width: 900px) { .domo-peurs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .domo-peurs { grid-template-columns: 1fr; } }

/* Études de cas */
.domo-auteur-ligne { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .95rem; }
.domo-auteur-ligne img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.6); }
.domo-hero .domo-auteur-ligne a { color: #fff; font-weight: 700; }
.domo-hero .wp-block-post-excerpt__excerpt { color: #fff; }
.domo-etude .wp-block-image img { border-radius: 10px; width: 100%; max-height: 640px; object-fit: cover; }
.domo-etude .wp-block-image figcaption { color: var(--c-muted); font-size: .88rem; }
.domo-faits-etude { margin-bottom: 1rem; }
.domo-retenir { background: var(--c-tile); border-left: 4px solid var(--c-red); border-radius: 0 8px 8px 0; padding: 1.2rem 1.4rem; margin-top: 2rem; }
.domo-retenir h3 { margin-top: 0; }
.domo-auteur { display: flex; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--c-line); margin-top: 2.5rem; padding-top: 1.5rem; }
.domo-auteur img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: 0 0 auto; }
.domo-auteur p { margin: 0 0 .35rem; }
.domo-auteur .nom { font-weight: 700; color: var(--c-ink); }
.domo-liste-etudes .wp-block-post-template { gap: 1.4rem; }
.domo-liste-etudes .domo-real .wp-block-post-featured-image { margin: 0; }
.domo-liste-etudes .domo-real .wp-block-post-featured-image img { aspect-ratio: 4/3; object-fit: cover; }
.domo-liste-etudes .domo-real h3 { font-size: 1.1rem; }
.domo-liste-etudes .domo-real h3 a { color: var(--c-ink); text-decoration: none; }
.domo-liste-etudes .domo-real .corps { padding: 1.1rem 1.2rem 1.3rem; }
.domo-real h3 a { color: inherit; text-decoration: none; }
.domo-real h3 a:hover { color: var(--c-red); }
.domo-compare-inter { grid-template-columns: 1fr 1fr; margin-top: .5rem; }
.domo-compare-inter .internet li::before { content: "✕"; color: var(--c-red); left: 0; }
@media (max-width: 760px) { .domo-compare-inter { grid-template-columns: 1fr; } }
.domo-vivre .q { color: var(--c-ink); }
.domo-vivre > div { border-top: 3px solid var(--c-navy); }

/* ------------------------------------------------------------- */
/* Style commun Domo (v0.3): ivoire, bleu nuit, or               */
/* ------------------------------------------------------------- */
h1, h2, h3 { letter-spacing: .005em; }
.domo-souci, .domo-real, .domo-ouinon > div, .domo-compare > div { border-radius: 18px !important; }
.domo-telephone-maquette { justify-self: center; width: 250px; aspect-ratio: 9/18; border-radius: 36px; background: #0a1120; padding: 11px; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); margin: 0 auto; }
.domo-telephone-maquette > div { height: 100%; border-radius: 26px; background: #f6f3ee; overflow: hidden; color: #17213a; font-size: 11px; line-height: 1.4; }
.domo-telephone-maquette .tg { background: linear-gradient(140deg, #0b1424, #22365b); color: #fff; padding: 20px 14px; }
.domo-telephone-maquette .tg b { font-family: var(--wp--preset--font-family--serif); font-size: 22px; font-weight: 500; display: block; line-height: 1.1; margin: 6px 0; color: #fff; }
.domo-telephone-maquette .ring { width: 86px; height: 86px; border-radius: 50%; margin: 12px auto 0; background: conic-gradient(#d4b27a 0 63%, rgba(255,255,255,.12) 63% 100%); display: grid; place-items: center; }
.domo-telephone-maquette .ring i { width: 70px; height: 70px; border-radius: 50%; background: #14244a; display: grid; place-items: center; font-style: normal; font-family: var(--wp--preset--font-family--serif); font-size: 24px; color: #fff; }
.domo-telephone-maquette .row { margin: 9px 11px; background: #fff; border-radius: 12px; padding: 9px 11px; border: 1px solid #e5dfd3; }
.domo-bientot { border: 1px dashed var(--c-line); border-radius: 18px; padding: 1.4rem; background: repeating-linear-gradient(135deg, #f1ece3 0 12px, #ebe4d8 12px 24px); }
.domo-bientot p { margin: 0; }

/* Études de cas: carnet de chantier */
.domo-carnet-note { font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--c-navy); border-left: 3px solid #b08d57; padding-left: 1rem; }
.domo-carnet-large, .domo-carnet-grille figure, .domo-carnet-video { margin: 0; }
.domo-carnet-large img, .domo-carnet-grille img { width: 100%; display: block; border-radius: 4px; }
.domo-carnet-grille img { aspect-ratio: 3/4; object-fit: cover; }
.domo-carnet-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.domo-carnet-grille.trois { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 781px) { .domo-carnet-grille, .domo-carnet-grille.trois { grid-template-columns: 1fr 1fr; } }
figure figcaption span { display: block; font: 600 .72rem/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #b08d57; margin-bottom: .2rem; }
.domo-carnet-large figcaption, .domo-carnet-grille figcaption, .domo-carnet-video figcaption { font-size: .9rem; color: var(--c-muted); margin-top: .5rem; line-height: 1.45; }
.domo-carnet-video { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 1.4rem; align-items: center; background: var(--c-tile); border-radius: 12px; padding: 1rem; }
.domo-carnet-video video { width: 100%; border-radius: 8px; display: block; }
@media (max-width: 600px) { .domo-carnet-video { grid-template-columns: 1fr; } }
.domo-carnet-avis { display: grid; gap: 1.2rem; }
.domo-carnet-avis blockquote { margin: 0; padding: 1.2rem 1.4rem; background: #0e1930; color: #f6f3ee; border-radius: 12px; }
.domo-carnet-avis blockquote p { margin: 0; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; }

/* v0.3.1: proportions des photos et lisibilité */
.domo-carnet-large img, .domo-carnet-grille img, .domo-carnet-video video, .domo-telephone-maquette img { height: auto; }
.domo-carnet-grille img { aspect-ratio: 3/4; object-fit: cover; }
.domo-carnet-large img { aspect-ratio: 16/9; object-fit: cover; }
.domo-carnet-note { font-family: inherit; font-style: normal; font-size: 1.05rem; line-height: 1.6; color: var(--c-ink); }
.domo-carnet-avis blockquote { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); border-left: 4px solid #b08d57; }
.domo-carnet-avis blockquote p { font-family: inherit; font-style: normal; font-size: 1.05rem; line-height: 1.65; }
/* Ce qu'on a fait -> ce que ça change */
.domo-pourvous { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; border-top: 1px solid var(--c-line); }
.domo-pourvous > div { padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.domo-pourvous p { margin: 0; }
.domo-pourvous .quoi { font-weight: 600; }
.domo-pourvous .donc { color: var(--c-muted); margin-top: .3rem; }
.domo-pourvous .donc::before { content: "→ "; color: #b08d57; font-weight: 700; }
@media (max-width: 781px) { .domo-pourvous { grid-template-columns: 1fr; } }
/* Vidéo: on voit que c'est une vidéo */
.domo-video-cadre { position: relative; border-radius: 8px; overflow: hidden; background: #000; }
.domo-video-cadre video { display: block; width: 100%; height: auto; }
.domo-video-play { position: absolute; inset: auto 0 0 0; top: 0; margin: 0; border: 0; background: rgba(9,14,26,.35); color: #fff; font: 600 .95rem/1.2 inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; }
.domo-video-play span { width: 72px; height: 72px; border-radius: 50%; background: #d42f27; display: grid; place-items: center; font-size: 1.6rem; padding-left: 5px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.domo-video-cadre.lecture .domo-video-play { display: none; }
.domo-video-apres { margin: 1rem 0 0; max-width: 260px; }
.domo-video-apres img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
/* Menu + fiche prix (v0.4) */
.domo-menu { display: flex; gap: 1.4rem; font-size: .95rem; }
.domo-menu a { color: var(--c-ink); text-decoration: none; }
.domo-menu a:hover { color: var(--c-navy); text-decoration: underline; }
@media (max-width: 900px) { .domo-menu { order: 3; width: 100%; gap: 1rem; overflow-x: auto; font-size: .9rem; padding-top: .3rem; } }
.domo-fiche { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--c-ink); background: #fff; }
.domo-fiche > div { padding: 1.4rem 1.2rem; border-right: 1px solid var(--c-line); }
.domo-fiche > div:last-child { border-right: 0; }
.domo-fiche .t { margin: 0; font: 600 .72rem/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #b08d57; }
.domo-fiche b { display: block; font: 600 2.4rem/1 var(--wp--preset--font-family--serif); margin: .6rem 0 .5rem; }
.domo-fiche p { margin: 0; font-size: .92rem; color: var(--c-muted); }
@media (max-width: 781px) { .domo-fiche { grid-template-columns: 1fr 1fr; } .domo-fiche > div:nth-child(2) { border-right: 0; } .domo-fiche > div:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); } }
