/* Carnet Plein — gabarit des pages à devis clients. La couleur de marque vient de theme.css (variable --marque). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
}

:root {
  --marque: #0f6b5c;
  --marque-texte: #ffffff;
  --texte: #1a1f2b;
  --doux: #f3f5f7;
  --trait: #d5dbe3;
  --gris: #5a6472;
  --alerte: #b3261e;
  --rayon: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body.client {
  margin: 0; color: var(--texte); background: #fff;
  font-family: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.client a { color: var(--marque); }
.client :focus-visible { outline: 3px solid var(--marque); outline-offset: 3px; border-radius: 4px; }
.client h1, .client h2, .client h3 { margin: 0; font-stretch: 84%; letter-spacing: -0.015em; text-wrap: balance; line-height: 1.05; }
.client h1 { font-size: clamp(2.2rem, 7.5vw, 3.9rem); font-weight: 800; font-stretch: 78%; }
.client h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 760; margin-bottom: 1.4rem; }
.client h3 { font-size: 1.15rem; font-weight: 700; }
.client p { margin: 0 0 1em; max-width: 62ch; }
.c-env { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.c-cache { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

.c-demo { background: #15233f; color: #fff; text-align: center; padding: 0.65rem 1rem; font-size: 0.95rem; }
.c-demo a { color: #ffce1f; font-weight: 650; }

.c-entete { border-bottom: 1px solid var(--trait); position: sticky; top: 0; background: #fff; z-index: 5; }
.c-entete .c-env { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4rem; }
.c-nom { font-weight: 800; font-stretch: 80%; font-size: 1.3rem; }
.c-tel { font-weight: 750; text-decoration: none; white-space: nowrap; border: 2px solid var(--marque); border-radius: 999px; padding: 0.45rem 1rem; }

.c-heros { padding-block: clamp(2rem, 6vw, 4rem); background: var(--doux); }
.c-heros-grille { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 58rem) { .c-heros-grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; } }
.c-lieu { color: var(--marque); font-weight: 700; margin-bottom: 0.8rem; }
.c-chapo { font-size: 1.2rem; margin-top: 1.1rem; }
.c-preuves { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.5rem; }
.c-preuves li { padding-left: 1.9rem; position: relative; font-weight: 600; }
.c-preuves li::before { content: ""; position: absolute; left: 0.1rem; top: 0.32em; width: 1rem; height: 0.5rem; border-left: 3px solid var(--marque); border-bottom: 3px solid var(--marque); transform: rotate(-45deg); }
.c-bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0.9rem 1.7rem;
  background: var(--marque); color: var(--marque-texte); border: 0; border-radius: var(--rayon);
  font: inherit; font-weight: 750; font-size: 1.15rem; text-decoration: none; cursor: pointer; text-align: center;
}
.client a.c-bouton { color: var(--marque-texte); }
.c-bouton:hover { filter: brightness(0.92); }
.c-bouton[disabled] { opacity: 0.6; cursor: progress; }
.c-bouton-large { width: 100%; }
.c-rassure { margin-top: 0.9rem; color: var(--gris); font-size: 0.95rem; }

.c-photo { background: #dfe5ea; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3; position: relative; margin: 0; }
.c-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-photo-vide { display: grid; place-items: center; padding: 1rem; text-align: center; color: var(--gris); font-size: 0.95rem; border: 2px dashed #aab4c0; background: repeating-linear-gradient(135deg, #eef1f4 0 14px, #e6eaee 14px 28px); }
.c-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(20, 26, 36, 0.78); color: #fff; padding: 0.45rem 0.8rem; font-size: 0.9rem; }

.c-section { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.c-alt { background: var(--doux); }
.c-galerie { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.c-prestations { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.c-prestations li { border: 1.5px solid var(--trait); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 600; background: #fff; }

.c-etapes { list-style: none; counter-reset: e; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
@media (min-width: 52rem) { .c-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem; } }
.c-etapes li { counter-increment: e; }
.c-etapes li::before { content: counter(e); display: block; font-size: 3rem; font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--marque); margin-bottom: 0.4rem; }
.c-etapes p { margin: 0.35rem 0 0; }

.c-avis { display: grid; gap: 1.4rem; }
@media (min-width: 52rem) { .c-avis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-avis blockquote { margin: 0; padding: 0 0 0 1.1rem; border-left: 3px solid var(--marque); }
.c-avis blockquote p { margin-bottom: 0.5rem; }
.c-avis cite { font-style: normal; font-weight: 700; color: var(--gris); font-size: 0.95rem; }

.c-devis-grille { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 58rem) { .c-devis-grille { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3.5rem; } }
.c-form { display: grid; gap: 1rem; background: #fff; border: 2px solid var(--texte); border-radius: var(--rayon); padding: clamp(1.1rem, 3.5vw, 1.9rem); }
.c-champ { display: grid; gap: 0.3rem; }
.c-champ label { font-weight: 650; }
.c-champ small { color: var(--gris); font-weight: 400; }
.c-champ input, .c-champ select, .c-champ textarea { font: inherit; color: var(--texte); width: 100%; min-height: 3.2rem; padding: 0.7rem 0.85rem; border: 2px solid #8a94a6; border-radius: 8px; background: #fbfcfd; }
.c-champ textarea { min-height: 6rem; resize: vertical; }
.c-champ input:focus-visible, .c-champ select:focus-visible, .c-champ textarea:focus-visible { outline: 3px solid var(--marque); outline-offset: 1px; border-color: var(--marque); }
.c-duo { display: grid; gap: 1rem; }
@media (min-width: 34rem) { .c-duo { grid-template-columns: 1fr 1fr; } }
.c-case { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.7rem; font-size: 0.97rem; line-height: 1.4; }
.c-case input { width: 1.45rem; height: 1.45rem; margin: 0.1rem 0 0; accent-color: var(--marque); }
.c-mention { font-size: 0.88rem; color: var(--gris); margin: 0; }

.c-retour { border: 2px solid var(--marque); border-radius: var(--rayon); padding: 1.3rem; background: #fff; }
.c-retour h3 { margin-bottom: 0.6rem; font-size: 1.3rem; }
.c-retour dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 1rem 0 0; }
.c-retour dt { color: var(--gris); }
.c-retour dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.c-sms { background: #e9f0ff; border-radius: 14px 14px 14px 4px; padding: 0.9rem 1.1rem; margin-top: 1rem; max-width: 30rem; }

.c-pied { border-top: 1px solid var(--trait); padding-block: 2rem 2.6rem; font-size: 0.92rem; color: var(--gris); }
.c-pied p { margin: 0 0 0.5rem; max-width: 80ch; }
.c-pied details { margin-top: 0.8rem; }
.c-pied summary { cursor: pointer; font-weight: 650; color: var(--texte); }
.c-merci { padding-block: clamp(3rem, 10vw, 6rem); }
