/* Oasis : site vitrine
   Mise en page : bandeau vert « oasis » avec soleil, sections claires sur fond sable pâle,
   vague turquoise reprise du plan d'eau du logo comme séparateur. */
:root {
  --vert: #004324;        /* vert foncé du logo */
  --vert-2: #0B5A35;
  --soleil: #FEC746;      /* jaune soleil */
  --lagon: #189590;       /* turquoise */
  --lagon-text: #0F716C;  /* turquoise foncé : texte lisible (contraste AA) */
  --creme: #FCFEF7;       /* fond du logo */

  --bg: #F6F8F0;
  --surface: #FFFFFF;
  --surface-2: #EBF2E4;
  --fg: #13281C;
  --muted: #4A6153;
  --line: #D3E0CF;
  --accent: #004324;
  --link: #0B6E52;
  --hero-bg: #004324;
  --hero-fg: #FCFEF7;
  --hero-muted: #BFD6C6;
  --btn-bg: #FEC746;
  --btn-fg: #00301A;
  --ph-bg: #FFF3C9;
  --ph-fg: #6A4A00;
  --ph-line: #E9C552;
  --ok-bg: #E2F4EE;
  --ok-fg: #0A5A44;
  --err: #A3261B;
  --shadow: 0 1px 2px rgb(0 40 20 / .06), 0 6px 18px rgb(0 40 20 / .07);

  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1913; --surface: #14241B; --surface-2: #1A2E22; --fg: #E8F1EA; --muted: #A7BDAE;
    --line: #2A4234; --accent: #9BD9B4; --link: #7FD3C3; --hero-bg: #08301B; --hero-fg: #F1F7F1;
    --hero-muted: #A9C7B4; --btn-bg: #FEC746; --btn-fg: #00301A; --ph-bg: #3A3010; --ph-fg: #F5D77A;
    --lagon-text: #4FC3BB;
    --ph-line: #8A7124; --ok-bg: #123A30; --ok-fg: #9FE3CF; --err: #FF8A7A;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 6px 18px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1913; --surface: #14241B; --surface-2: #1A2E22; --fg: #E8F1EA; --muted: #A7BDAE;
  --line: #2A4234; --accent: #9BD9B4; --link: #7FD3C3; --hero-bg: #08301B; --hero-fg: #F1F7F1;
  --hero-muted: #A9C7B4; --btn-bg: #FEC746; --btn-fg: #00301A; --ph-bg: #3A3010; --ph-fg: #F5D77A;
  --lagon-text: #4FC3BB;
  --ph-line: #8A7124; --ok-bg: #123A30; --ok-fg: #9FE3CF; --err: #FF8A7A;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 6px 18px rgb(0 0 0 / .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (max-width: 960px) { html { scroll-padding-bottom: 88px; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--f-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lagon); outline-offset: 2px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; text-wrap: balance; margin: 0; color: var(--accent); letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 65ch; display: grid; gap: 1rem; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--btn-bg); color: var(--btn-fg); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Emplacements à compléter */
.ph { background: var(--ph-bg); color: var(--ph-fg); border-radius: 4px; padding: 0 .25em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere; }
.photo-ph {
  aspect-ratio: 4 / 3; max-width: 100%; width: 100%;
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px);
  border: 2px dashed var(--ph-line); border-radius: var(--radius);
  color: var(--ph-fg); font-weight: 600; font-size: var(--step--1);
}

/* En-tête */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1rem; padding-block: .55rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--accent); margin-right: auto; min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; line-height: 1; }
.brand-tag { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: .2rem; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a { white-space: nowrap; display: flex; align-items: center; min-height: 44px; padding: .5rem .7rem; border-radius: 8px; text-decoration: none; color: var(--fg); font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--surface-2); }
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px;
  font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-sun { background: var(--btn-bg); color: var(--btn-fg); }
.btn-sun:hover { transform: translateY(-1px); background: #FFD567; }
.btn-green { background: var(--vert); color: var(--creme); }
.btn-green:hover { background: var(--vert-2); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.header-call { white-space: nowrap; }

.brand-tag { white-space: nowrap; }
@media (max-width: 1360px) { .brand-tag { display: none; } }
@media (max-width: 960px) {
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 12px; cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav[data-open="false"] { display: none; }
  .nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
  .nav a { padding: .8rem .5rem; font-size: 1.05rem; }
  .brand-tag { display: none; }
}
@media (max-width: 420px) {
  .header-call .label-long { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.25rem; }
}
@media (min-width: 421px) { .header-call .label-short { display: none; } }

/* Héros */
.hero { background: var(--hero-bg); color: var(--hero-fg); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 34rem; height: 34rem; border-radius: 50%;
  background: radial-gradient(circle, rgb(254 199 70 / .32), rgb(254 199 70 / 0) 65%);
  right: -10rem; top: -12rem; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem); position: relative; }
.hero h1 { color: var(--hero-fg); }
.hero h1 .sun { color: var(--soleil); }
.hero .eyebrow { color: var(--soleil); }
.hero-sub { font-size: var(--step-1); color: var(--hero-muted); max-width: 46ch; margin-top: 1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-ctas .btn-ghost { color: var(--hero-fg); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--hero-muted); font-size: var(--step--1); font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: .4rem; }
.hero-facts li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--soleil); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual::after {
  content: ""; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--soleil);
  right: -6%; top: -9%; z-index: 0;
}
.hero-visual .photo-ph { position: relative; z-index: 1; border-color: var(--soleil); background: repeating-linear-gradient(135deg, #0B5A35 0 12px, #08502E 12px 24px); color: var(--soleil); border-radius: 22px; }
.hero-visual img { position: relative; z-index: 1; border-radius: 22px; }
.eyebrow { font: 700 .8rem/1.35 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lagon-text); margin-bottom: .8rem; }

.wave { display: block; width: 100%; height: 38px; margin-top: -37px; position: relative; z-index: 2; }
.wave .w1 { fill: var(--lagon); }
.wave .w2 { fill: var(--bg); }

.hero-visual .hero-logo {
  position: absolute; z-index: 3; left: -2.5rem; bottom: -2.75rem;
  width: clamp(9rem, 15vw, 12.5rem);
  filter: drop-shadow(0 10px 22px rgb(0 0 0 / .35));
}
.hero-visual .hero-logo img { display: block; width: 100%; height: auto; border-radius: 0; }
/* Reflet de lumière, découpé à la forme exacte du logo (invisible tant qu'il n'est pas animé) */
.hero-visual .hero-logo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgb(255 246 214 / .75) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  -webkit-mask: url(../img/logo-oasis-400.webp) center / 100% 100% no-repeat;
          mask: url(../img/logo-oasis-400.webp) center / 100% 100% no-repeat;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 30rem; margin-bottom: 1.5rem; }
  .hero-visual .hero-logo { left: -.5rem; bottom: -2.5rem; width: 8.5rem; }
}

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-alt { background: var(--surface-2); }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; max-width: 46rem; }
.section-head p { color: var(--muted); }
.more { margin-top: 1.75rem; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.page-head .lead { margin-top: 1rem; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.assets li { display: grid; grid-template-columns: 44px 1fr; gap: .85rem; align-items: start; }
.assets svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--surface-2); color: var(--accent); }
.section-alt .assets svg { background: var(--surface); }
.assets strong { display: block; font-family: var(--f-display); color: var(--accent); font-size: 1.08rem; }
.assets span { color: var(--muted); font-size: .98rem; }
@media (max-width: 520px) { .assets { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.25rem; display: grid; gap: .6rem; align-content: start;
  text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: var(--lagon); transform: translateY(-2px); }
.card .num { font: 800 .8rem/1 var(--f-display); color: var(--lagon-text); letter-spacing: .1em; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .8rem; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review figcaption { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.stars { color: #E0A800; letter-spacing: .15em; }
.note { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }
.reviews-solo { grid-template-columns: minmax(0, 40rem); }

.towns { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.towns li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .95rem; }
.towns li.home { background: var(--vert); color: var(--creme); border-color: var(--vert); }

/* Prestations */
.services { display: grid; gap: 0; }
.service { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service > div { min-width: 0; display: grid; gap: .6rem; max-width: 65ch; }
.service svg { width: 4.5rem; height: 4.5rem; padding: 1rem; border-radius: 50%; background: var(--surface-2); color: var(--accent); }
.service .tag { display: inline-block; justify-self: start; background: var(--ok-bg); color: var(--ok-fg); border-radius: 999px; padding: .2rem .7rem; font-size: .82rem; font-weight: 700; }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; gap: .75rem; } .service svg { width: 3.5rem; height: 3.5rem; padding: .8rem; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.steps li::before { content: counter(s); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--soleil); color: #00301A; font: 800 1.15rem/1 var(--f-display); }
.steps strong { font-family: var(--f-display); color: var(--accent); font-size: 1.1rem; }
.steps span { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.flag { border: 2px dashed var(--ph-line); background: var(--ph-bg); color: var(--fg); border-radius: var(--radius); padding: 1.25rem 1.4rem; display: grid; gap: .5rem; }
.flag .flag-label { color: var(--ph-fg); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

/* Réalisations */
.projects { display: grid; gap: 2.5rem; }
.project { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.ba figure { margin: 0; display: grid; gap: .35rem; }
.ba figcaption { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project-text { display: grid; gap: .7rem; min-width: 0; }
.project-text p { color: var(--muted); }
@media (max-width: 820px) { .project { grid-template-columns: 1fr; } }

/* Zone */
.towns-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.towns-detail li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; display: grid; gap: .4rem; align-content: start; }
.towns-detail li.home { grid-column: 1 / -1; border-color: var(--lagon); border-width: 2px; }
.towns-detail h2 { font-size: 1.2rem; }
.towns-detail .cp { font-family: var(--f-body); color: var(--muted); font-weight: 600; font-size: .9rem; }
.towns-detail p { color: var(--muted); }
@media (max-width: 680px) { .towns-detail { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .85rem; min-height: 48px;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--lagon); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .4rem; }
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: center; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; background: var(--bg); }
.check:has(input:checked) { border-color: var(--lagon); background: var(--ok-bg); }
.check input, .consent input { width: 1.2rem; height: 1.2rem; accent-color: var(--vert); flex: none; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.consent input { margin-top: .2rem; }
.form-error { color: var(--err); font-weight: 600; font-size: .95rem; }
.form-status { border-radius: 10px; padding: 1rem 1.1rem; font-weight: 600; }
.form-status.ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status.info { background: var(--ph-bg); color: var(--ph-fg); }
.form .btn { justify-self: start; }
.mail-card h2 { font-size: 1.35rem; }
.mail-help { font-weight: 600; margin-bottom: -.6rem; }
.mail-list { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
@media (max-width: 560px) { .form .btn { justify-self: stretch; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.coords { background: var(--hero-bg); color: var(--hero-fg); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1.1rem; }
.coords h2 { color: var(--hero-fg); font-size: 1.35rem; }
.coords dl { margin: 0; display: grid; gap: .9rem; }
.coords dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soleil); font-weight: 700; }
.coords dd { margin: .15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.coords a:not(.btn) { color: var(--hero-fg); }
.coords .btn { width: 100%; }

/* Bandeau d'appel à l'action */
.cta-band { background: #0F716C; color: #FFFFFF; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: clamp(2rem, 5vw, 3rem); }
.cta-inner h2 { color: #FFFFFF; font-size: var(--step-2); }
.cta-inner p { color: #E6FBF8; margin-top: .3rem; font-size: 1.05rem; }
.cta-inner .btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-inner .btn-ghost { color: #FFFFFF; }

/* Pied de page */
.site-footer { background: var(--hero-bg); color: var(--hero-muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; padding-block: 2.5rem; }
.footer-grid img { width: 88px; height: 88px; object-fit: contain; }
.footer-grid strong { color: var(--hero-fg); font-family: var(--f-display); font-size: 1.15rem; }
.footer-grid a { color: var(--hero-fg); }
.footer-grid address { font-style: normal; display: grid; gap: .2rem; }
.footer-links { display: grid; gap: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid address a { white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .14); padding-block: 1rem calc(1rem + 76px); font-size: .85rem; }
@media (min-width: 961px) { .footer-bottom { padding-bottom: 1rem; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barre d'appel mobile */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgb(0 0 0 / .08);
}
.mobile-bar .btn { flex: 1; min-height: 50px; padding-inline: .5rem; font-size: .98rem; }
.btn-wa { background: #1F8A4C; color: #FFFFFF; flex: 0 0 auto !important; width: 54px; padding: 0 !important; }
@media (max-width: 960px) { .mobile-bar { display: flex; } }

/* Pages légales */
.legal { display: grid; gap: 1.75rem; max-width: 65ch; }
.legal section { display: grid; gap: .5rem; }
.legal h2 { font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.card svg { color: var(--lagon); }

#devis { scroll-margin-top: 90px; }

/* Photo du héros */
.hero-visual .hero-photo { width: 100%; aspect-ratio: 4 / 5; max-height: 34rem; object-fit: cover; object-position: center 35%; border: 4px solid var(--soleil); }
@media (max-width: 820px) { .hero-visual .hero-photo { aspect-ratio: 4 / 3; } }

/* Comparateur avant / après */
.compare { position: relative; width: 100%; max-width: 560px; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 6px rgb(0 0 0 / .4); pointer-events: none; }
.compare-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--soleil); color: #00301A; display: grid; place-items: center; font: 800 1.1rem/1 var(--f-body); box-shadow: 0 2px 8px rgb(0 0 0 / .3); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-handle { background: var(--soleil); }
.compare-tag { position: absolute; top: .75rem; padding: .25rem .65rem; border-radius: 999px; font: 700 .78rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: rgb(0 0 0 / .55); color: #FFFFFF; pointer-events: none; }
.compare-tag-l { left: .75rem; }
.compare-tag-r { right: .75rem; background: var(--vert); }

/* Crédit d'impôt (services à la personne) */
.tax { border: 2px solid var(--soleil); background: var(--surface); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: grid; gap: .5rem; max-width: 52rem; scroll-margin-top: 90px; }
.tax-label { justify-self: start; background: var(--soleil); color: #00301A; border-radius: 999px; padding: .2rem .75rem; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tax-strip { margin-top: 1.25rem; padding: .9rem 1.1rem; border-left: 4px solid var(--soleil); background: var(--surface); border-radius: 0 10px 10px 0; max-width: 52rem; }
.tax-strip strong { color: var(--accent); }

/* Carte de la zone */
:root { --map-sea: #CBEBE7; --map-land: #F7F4E6; --map-coast: #8CC9C2; --map-label: #13281C; --map-halo: #FEC746; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --map-sea: #0E3A3A; --map-land: #1A2E22; --map-coast: #2C6E66; --map-label: #E8F1EA; } }
:root[data-theme="dark"] { --map-sea: #0E3A3A; --map-land: #1A2E22; --map-coast: #2C6E66; --map-label: #E8F1EA; }
.map-wrap { margin: 1.5rem 0 0; max-width: 46rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap-lg { max-width: none; margin: 0 0 2rem; }
.zone-map { display: block; width: 100%; height: auto; aspect-ratio: 646 / 420; }
.zone-map .map-sea { fill: var(--map-sea); }
.zone-map .map-land { fill: var(--map-land); stroke: var(--map-coast); stroke-width: 2; stroke-linejoin: round; }
.zone-map .zg0 { stop-color: var(--map-halo); stop-opacity: .38; }
.zone-map .zg1 { stop-color: var(--map-halo); stop-opacity: .22; }
.zone-map .zg2 { stop-color: var(--map-halo); stop-opacity: 0; }
.zone-map .map-ring { fill: none; stroke: var(--map-halo); stroke-width: 2; stroke-dasharray: 6 6; opacity: .8; }
.zone-map .map-sea-label { fill: var(--map-coast); font: italic 600 15px var(--f-body); letter-spacing: .12em; }
.zone-map .map-town circle { fill: var(--lagon); stroke: var(--map-land); stroke-width: 3; }
.zone-map .map-town.home circle { fill: var(--vert); stroke: var(--soleil); stroke-width: 4; }
.zone-map .map-town text { fill: var(--map-label); font: 700 15px var(--f-body); paint-order: stroke; stroke: var(--map-land); stroke-width: 4px; stroke-linejoin: round; }
.zone-map .map-town.home text { font-size: 18px; font-family: var(--f-display); }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 700; color: var(--accent); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 700 1.4rem/1 var(--f-display); color: var(--lagon); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 1.1rem; color: var(--muted); max-width: 65ch; }

/* Portrait de Rémi à côté de sa présentation */
.about-head { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.about-head > div { min-width: 0; }
.about-head h2 { margin-bottom: 0; }
.portrait { flex: none; margin: 0 6px 0 0; display: flex; flex-direction: column; align-items: center; }
.portrait-pic { position: relative; }
.portrait .ring { display: none; }
.portrait .bubble { display: none; }
.portrait img { display: block; width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 5px solid var(--surface); box-shadow: 0 0 0 4px #FEC746, 0 14px 30px -12px rgba(0, 67, 36, .45); }
.portrait figcaption { margin-top: -14px; position: relative; padding: .3rem .8rem; border-radius: 999px; background: #004324; color: #FCFEF7; font-family: var(--f-display); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.voice { position: relative; margin-top: 1.5rem; padding-left: 1.25rem; border-left: 4px solid #FEC746; }
.voice p { font-style: italic; }
.voice p { margin: 0; }
.voice p + p { margin-top: 1rem; }
@media (max-width: 520px) {
  .about-head { flex-direction: column-reverse; align-items: flex-start; }
  .portrait { margin: 0 0 0 4px; }
  .portrait img { width: 128px; height: 128px; border-width: 4px; box-shadow: 0 0 0 3px #FEC746, 0 10px 22px -10px rgba(0, 67, 36, .45); }
}

/* Focus visible sur les fonds turquoise et vert foncé */
.cta-band :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .coords :focus-visible { outline-color: var(--soleil); }
.menu-btn { flex: none; min-width: 44px; min-height: 44px; }

/* Mobile : la barre du bas porte déjà l'appel, on libère l'en-tête */
@media (max-width: 960px) { .header-call { display: none; } }
.mobile-bar .btn, .hero-ctas .btn { white-space: nowrap; }
@media (max-width: 360px) {
  .mobile-bar { gap: .4rem; padding-inline: .5rem; }
  .mobile-bar .btn { font-size: .9rem; }
  .hero-ctas .btn { font-size: .92rem; padding-inline: 1rem; }
}

/* ===== Animations (légères, coupées si l'utilisateur préfère moins de mouvement) ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Accueil : le texte du héros arrive en cascade, la photo et le logo suivent */
  .hero-grid > div:first-child > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
  .hero-grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
  .hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
  .hero-grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
  .hero-visual img.hero-photo { animation: photo-in .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  /* Logo : arrive en douceur, un reflet de soleil le traverse une fois, puis il « respire » très légèrement */
  .hero-visual .hero-logo { animation: logo-in .8s cubic-bezier(.2, .9, .3, 1.15) .6s both, logo-float 6s ease-in-out 1.6s infinite alternate; }
  .hero-visual .hero-logo::after { animation: logo-shine 1.1s ease-in-out 1.5s both; }
  @media (hover: hover) {
    .hero-visual .hero-logo:hover::after { animation: logo-shine .9s ease-in-out; }
  }
  .hero-visual::after { animation: sun-float 7s ease-in-out infinite alternate; }
  .hero::before { animation: glow 9s ease-in-out infinite alternate; }
  .page-head > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .page-head > :nth-child(2) { animation-delay: .08s; }
  .page-head > :nth-child(3) { animation-delay: .16s; }
  .mobile-bar { animation: bar-up .5s cubic-bezier(.2, .7, .2, 1) .4s both; }

  /* Apparition au défilement (classe posée par js/site.js) */
  .js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js-anim .reveal.is-in { opacity: 1; transform: none; }
  .js-anim .portrait.reveal { transform: scale(.85); }
  .js-anim .portrait.reveal.is-in { transform: none; transition-timing-function: ease, cubic-bezier(.3, 1.5, .5, 1); }

  /* Carte : les communes apparaissent une à une */
  .js-anim .map-wrap .map-town { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .4s ease, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
  .js-anim .map-wrap.is-in .map-town { opacity: 1; transform: none; }
  .js-anim .map-wrap.is-in .map-town:nth-of-type(2) { transition-delay: .25s; }
  .js-anim .map-wrap.is-in .map-town:nth-of-type(3) { transition-delay: .35s; }
  .js-anim .map-wrap.is-in .map-town:nth-of-type(4) { transition-delay: .45s; }
  .js-anim .map-wrap.is-in .map-town:nth-of-type(5) { transition-delay: .55s; }
  .js-anim .map-wrap.is-in .map-town:nth-of-type(6) { transition-delay: .65s; }
  .js-anim .map-wrap.is-in .map-town:nth-of-type(7) { transition-delay: .75s; }
  .map-town.home circle { animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }

  /* Petits retours au survol */
  .card, .service, .review, .faq-item { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  @media (hover: hover) {
    .card:hover, .service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
    .btn:hover svg { animation: wiggle .5s ease; }
  }
  .faq-item[open] > :not(summary) { animation: rise .35s ease both; }
  .faq-item summary::after { transition: transform .25s ease; }
  .faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes photo-in { from { opacity: 0; transform: scale(.94) rotate(-1.5deg); } }
@keyframes logo-in { from { opacity: 0; transform: scale(.7) rotate(-8deg); } }
@keyframes logo-float { to { transform: translateY(-5px) rotate(1.5deg); } }
@keyframes logo-shine { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@keyframes sun-float { to { transform: translate(-8px, 10px) scale(1.04); } }
@keyframes glow { to { transform: translate(-3rem, 2rem) scale(1.1); opacity: .75; } }
@keyframes bar-up { from { transform: translateY(100%); } }
@keyframes pulse { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

/* ===== Motion design : vagues, palmes, chiffres ===== */
.palms { position: absolute; top: -14px; left: -14px; width: clamp(210px, 30vw, 400px); height: auto; color: #9BD9B4; opacity: .14; pointer-events: none; }
.palms path { fill: currentColor; }
.hero-grid { z-index: 1; }
.wave { overflow: hidden; }
.wave .wv { will-change: transform; }
.wave .wv2 { transform: translateX(-720px); }
.count { display: inline-block; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .wave .wv1 { animation: wave-l 11s linear infinite; }
  .wave .wv2 { animation: wave-r 15s linear infinite; }
  .palms .frond { transform-box: view-box; transform-origin: 0 0; animation: sway 7s ease-in-out infinite alternate; }
  .palms .fr2 { animation-duration: 9s; animation-delay: -3s; }
  .palms .fr3 { animation-duration: 8s; animation-delay: -5s; }
}
@keyframes wave-l { to { transform: translateX(-720px); } }
@keyframes wave-r { from { transform: translateX(-720px); } to { transform: translateX(0); } }
@keyframes sway { from { transform: rotate(-3.5deg); } to { transform: rotate(4deg); } }

/* Rémi : anneau animé + bulle de bienvenue */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .portrait .ring { display: block; position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
  .js-anim .portrait .ring circle { fill: none; stroke: #FEC746; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
  .js-anim .portrait.is-in .ring circle { animation: ring-draw 1.6s .3s cubic-bezier(.4, 0, .2, 1) forwards, ring-breathe 4s 2s ease-in-out infinite; transform-origin: 50% 50%; }
  .js-anim .portrait .bubble { display: block; position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translate(-50%, 6px) scale(.8); transform-origin: 50% 100%; opacity: 0; padding: .45rem .85rem; border-radius: 14px; background: #FEC746; color: #004324; font-family: var(--f-display); font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(0, 67, 36, .5); pointer-events: none; }
  .js-anim .portrait .bubble::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0; }
  .js-anim .portrait.is-in .bubble { animation: bubble-pop 6s 1s cubic-bezier(.3, 1.4, .5, 1) forwards; }
  @media (max-width: 520px) {
    .js-anim .portrait .bubble { left: calc(100% + 18px); bottom: auto; top: 50%; width: 7.6rem; white-space: normal; text-align: center; font-size: .8rem; line-height: 1.25; transform: translate(-6px, -50%) scale(.8); transform-origin: 0 50%; }
    .js-anim .portrait .bubble::after { left: 0; top: 50%; margin: -6px 0 0 -6px; border-radius: 0 0 0 3px; }
    .js-anim .portrait.is-in .bubble { animation-name: bubble-pop-side; }
  }
  @keyframes ring-draw { to { stroke-dashoffset: 0; } }
  @keyframes ring-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.04); } }
  @keyframes bubble-pop { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.8); } 8%, 82% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -4px) scale(.95); } }
  @keyframes bubble-pop-side { 0% { opacity: 0; transform: translate(-6px, -50%) scale(.8); } 8%, 82% { opacity: 1; transform: translate(0, -50%) scale(1); } 100% { opacity: 0; transform: translate(4px, -50%) scale(.95); } }
}
