/* ============================================================
   AquaZen — Design system (clair, chaleureux, moderne)
   ============================================================ */
:root {
  --ocean: #0b6e99;
  --ocean-deep: #084d6b;
  --ocean-light: #e6f3f9;
  --teal: #0e9488;
  --coral: #ff7a4d;
  --coral-soft: #ffe3d6;
  --amber: #f6a623;
  --ink: #15303b;
  --ink-soft: #4a6472;
  --cream: #fbf7f2;
  --white: #ffffff;
  --line: #eadfd3;
  --shadow: 0 18px 50px -24px rgba(11, 110, 153, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(21, 48, 59, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 600; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.container.narrow { max-width: 760px; }

.eyebrow {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .6rem;
}
.eyebrow.light { color: var(--coral); }
.accent { color: var(--coral); }

/* Icônes inline (sprite SVG) */
.ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }
.logo-mark { color: var(--ocean); display: inline-flex; }
.logo-mark .ico { width: 30px; height: 30px; }
.topbar .ico { stroke-width: 2.2; }
.btn .ico { width: 1.25em; height: 1.25em; }
.hero-trust .ico { color: var(--teal); }
.contact-list li span { display: inline-flex; }
.contact-list .ico { width: 22px; height: 22px; }
.map-pin .ico { width: 56px; height: 56px; color: var(--ocean); }
.zones-list .ico { width: 18px; height: 18px; color: var(--ocean); margin-right: .1rem; }
.fab .ico { width: 28px; height: 28px; stroke-width: 2; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(255,122,77,.7); }
.btn-primary:hover { background: #ff6a37; }
.btn-ghost { background: transparent; border-color: var(--ocean); color: var(--ocean); }
.btn-ghost:hover { background: var(--ocean); color: #fff; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--ocean-deep), var(--teal));
  color: #fff; font-size: .88rem; padding: .5rem 0;
  display: flex; justify-content: center; gap: 1.2rem; align-items: center; flex-wrap: wrap;
}
.topbar-call { font-weight: 700; background: rgba(255,255,255,.15); padding: .15rem .7rem; border-radius: 999px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,242,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.logo { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: 1.5rem; }
.logo-mark { font-size: 1.6rem; }
.logo-text strong { color: var(--ocean); }
.logo-text.light { color: #fff; }
.logo-text.light strong { color: var(--coral); }
.nav { display: flex; gap: 1.5rem; margin-left: auto; font-weight: 500; }
.nav a { color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--ocean); }
.nav-cta { margin-left: 0; }
.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 4.5rem 0 7rem; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, var(--ocean-light), transparent 60%),
              radial-gradient(900px 500px at 0% 10%, var(--coral-soft), transparent 55%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); font-weight: 700; margin: .4rem 0 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: .8rem; margin: 1.8rem 0 1.4rem; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; gap: 1.4rem; flex-wrap: wrap; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.hero-trust li { color: var(--teal); }

.hero-card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-card-head { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--teal); background: var(--ocean-light); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(14,148,136,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(14,148,136,.5)} 70%{box-shadow:0 0 0 10px rgba(14,148,136,0)} 100%{box-shadow:0 0 0 0 rgba(14,148,136,0)} }
.hero-card h3 { font-size: 1.4rem; }
.hero-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.mini-form { display: grid; gap: .7rem; }
.hero-card-foot { margin-top: 1rem; font-size: .9rem; }
.hero-card-foot a { color: var(--ocean); font-weight: 700; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: var(--white); clip-path: polygon(0 55%, 15% 45%, 35% 58%, 55% 42%, 75% 55%, 100% 40%, 100% 100%, 0 100%); }

/* Inputs */
input, select, textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; transition: border .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px var(--ocean-light); }
textarea { min-height: 120px; resize: vertical; }

/* Stats */
.stats { background: #fff; margin-top: -3.5rem; position: relative; z-index: 5; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr);
  padding: 1.8rem; gap: 1rem; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--ocean); }
.stat span { font-size: .9rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 5rem 0; }
.section-soft { background: linear-gradient(180deg, #fff, var(--cream)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: .6rem; }

/* Cards services */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: var(--ocean-light); margin-bottom: 1rem; overflow: hidden; }
.card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card-price { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--coral); font-size: .95rem; }
.card-cta { margin-top: 1rem; font-weight: 600; color: var(--ocean); font-size: .92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.step { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* Zones */
.zones-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.zones-list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; margin-top: 1.4rem; }
.zones-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.zones-map { aspect-ratio: 1/.8; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, var(--ocean-light), #fff);
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-weight: 600; position: relative; box-shadow: var(--shadow-sm); }
.map-pin { font-size: 3rem; animation: bob 2.5s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.review-stars { color: var(--amber); font-size: 1.1rem; }
.review p { color: var(--ink); margin: .7rem 0; font-size: .98rem; }
.review-author { color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.review-form-wrap { text-align: center; margin-top: 2.5rem; }
.review-form-wrap summary { display: inline-flex; list-style: none; }
.review-form-wrap[open] summary { margin-bottom: 1.2rem; }
.stacked-form { display: grid; gap: .8rem; max-width: 480px; margin: 0 auto; text-align: left; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; padding: 0 1.3rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.5rem; font-family: var(--font-head); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); padding-bottom: 1.1rem; }

/* Contact */
.section-dark { background: linear-gradient(135deg, var(--ocean-deep), var(--ocean)); color: #fff; }
.section-dark h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info p { color: rgba(255,255,255,.8); margin: .8rem 0 1.5rem; }
.contact-list { list-style: none; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list a:hover { color: var(--coral); }
.card-form { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.section-dark .form-note { color: rgba(255,255,255,.8); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; margin-bottom: .9rem; font-size: 1rem; }
.footer a { display: block; color: rgba(255,255,255,.7); padding: .2rem 0; font-size: .92rem; }
.footer a:hover { color: var(--coral); }
.footer p { font-size: .92rem; margin-top: .6rem; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; flex-wrap: wrap; gap: .5rem; }

/* FAB + assistant */
.fab { position: fixed; bottom: 24px; right: 24px; width: 64px; height: 64px; border-radius: 50%; border: none;
  background: var(--coral); color: #fff; font-size: 1.6rem; cursor: pointer; z-index: 60;
  box-shadow: 0 14px 30px -8px rgba(255,122,77,.8); animation: bob 3s ease-in-out infinite; }
.fab:hover { background: #ff6a37; }
.assistant-panel { position: fixed; bottom: 100px; right: 24px; width: 370px; max-width: calc(100vw - 2rem);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  z-index: 60; overflow: hidden; display: none; flex-direction: column; max-height: 70vh; }
.assistant-panel.open { display: flex; }
.assistant-head { background: linear-gradient(90deg, var(--ocean), var(--teal)); color: #fff; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.assistant-head small { display: block; opacity: .85; font-size: .78rem; }
.assistant-head button { background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; }
.assistant-body { padding: 1.2rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: .7rem; background: var(--cream); }
.bubble { padding: .7rem 1rem; border-radius: 14px; max-width: 85%; font-size: .93rem; }
.bubble.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.user { background: var(--ocean); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.assistant-foot { padding: .9rem 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.quick-replies { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { background: var(--ocean-light); color: var(--ocean); border: none; border-radius: 999px; padding: .4rem .8rem; font-size: .85rem; cursor: pointer; font-weight: 500; }
.chip:hover { background: var(--ocean); color: #fff; }
.assistant-input { display: flex; gap: .5rem; }
.assistant-input input { flex: 1; }
.assistant-input button { background: var(--coral); color: #fff; border: none; border-radius: var(--radius-sm); padding: 0 1rem; cursor: pointer; font-size: 1.1rem; }

/* Modal créneaux */
.modal { position: fixed; inset: 0; background: rgba(21,48,59,.5); backdrop-filter: blur(3px); z-index: 70; display: none; place-items: center; padding: 1rem; }
.modal.open { display: grid; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 2rem; max-width: 520px; width: 100%; position: relative; box-shadow: var(--shadow); max-height: 85vh; overflow-y: auto; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--ink-soft); }
.slots { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; margin: 1.2rem 0; }
.slot { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .7rem; text-align: center; cursor: pointer; font-size: .9rem; transition: all .15s; background: #fff; }
.slot:hover, .slot.sel { border-color: var(--coral); background: var(--coral-soft); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .9rem 1.4rem; border-radius: 999px; z-index: 90; box-shadow: var(--shadow); font-weight: 500; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .zones-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .cards, .steps, .reviews { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem; gap: 1rem; border-bottom: 1px solid var(--line); margin: 0; }
  .nav-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .cards, .steps, .reviews, .zones-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
