/* chauffe-eau-ariston.com : crème et terracotta, titres à empattements, colonne de lecture + carte d'appel qui suit. */
:root {
	--creme: #fbf6ee;
	--papier: #fffdf9;
	--sable: #efe4d3;
	--encre: #241b16;
	--gris: #5a4a40;
	--terre: #9c3d24;
	--terre-fonce: #7a2e1a;
	--filet: #d9c6ae;
	--serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--sans); font-size: 20px; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--terre-fonce); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
h1, h2, h3, legend, .enseigne, .carte-appel-numero, .colophon-titre, dt { font-family: var(--serif); font-weight: normal; }
h1 { font-size: 44px; line-height: 1.15; margin: 6px 0 18px; letter-spacing: -0.3px; }
h2 { font-size: 31px; line-height: 1.25; margin: 0 0 14px; color: var(--terre-fonce); }
h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--terre); margin-top: 10px; }
p { margin: 0 0 16px; }
strong { font-weight: 700; }
.cadre { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
.fronton { background: var(--papier); border-bottom: 1px solid var(--filet); }
.fronton-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 10px; }
.enseigne { text-decoration: none; color: var(--encre); font-size: 28px; line-height: 1.2; }
.enseigne-marque { font-style: italic; color: var(--terre); }
.enseigne-suite { font-size: 20px; color: var(--gris); }
.fronton-tel { font-family: var(--sans); font-weight: 800; font-size: 28px; color: var(--terre-fonce); text-decoration: none; white-space: nowrap; }
.fronton-tel span { font-weight: 400; font-size: 18px; color: var(--gris); margin-right: 4px; }
.sommaire-haut ul { list-style: none; margin: 0; padding: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 2px 0; }
.sommaire-haut li + li::before { content: "·"; color: var(--terre); padding: 0 12px; }
.sommaire-haut a { color: var(--encre); text-decoration: none; font-size: 19px; padding: 6px 0; display: inline-block; }
.sommaire-haut a:hover { color: var(--terre-fonce); text-decoration: underline; }
.sommaire-haut a[aria-current="page"] { color: var(--terre-fonce); font-weight: 700; border-bottom: 2px solid var(--terre); }

/* Deux colonnes : lecture + carte qui suit */
.feuillet { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 36px; padding-bottom: 56px; }
.lecture { max-width: 760px; }
.lecture > section, .lecture article > section, .lecture article > h2 { margin-top: 0; }
.lecture section { padding: 30px 0; border-top: 1px solid var(--filet); }
.lecture article > h2 { margin-top: 34px; }
.carte-appel { position: sticky; top: 24px; background: var(--terre-fonce); color: #fff; padding: 26px 24px; border-radius: 4px; box-shadow: 8px 8px 0 var(--sable); }
.carte-appel p { margin: 0 0 12px; }
.carte-appel-sur { font-family: var(--serif); font-style: italic; font-size: 21px; }
.carte-appel-numero { display: block; color: #fff; font-size: 34px; line-height: 1.1; text-decoration: none; margin: 4px 0 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.5); }
.carte-appel-numero:hover { text-decoration: underline; }
.carte-appel-forfait strong { font-family: var(--serif); font-size: 30px; display: block; }
.carte-appel a { color: #fff; }
.carte-appel-ecrire { margin-bottom: 0 !important; font-size: 18px; }

/* Ouverture des pages */
.chemin { font-size: 17px; color: var(--gris); margin-bottom: 8px; }
.surtitre { font-family: var(--serif); font-style: italic; color: var(--terre); font-size: 21px; margin: 0; }
.chapeau { font-size: 23px; line-height: 1.55; color: var(--encre); }
.ouverture { padding-bottom: 26px; }
.lettrine::first-letter { font-family: var(--serif); float: left; font-size: 78px; line-height: .85; padding: 6px 10px 0 0; color: var(--terre); }
.appel-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.lien-appel { display: inline-block; background: var(--terre-fonce); color: #fff; font-weight: 800; font-size: 21px; padding: 14px 24px; border-radius: 3px; text-decoration: none; }
.lien-appel:hover { background: var(--encre); }
.lien-discret { font-family: var(--serif); font-style: italic; font-size: 21px; }
.retour { margin-top: 34px; font-family: var(--serif); font-style: italic; }

/* Pause : la boîte de questions */
.pause { background: var(--papier); border: 1px solid var(--filet) !important; border-left: 6px solid var(--terre) !important; padding: 26px 26px !important; margin: 8px 0 10px; }
.assistant h2 { font-size: 28px; }
.assistant-suggestions { display: flex; flex-direction: column; gap: 0; margin: 6px 0 20px; border-top: 1px solid var(--filet); }
.assistant-suggestion { font: inherit; font-size: 19px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--filet); color: var(--terre-fonce); padding: 13px 4px 13px 30px; cursor: pointer; position: relative; }
.assistant-suggestion::before { content: "›"; position: absolute; left: 6px; top: 9px; font-family: var(--serif); font-size: 26px; color: var(--terre); }
.assistant-suggestion:hover { background: var(--sable); }
.assistant-ligne { display: flex; flex-wrap: wrap; gap: 10px; }
.assistant-ligne label { width: 100%; font-size: 18px; color: var(--gris); }
.assistant-ligne input[type=text] { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 19px; padding: 13px 14px; border: 1px solid #a8927a; border-radius: 3px; background: #fff; color: var(--encre); }
.assistant-ligne button { font: inherit; font-size: 19px; font-weight: 700; padding: 13px 20px; border: 0; border-radius: 3px; background: var(--terre-fonce); 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: 3px solid var(--encre); }
.assistant-appel { display: inline-block; background: var(--terre-fonce); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 3px; text-decoration: none; }
.assistant-note, .petite-note { font-size: 17px; color: var(--gris); margin-top: 12px; }

/* Outil « Retrouvez votre modèle » */
.retrouver { background: var(--papier); border: 1px solid var(--filet); padding: 28px 26px; }
.etape { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.etape legend { font-size: 23px; margin-bottom: 12px; padding: 0; }
.choix-formes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choix-formes button { font: inherit; font-size: 19px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; background: var(--creme); border: 2px solid var(--filet); border-radius: 3px; color: var(--encre); cursor: pointer; }
.choix-mots { display: flex; flex-wrap: wrap; gap: 12px; }
.choix-mots button { font: inherit; font-size: 19px; padding: 13px 20px; background: var(--creme); border: 2px solid var(--filet); border-radius: 3px; color: var(--encre); cursor: pointer; letter-spacing: .5px; }
.choix-formes button:hover, .choix-mots button:hover { border-color: var(--terre); }
.choix-formes button[aria-pressed="true"], .choix-mots button[aria-pressed="true"] { border-color: var(--terre-fonce); background: var(--sable); font-weight: 700; }
.silhouette { width: 96px; height: 128px; }
.verdict { margin-top: 22px; padding: 20px 22px; border-top: 3px double var(--terre); background: var(--creme); }
.verdict-epoque { font-family: var(--serif); font-style: italic; color: var(--terre); margin: 0; }
.verdict-nom { font-family: var(--serif); font-size: 27px; line-height: 1.25; margin: 2px 0 10px; }
.recommencer { font: inherit; font-size: 18px; background: none; border: 0; color: var(--terre-fonce); text-decoration: underline; cursor: pointer; padding: 10px 6px; margin-left: 8px; }

/* Tableaux */
.defile { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: 18px; background: var(--papier); }
caption { text-align: left; font-family: var(--serif); font-style: italic; color: var(--gris); padding-bottom: 8px; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px; border-bottom: 1px solid var(--filet); }
thead th { font-family: var(--serif); font-weight: normal; color: var(--terre-fonce); border-bottom: 2px solid var(--terre); }
.registre { min-width: 640px; }
.registre tbody th { font-family: var(--serif); font-weight: normal; font-size: 19px; }
.codes { max-width: 620px; }
.codes tbody th { font-family: var(--serif); font-size: 21px; color: var(--terre-fonce); white-space: nowrap; width: 110px; }

/* Carte des prix, façon menu */
.carte-prix { list-style: none; margin: 8px 0 14px; padding: 0; }
.carte-prix li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.carte-prix-nom { flex: 0 1 auto; font-family: var(--serif); font-size: 22px; }
.carte-prix-detail { display: block; font-family: var(--sans); font-size: 16px; color: var(--gris); }
.carte-prix-points { flex: 1 1 20px; border-bottom: 2px dotted #b99d80; transform: translateY(-6px); min-width: 20px; }
.carte-prix-montant { flex: 0 0 auto; font-weight: 800; color: var(--terre-fonce); white-space: nowrap; }

/* Renvois, urgence, FAQ */
.renvois { list-style: none; margin: 0; padding: 0; }
.renvois li { padding: 12px 0; border-bottom: 1px dotted var(--filet); }
.renvois a { font-family: var(--serif); font-size: 22px; }
.si-urgence { background: var(--encre); color: #fff; padding: 26px 26px !important; border-top: 0 !important; margin: 10px 0; }
.si-urgence h2 { color: #fff; }
.si-urgence h2::after { background: #e0a58f; }
.faq dl { margin: 0; }
.faq dt { font-size: 23px; line-height: 1.35; color: var(--encre); margin-top: 22px; }
.faq dd { margin: 8px 0 0; padding-left: 18px; border-left: 2px solid var(--sable); }
.liste-sobre { padding-left: 26px; }
.liste-sobre li { margin-bottom: 8px; }

/* Figures */
.photo, .dessin { margin: 6px 0 24px; }
.photo img { display: block; border: 6px solid #fff; box-shadow: 0 0 0 1px var(--filet); }
figcaption { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gris); margin-top: 8px; }

/* Formulaire */
.contact h2 { font-size: 30px; }
.contact-form { display: grid; gap: 6px; max-width: 560px; }
.contact-form label { font-weight: 700; margin-top: 10px; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 19px; padding: 12px 14px; border: 1px solid #a8927a; border-radius: 3px; width: 100%; background: #fff; color: var(--encre); }
.contact-form button { justify-self: start; margin-top: 14px; font: inherit; font-size: 20px; font-weight: 700; padding: 14px 28px; border: 0; border-radius: 3px; background: var(--terre-fonce); color: #fff; cursor: pointer; }

/* Pied de page */
.colophon { background: var(--sable); border-top: 1px solid var(--filet); padding: 34px 0 40px; font-size: 18px; }
.colophon-titre { font-size: 23px; font-style: italic; }
.colophon-mention { color: var(--gris); max-width: 760px; }

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

@media (max-width: 960px) {
	.feuillet { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 22px; }
	.lecture { max-width: none; }
	.carte-appel { position: static; box-shadow: none; }
}
@media (max-width: 760px) {
	body { padding-bottom: 76px; }
	h1 { font-size: 34px; }
	h2 { font-size: 27px; }
	.chapeau { font-size: 21px; }
	.cadre { padding: 0 16px; }
	.fronton-tel { font-size: 24px; }
	.fronton-tel span { display: block; font-size: 16px; }
	.enseigne { font-size: 24px; }
	.sommaire-haut li + li::before { padding: 0 8px; }
	.sommaire-haut a { font-size: 18px; }
	.pause, .retrouver, .si-urgence { padding: 20px 16px !important; }
	.choix-formes { gap: 10px; }
	.carte-prix-nom { font-size: 20px; }
	.appel-fixe { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--terre-fonce); color: #fff; text-align: center; font-weight: 800; font-size: 22px; padding: 18px 10px; text-decoration: none; border-top: 3px solid var(--sable); }
}
