/* chauffe-eau-dedietrich.com : bordeaux et or, grandes bandes alternées, une seule colonne centrée.
   Polices système uniquement. Texte de base 20 px, contrastes forts. */

:root {
	--bordeaux: #5e1626;
	--bordeaux-nuit: #3d0d18;
	--or: #a8842f;
	--or-clair: #ecd28f;
	--creme: #f8f3e8;
	--encre: #241417;
	--gris: #4f3d40;
	--trait: #dccdb0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
	font-size: 20px;
	line-height: 1.7;
	color: var(--encre);
	background: #fffdf8;
}

h1, h2, h3, .haut-nom, .surtitre, summary, .services b {
	font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 4px solid var(--or); outline-offset: 3px;
}

/* Une seule colonne, centrée, partout */
.colonne { max-width: 760px; margin: 0 auto; padding: 0 18px; }

/* En-tête centré */
.haut { text-align: center; background: var(--bordeaux-nuit); color: #fff; padding: 0 16px 22px; }
.haut-service { margin: 0 -16px 16px; padding: 8px 12px; background: var(--or-clair); color: var(--bordeaux-nuit); font-size: 17px; font-weight: 700; }
.haut-nom { display: block; color: #fff; text-decoration: none; font-size: 30px; line-height: 1.2; letter-spacing: 0.5px; }
.haut-nom em { font-style: normal; color: var(--or-clair); font-weight: 700; }
.haut-nom small { display: block; font-size: 18px; color: #f1e6e8; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.haut-tel { display: inline-block; margin-top: 16px; background: var(--or-clair); color: var(--bordeaux-nuit); text-decoration: none; font-weight: 700; font-size: 28px; line-height: 1.15; padding: 10px 28px 12px; border-radius: 4px; border: 2px solid #fff; }
.haut-tel small { display: block; font-size: 15px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.haut-tel:hover { background: #fff; }

/* Menu centré, séparateurs dorés */
.sommaire { background: #fff; border-bottom: 3px solid var(--or); }
.sommaire ul { list-style: none; margin: 0 auto; padding: 8px 12px; display: flex; flex-wrap: wrap; justify-content: center; max-width: 980px; }
.sommaire li + li::before { content: "◆"; color: var(--or); font-size: 11px; padding: 0 10px; vertical-align: middle; }
.sommaire a { display: inline-block; padding: 8px 2px; font-size: 18px; color: var(--encre); text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.sommaire a[aria-current="page"] { color: var(--bordeaux); font-weight: 700; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 3px; }

/* Bandes alternées */
.bande { padding: 56px 0; text-align: left; }
.bande.blanc { background: #fffdf8; }
.bande.creme { background: var(--creme); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.bande.bordeaux { background: var(--bordeaux); color: #fff; }
.bande.bordeaux a { color: var(--or-clair); }
.bande.bordeaux .petit { color: #f3e7ea; }

h1 { font-size: 42px; line-height: 1.15; margin: 0; font-weight: 700; }
h2 { font-size: 32px; line-height: 1.2; margin: 0; text-align: center; font-weight: 700; }
h3 { font-size: 24px; line-height: 1.3; margin: 0 0 6px; }
.bande h2 + .ornement { margin: 14px auto 26px; }
.ornement { display: block; width: 90px; height: 3px; background: var(--or); position: relative; }
.ornement::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; background: var(--or); transform: translate(-50%, -50%) rotate(45deg); }
.bande.bordeaux .ornement, .bande.bordeaux .ornement::after { background: var(--or-clair); }

/* Ouverture (haut de chaque page) */
.ouverture { text-align: center; padding: 60px 0 64px; }
.surtitre { margin: 0 0 14px; font-size: 17px; letter-spacing: 2px; text-transform: uppercase; color: var(--or-clair); }
.ouverture .ornement { margin: 22px auto; }
.chapeau { font-size: 22px; line-height: 1.6; margin: 0 auto 30px; max-width: 640px; }
.bouton-or { display: inline-block; background: var(--or-clair); color: var(--bordeaux-nuit) !important; font-weight: 700; font-size: 25px; padding: 16px 30px; border-radius: 4px; text-decoration: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
.bouton-or:hover { background: #fff; }
.ouverture-plus { margin: 26px 0 0; font-size: 18px; color: #f3e7ea; }

/* Boîte de questions */
.milieu { padding-top: 48px; padding-bottom: 48px; }
.assistant { background: #fff; border-top: 6px solid var(--bordeaux); padding: 26px 22px; box-shadow: 0 2px 0 var(--trait); }
.assistant h2 { font-size: 28px; margin-bottom: 8px; }
.assistant > p { text-align: center; }
.assistant-suggestions { display: grid; gap: 10px; margin: 18px 0 22px; }
.assistant-suggestion { font: inherit; font-size: 19px; text-align: left; padding: 14px 18px 14px 44px; position: relative; border: 2px solid var(--trait); border-radius: 4px; background: var(--creme); color: var(--encre); cursor: pointer; }
.assistant-suggestion::before { content: "›"; position: absolute; left: 18px; top: 9px; font-size: 28px; color: var(--bordeaux); font-weight: 700; }
.assistant-suggestion:hover { border-color: var(--or); background: #fff; }
.assistant-ligne { display: flex; flex-wrap: wrap; gap: 10px; }
.assistant-ligne label { width: 100%; font-size: 18px; font-weight: 700; }
.assistant-ligne input[type=text] { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 19px; padding: 14px; border: 2px solid #9c8a7b; border-radius: 4px; }
.assistant-ligne button { font: inherit; font-size: 19px; font-weight: 700; padding: 14px 22px; border: 0; border-radius: 4px; background: var(--bordeaux); color: #fff; cursor: pointer; }
.assistant-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.assistant-reponse { margin-top: 18px; padding: 18px 20px; background: var(--creme); border-left: 6px solid var(--or); }
.assistant-reponse p { margin: 0 0 10px; }
.assistant-appel { display: inline-block; background: var(--bordeaux); color: #fff !important; font-weight: 700; padding: 12px 20px; border-radius: 4px; text-decoration: none; }
.assistant-note { font-size: 16px; color: var(--gris); margin: 16px 0 0; text-align: left !important; }

/* Frise « votre appareil a quel âge ? » */
.frise-outil > p { text-align: center; }
.frise-outil h2 { margin-bottom: 16px; }
.frise-annee { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 22px 0 30px; }
.frise-annee label { width: 100%; text-align: center; font-weight: 700; }
.frise-annee input { font: inherit; font-size: 22px; width: 170px; padding: 12px; text-align: center; border: 2px solid #9c8a7b; border-radius: 4px; }
.frise-annee button { font: inherit; font-size: 19px; font-weight: 700; padding: 14px 22px; border: 0; border-radius: 4px; background: var(--bordeaux); color: #fff; cursor: pointer; }
.frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.frise::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 4px; background: var(--or); }
.frise button { position: relative; width: 100%; font: inherit; background: none; border: 0; padding: 0 4px 10px; cursor: pointer; color: var(--encre); text-align: center; }
.frise button b { display: block; font-size: 18px; margin-top: 8px; }
.frise button span:last-child { display: block; font-size: 16px; color: var(--gris); }
.frise-point { display: block; width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; background: #fff; border: 4px solid var(--or); }
.frise button[aria-pressed="true"] .frise-point { background: var(--bordeaux); border-color: var(--bordeaux); box-shadow: 0 0 0 5px var(--or-clair); }
.frise button[aria-pressed="true"] b { color: var(--bordeaux); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 3px; }
.frise-avis { margin-top: 26px; padding: 22px 24px; background: var(--creme); border: 2px solid var(--trait); border-radius: 4px; min-height: 90px; }
.frise-avis p { margin: 0 0 10px; }
.frise-avis p:last-child { margin-bottom: 0; }

/* Carte des prix, façon menu */
.carte-prix { list-style: none; padding: 0; margin: 26px 0; }
.carte-prix li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(236, 210, 143, 0.35); }
.prix-nom { flex: 0 1 auto; }
.prix-nom small { display: block; font-size: 16px; color: #f3e7ea; }
.prix-points { flex: 1 1 30px; border-bottom: 2px dotted var(--or-clair); transform: translateY(-6px); min-width: 20px; }
.carte-prix strong { white-space: nowrap; color: var(--or-clair); font-size: 22px; }
.petit { font-size: 17px; }

/* Fiches modèles */
.fiches { display: grid; gap: 18px; margin-top: 20px; }
.fiche { background: #fff; border-top: 4px solid var(--or); padding: 18px 22px; }
.fiche h3 { color: var(--bordeaux); }
.fiche-epoque { margin: 0 0 10px; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); }
.fiche p { margin: 0 0 8px; }

/* Liste des services */
.services { list-style: none; padding: 0; margin: 0; }
.services a { display: block; padding: 18px 4px; border-bottom: 1px solid var(--trait); text-decoration: none; color: var(--encre); }
.services li:first-child a { border-top: 1px solid var(--trait); }
.services b { display: block; font-size: 25px; color: var(--bordeaux); }
.services span { display: block; }
.services em { font-style: normal; font-weight: 700; color: var(--or); color: #7a5d1c; }
.services a:hover b { text-decoration: underline; text-decoration-color: var(--or); }

/* Questions dépliables */
.faq details { background: #fff; border-left: 5px solid var(--bordeaux); margin: 0 0 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-size: 22px; font-weight: 700; color: var(--bordeaux); }
.faq details[open] summary { border-bottom: 1px solid var(--trait); }
.faq details p { margin: 0; padding: 14px 20px 18px; }

/* Gestes en cas de fuite */
.geste { display: block; font-weight: 700; color: var(--or-clair); font-size: 22px; }

/* Textes des sous-pages */
.bande p { margin: 0 0 16px; }
.prix-gros { font-size: 22px; text-align: center; }
.prix-gros strong { color: var(--bordeaux); white-space: nowrap; }
.liste-or { padding-left: 0; list-style: none; }
.liste-or li { padding: 0 0 10px 30px; position: relative; }
.liste-or li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 10px; height: 10px; background: var(--or); transform: rotate(45deg); }
.dessin, .photo { margin: 0 0 22px; }
.dessin svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; display: block; }
.photo img { width: 100%; border: 6px solid #fff; box-shadow: 0 0 0 1px var(--trait); }
figcaption { font-size: 17px; color: var(--gris); text-align: center; margin-top: 10px; }
.retour { text-align: center; }

/* Formulaire */
.contact { background: #fff; padding: 26px 22px; border-top: 6px solid var(--or); }
.contact > p { text-align: center; }
.contact-form { display: grid; gap: 6px; }
.contact-form label { font-weight: 700; margin-top: 10px; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 19px; padding: 12px; border: 2px solid #9c8a7b; border-radius: 4px; width: 100%; }
.contact-form button { justify-self: center; margin-top: 16px; font: inherit; font-size: 20px; font-weight: 700; padding: 14px 34px; border: 0; border-radius: 4px; background: var(--bordeaux); color: #fff; cursor: pointer; }

/* Pied de page */
.bas { background: var(--bordeaux-nuit); color: #f1e6e8; text-align: center; padding: 40px 0 110px; font-size: 18px; }
.bas a { color: var(--or-clair); }
.bas p { margin: 0 0 12px; }
.bas-nom { font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; font-size: 22px; color: #fff; }
.bas-mention { border-top: 1px solid rgba(236, 210, 143, 0.4); padding-top: 14px; font-size: 16px; }

/* Barre d'appel fixe, seulement sur téléphone */
.appel-fixe { display: none; }

@media (max-width: 700px) {
	body { font-size: 19px; }
	.haut-nom { font-size: 25px; }
	.haut-nom small { font-size: 15px; }
	.haut-tel { font-size: 25px; }
	h1 { font-size: 32px; }
	h2 { font-size: 27px; }
	.bande { padding: 40px 0; }
	.ouverture { padding: 40px 0 44px; }
	.chapeau { font-size: 20px; }
	.bouton-or { font-size: 22px; padding: 14px 20px; }
	.sommaire a { font-size: 17px; }
	.sommaire li + li::before { padding: 0 6px; }
	/* Frise verticale */
	.frise { grid-template-columns: 1fr; gap: 6px; }
	.frise::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 4px; height: auto; }
	.frise button { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; padding: 4px 0; }
	.frise-point { grid-row: span 2; margin: 0; }
	.frise button b { margin-top: 0; }
	.carte-prix li { flex-wrap: wrap; }
	.prix-points { display: none; }
	.carte-prix strong { margin-left: auto; }
	.appel-fixe { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--or-clair); color: var(--bordeaux-nuit); border-top: 3px solid var(--bordeaux); text-align: center; font-size: 22px; font-weight: 700; padding: 16px 10px; text-decoration: none; }
}
