/* Proximité : chaleureux, crème, rond. Des titres à empattements, des formes douces. Ce fichier ne partage rien avec les autres modèles. */
:root {
  --primaire: var(--couleur-client, #2f5d50); --primaire-fonce: var(--couleur-fonce, #264c41); --sur-primaire: var(--couleur-sur, #fff);
  --texte-accent: var(--couleur-texte, #2f5d50); --accent: var(--accent-client, #f4a261); --sur-accent: #1a1405;
  --creme: #fbf6ee; --papier: color-mix(in srgb, var(--accent) 16%, #f8f1e4); --fond: var(--creme); --carte: #fff;
  --texte: #2a2520; --doux: #5f564c; --trait: #eadfcd;
  --titre: "Fraunces", Georgia, serif; --corps: "Source Sans 3", "Segoe UI", system-ui, sans-serif; --poids: 650; --serre: -.02em;
  --rayon: 30px; --rayon-btn: 999px; --ombre: 0 26px 50px -30px rgba(60,40,20,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--corps); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; padding-bottom: 74px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--texte-accent); }
h1, h2, h3 { font-family: var(--titre); font-weight: var(--poids); letter-spacing: var(--serre); line-height: 1.1; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--texte-accent); }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vague { width: 110px; height: 12px; margin: 0 0 18px; fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.centre { text-align: center; margin-top: 40px; }

.cadre { width: min(1180px, 100%); margin: 0 auto; padding: 0 20px; }
.cadre--etroit { width: min(800px, 100%); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--papier { background: var(--papier); }
.section--couleur { background: var(--primaire); color: var(--sur-primaire); }
.section--couleur h2, .section--couleur .surtitre, .section--couleur .entete p:not(.surtitre) { color: var(--sur-primaire); }
.section--couleur h2 em { color: var(--sur-primaire); }
.section--appel { padding-top: 0; }
.section--papier + .section--appel, .section--couleur + .section--appel { padding-top: clamp(64px, 10vw, 120px); }
.surtitre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--texte-accent); font-weight: 700; font-size: .95rem; }
.surtitre .ico { color: var(--accent); fill: var(--accent); stroke: none; }
.entete { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.entete--centre { margin-left: auto; margin-right: auto; text-align: center; }
.entete--centre .vague { margin-left: auto; margin-right: auto; }
.entete p:not(.surtitre) { color: var(--doux); margin: 0; font-size: 1.15rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 12px 26px; border: 2px solid transparent; border-radius: var(--rayon-btn); font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); }
.btn--grand { min-height: 58px; padding: 14px 30px; }
.btn--plein { background: var(--primaire); color: var(--sur-primaire); box-shadow: 0 12px 26px -14px var(--primaire); }
.btn--plein:hover { background: var(--primaire-fonce); }
.btn--doux { background: var(--carte); color: var(--texte); border-color: var(--trait); }
.btn--doux:hover { border-color: var(--texte-accent); }
.btn--accent { background: var(--accent); color: var(--sur-accent); }
.btn--clair { background: transparent; color: var(--sur-primaire); border-color: currentColor; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.lien .ico { transition: transform .18s; }
.lien:hover .ico { transform: translateX(4px); }

/* Bandeau d'aperçu, en-tête */
.apercu { background: #2a2520; color: #fff; font-size: .86rem; line-height: 1.4; padding: 8px 20px; text-align: center; }
.apercu a { color: #ffd29d; font-weight: 700; }
.tete { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--creme) 92%, transparent); backdrop-filter: blur(12px); }
.tete__ligne { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.marque { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; margin-right: auto; color: var(--texte); text-decoration: none; font-family: var(--titre); font-weight: var(--poids); font-size: 1.32rem; letter-spacing: -.01em; line-height: 1.1; }
.marque img { max-height: 50px; width: auto; }
.marque__signe { width: 38px; height: 38px; flex: none; }
.menu { display: none; gap: 6px; padding: 6px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); }
.menu a { padding: 8px 16px; border-radius: 999px; color: var(--texte); text-decoration: none; font-weight: 600; font-size: 1rem; }
.menu a:hover { background: var(--papier); }
.menu a[aria-current] { background: var(--primaire); color: var(--sur-primaire); }
.tete__cta { display: none; }
.tiroir summary { list-style: none; cursor: pointer; display: grid; place-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); font-weight: 700; }
.tiroir summary::-webkit-details-marker { display: none; }
.tiroir nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 4px); padding: 10px 22px; background: var(--carte); border-radius: 24px; box-shadow: var(--ombre); }
.tiroir nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--trait); color: var(--texte); text-decoration: none; font-weight: 600; }
.tiroir nav a:last-child { border: 0; color: var(--texte-accent); }

/* Le héros, quatre façons */
.heros { position: relative; overflow: hidden; padding: 20px 0 clamp(60px, 9vw, 110px); }
.heros__grille { display: grid; gap: 36px; align-items: center; }
.heros__phrase { color: var(--doux); font-size: clamp(1.15rem, 2.2vw, 1.32rem); max-width: 540px; margin-bottom: 30px; }
.heros__texte > * { animation: monte .8s cubic-bezier(.2,.7,.2,1) both; }
.heros__texte > :nth-child(2) { animation-delay: .08s; }
.heros__texte > :nth-child(3) { animation-delay: .16s; }
.heros__texte > :nth-child(4) { animation-delay: .24s; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } }
.heros__image { position: relative; order: -1; animation: monte 1s cubic-bezier(.2,.7,.2,1) both; }
.heros__photo { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 999px 999px var(--rayon) var(--rayon); box-shadow: var(--ombre); }
.heros__image::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: 999px 999px var(--rayon) var(--rayon); background: var(--papier); }
.pastille-ronde { position: absolute; left: -6px; bottom: 26px; display: grid; place-content: center; width: 116px; height: 116px; border-radius: 50%; background: var(--accent); color: var(--sur-accent); text-align: center; font-size: .95rem; line-height: 1.15; transform: rotate(-10deg); box-shadow: var(--ombre); }
.pastille-ronde b { display: block; font-family: var(--titre); font-size: 1.1rem; }
:root[data-disposition="centre"] .heros__grille { text-align: center; }
:root[data-disposition="centre"] .heros__texte { max-width: 820px; margin: 0 auto; }
:root[data-disposition="centre"] .heros__phrase { margin-left: auto; margin-right: auto; }
:root[data-disposition="centre"] .boutons { justify-content: center; }
:root[data-disposition="centre"] .heros__image { order: 2; }
:root[data-disposition="centre"] .heros__photo { aspect-ratio: 16 / 8; border-radius: var(--rayon); }
:root[data-disposition="centre"] .heros__image::before { display: none; }
:root[data-disposition="centre"] .pastille-ronde { left: auto; right: 18px; bottom: auto; top: -30px; }
:root[data-disposition="texte"] .heros__image { display: none; }
:root[data-disposition="texte"] .heros { padding: clamp(60px, 10vw, 130px) 0; background: radial-gradient(circle at 12% 20%, var(--papier) 0 160px, transparent 161px), radial-gradient(circle at 92% 85%, color-mix(in srgb, var(--primaire) 14%, transparent) 0 220px, transparent 221px); }
:root[data-disposition="texte"] .heros__grille { text-align: center; }
:root[data-disposition="texte"] .heros__texte { max-width: 860px; margin: 0 auto; }
:root[data-disposition="texte"] .heros__phrase { margin-left: auto; margin-right: auto; }
:root[data-disposition="texte"] .boutons { justify-content: center; }
:root[data-disposition="carte"] .heros { padding: 0; }
:root[data-disposition="carte"] .heros__grille { width: 100%; padding: 0; gap: 0; }
:root[data-disposition="carte"] .heros__photo { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
:root[data-disposition="carte"] .heros__image::before { display: none; }
:root[data-disposition="carte"] .pastille-ronde { left: auto; right: 16px; bottom: auto; top: 16px; }
:root[data-disposition="carte"] .heros__texte { position: relative; z-index: 2; margin: -50px 14px 50px; padding: 30px 24px; border-radius: var(--rayon); background: var(--carte); box-shadow: var(--ombre); }

/* Les cartes de services */
.cartes { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.carte { overflow: hidden; border-radius: var(--rayon); background: var(--carte); box-shadow: 0 1px 0 var(--trait), var(--ombre); transition: transform .25s; }
.carte:hover { transform: translateY(-5px) rotate(-.4deg); }
.carte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.carte__texte { position: relative; padding: 38px 26px 26px; }
.carte__ico { position: absolute; top: -28px; left: 22px; width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--sur-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; border: 4px solid var(--carte); }
.carte p { margin: 0; color: var(--doux); font-size: 1.02rem; }

/* Le mot de l'entreprise */
.mot { display: grid; gap: 44px; align-items: center; }
.mot__photos { position: relative; padding: 0 12% 18% 0; }
.mot__une { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--rayon) var(--rayon); box-shadow: var(--ombre); }
.mot__deux { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--papier); box-shadow: var(--ombre); }
.section:not(.section--papier) .mot__deux { border-color: var(--creme); }
blockquote { position: relative; margin: 0 0 18px; padding-top: 34px; font-family: var(--titre); font-size: clamp(1.35rem, 2.8vw, 1.8rem); line-height: 1.4; font-weight: 450; }
blockquote::before { content: "«"; position: absolute; top: -26px; left: -4px; font-size: 5rem; line-height: 1; color: var(--accent); font-family: var(--titre); }
blockquote p { margin: 0 0 .6em; }
.mot__signe { color: var(--texte-accent); font-weight: 700; margin: 0; }

/* Les étapes */
.etapes { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.etapes li { position: relative; padding: 30px 26px 26px; border-radius: var(--rayon); background: var(--carte); border: 1px solid var(--trait); }
.etapes__n { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 16px; border-radius: 50%; background: var(--papier); color: var(--texte-accent); font-family: var(--titre); font-weight: var(--poids); font-size: 1.9rem; font-style: italic; }
.etapes p { margin: 0; color: var(--doux); font-size: 1.02rem; }
.etapes--liste li { display: flex; gap: 22px; }
.etapes--liste h2 { font-size: 1.45rem; }

/* Près de chez vous */
.zones { text-align: center; }
.villes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.villes li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--carte); color: var(--texte); font-weight: 700; box-shadow: 0 10px 20px -16px rgba(0,0,0,.5); }
.villes li:nth-child(odd) { transform: rotate(-1.5deg); }
.villes li:nth-child(even) { transform: rotate(1.5deg); }
.villes .ico { color: var(--texte-accent); }

/* Les questions */
.questions { display: grid; gap: 12px; }
.questions details { padding: 20px 24px; border-radius: 22px; background: var(--carte); border: 1px solid var(--trait); }
.questions summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; font-family: var(--titre); font-weight: var(--poids); font-size: 1.18rem; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2520' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions p { margin: 12px 0 0; color: var(--doux); }

/* L'appel final : une grande carte de couleur */
.appel { display: grid; gap: 26px; padding: clamp(36px, 6vw, 70px); border-radius: calc(var(--rayon) + 10px); background: var(--primaire); color: var(--sur-primaire); position: relative; overflow: hidden; isolation: isolate; }
.appel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--accent); opacity: .22; z-index: -1; }
.appel h2 { color: var(--sur-primaire); margin-bottom: .25em; }
.appel p { margin: 0; font-size: 1.15rem; }

/* Les pages intérieures */
.tete-page { padding: 30px 0 clamp(50px, 8vw, 90px); }
.tete-page__grille { display: grid; gap: 30px; align-items: center; }
.tete-page h1 { font-size: clamp(2.5rem, 6.5vw, 4.2rem); margin-bottom: .2em; }
.tete-page p { max-width: 560px; margin: 0; color: var(--doux); font-size: 1.2rem; }
.tete-page__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 999px 999px var(--rayon) var(--rayon); box-shadow: var(--ombre); }
.services-grands { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
.service-grand { display: grid; overflow: hidden; border-radius: var(--rayon); background: var(--carte); box-shadow: 0 1px 0 var(--trait), var(--ombre); scroll-margin-top: 100px; }
.service-grand img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-grand > div { position: relative; padding: 40px 28px 30px; }
.service-grand h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.service-grand p { color: var(--doux); }
.texte-long h2 { font-size: 1.55rem; margin-top: 1.4em; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long p { color: var(--doux); }
.a-completer { background: #fff3cd; color: #5b4300; padding: 0 5px; border-radius: 4px; font-weight: 600; }

/* Le contact */
.contact { display: grid; gap: 30px; align-items: start; }
.formulaire { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--rayon); background: var(--carte); box-shadow: var(--ombre); }
.formulaire__deux { display: grid; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-weight: 700; font-size: 1rem; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; min-height: 54px; padding: 12px 18px; border: 1.5px solid var(--trait); border-radius: 16px; background: var(--creme); color: var(--texte); font: inherit; }
.formulaire textarea { min-height: 130px; resize: vertical; }
.formulaire__note { margin: 0; color: var(--doux); font-size: .92rem; }
.fiche-contact { display: grid; gap: 22px; list-style: none; margin: 0; padding: 30px; border-radius: var(--rayon); background: var(--papier); }
.fiche-contact li { display: flex; gap: 14px; overflow-wrap: anywhere; }
.fiche-contact .ico { margin-top: 4px; color: var(--texte-accent); }
.fiche-contact strong { display: block; font-family: var(--titre); }

/* Le pied */
.pied { background: color-mix(in srgb, var(--primaire) 30%, #1f1b17); color: #e2d9cc; padding: 60px 0 26px; font-size: 1rem; border-radius: 40px 40px 0 0; }
.pied .marque { color: #fff; }
.pied__grille { display: grid; gap: 32px; margin-bottom: 34px; }
.pied__marque p { max-width: 340px; margin: 14px 0 0; }
.pied h2 { margin-bottom: 12px; color: #fff; font-size: 1.15rem; }
.pied ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.pied__liste li { display: flex; gap: 10px; overflow-wrap: anywhere; }
.pied__liste .ico { margin-top: 5px; color: var(--accent); }
.pied a:not(.btn) { color: inherit; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }

/* La barre du téléphone */
.barre { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--creme) 96%, transparent); border-top: 1px solid var(--trait); }
.barre .btn { min-height: 48px; padding: 8px 10px; box-shadow: none; }

.bloc[hidden] { display: none; }
.js .apparait { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .apparait.vu { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .etapes:not(.etapes--liste) { grid-template-columns: repeat(2, 1fr); }
  .formulaire__deux { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1.5fr 1fr; }
  .pied__grille { grid-template-columns: 1.4fr 1.2fr 1fr; }
  .appel { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .appel .boutons { justify-content: flex-end; }
  .service-grand { grid-template-columns: 1fr 1fr; align-items: center; }
  .service-grand:nth-child(even) img { order: 2; }
  .service-grand img { height: 100%; aspect-ratio: auto; min-height: 300px; }
  :root[data-disposition="carte"] .heros__texte { margin: -120px auto 60px; max-width: 640px; padding: 40px; }
}
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .barre, .tiroir { display: none; }
  .menu { display: flex; }
  .tete__cta { display: inline-flex; min-height: 48px; padding: 8px 22px; }
  .heros { padding-top: 40px; }
  .heros__grille { grid-template-columns: 1.1fr .9fr; gap: 70px; }
  .heros__image { order: 2; }
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .cartes .carte:nth-child(3n+2) { transform: translateY(34px); }
  .cartes .carte.apparait:not(.vu):nth-child(3n+2) { transform: translateY(56px); }
  .cartes { padding-bottom: 34px; }
  .etapes:not(.etapes--liste) { grid-template-columns: repeat(4, 1fr); }
  .etapes:not(.etapes--liste) li:nth-child(even) { margin-top: 40px; }
  .mot { grid-template-columns: .85fr 1.15fr; gap: 90px; }
  .tete-page__grille { grid-template-columns: 1.2fr .8fr; gap: 60px; }
  :root[data-disposition="centre"] .heros__grille, :root[data-disposition="texte"] .heros__grille { grid-template-columns: 1fr; gap: 50px; }
  :root[data-disposition="carte"] .heros__grille { grid-template-columns: 1fr; position: relative; }
  :root[data-disposition="carte"] .heros__image { order: 0; }
  :root[data-disposition="carte"] .heros__photo { aspect-ratio: auto; height: min(78vh, 680px); }
  :root[data-disposition="carte"] .heros__texte { position: absolute; left: max(20px, calc((100vw - 1180px) / 2 + 20px)); bottom: 60px; margin: 0; max-width: 600px; }
  :root[data-disposition="carte"] .pastille-ronde { right: max(30px, calc((100vw - 1180px) / 2 + 30px)); top: 40px; width: 140px; height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heros__texte > *, .heros__image { animation: none; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
}
