/* AQUA YEU - aquayeu.fr */

/* Fonts (auto-hébergées) */
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-var-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Variables */
:root {
  --ink: #10233e;
  --navy: #16345e;
  --navy-dark: #0f2743;
  --navy-deep: #0b1e35;
  --blue: #1e6fb8;
  --cyan: #2aa7df;
  --sky: #eaf4fb;
  --tint: #f5f9fc;
  --line: #dbe5ee;
  --muted: #52657c;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16, 35, 62, 0.08);
  --header-h: 76px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
h3 { font-size: 1.06rem; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.placeholder { color: #b04a2f; font-weight: 600; }

section { scroll-margin-top: calc(var(--header-h) + 8px); }
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.kicker {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(16, 35, 62, 0.07); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
.brand-name b { color: var(--cyan); font-weight: 800; }
.brand-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.header-tel { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.header-tel .icon { width: 18px; height: 18px; color: var(--cyan); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(88vh, 820px); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1d84c4 url("assets/img/hero-poster.webp") center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(9, 26, 48, 0.78) 0%, rgba(9, 26, 48, 0.45) 46%, rgba(9, 26, 48, 0.18) 100%),
    linear-gradient(to top, rgba(9, 26, 48, 0.5) 0%, rgba(9, 26, 48, 0) 30%);
}
.hero-content { position: relative; padding: 140px 0 110px; }
.hero-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bfe2f6;
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 20px; }
.hero-lead { font-size: 1.13rem; line-height: 1.6; max-width: 52ch; color: rgba(255, 255, 255, 0.92); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 0.93rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.hero-trust .icon { color: #7fd0f5; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { border-color: #b9cfe2; box-shadow: var(--shadow); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue);
  margin-bottom: 18px;
}
.card-icon .icon { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cards-note { margin: 34px 0 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .icon { width: 17px; height: 17px; transition: transform 0.18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Bande réassurance */
.band { background: var(--navy-dark); color: var(--white); padding: 72px 0; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.band-item .icon { width: 26px; height: 26px; color: #7fd0f5; margin-bottom: 14px; }
.band-item h3 { color: var(--white); margin-bottom: 8px; }
.band-item p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.94rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-reverse .split-body { order: 1; }
.split-reverse .split-media { order: 2; }
.split-body > .reveal p:last-of-type { margin-bottom: 0; }

.quals { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.quals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quals li { display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; }
.quals .icon { width: 17px; height: 17px; color: var(--cyan); transform: translateY(2px); }

/* Zone */
.places { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 420px; }
.places li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.96rem; color: var(--navy); }
.places .icon { width: 17px; height: 17px; color: var(--cyan); }
.island { width: 100%; height: auto; }
.island-land { fill: #d8ecf8; stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.island-wave { fill: none; stroke: #a8cfe8; stroke-width: 2; stroke-linecap: round; }
.island-spot circle { fill: var(--blue); stroke: var(--white); stroke-width: 2.5; }
.island-spot text {
  font: 700 15px "Manrope", sans-serif;
  fill: var(--navy);
  text-anchor: middle;
}

/* Rendez-vous */
.rdv-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--blue); margin-top: 3px; }
.contact-list b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1px; }
.contact-list a { color: var(--ink); font-weight: 600; }

.rdv-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.rdv-form h3 { margin-bottom: 22px; font-size: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: var(--cyan);
}
.field-full { grid-column: 1 / -1; }
.field-radios { border: 0; padding: 0; margin: 0; }
.field-radios legend { font-size: 0.85rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 8px; }
.field-radios .radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.field-radios .radios label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.field-radios input[type="radio"] { accent-color: var(--navy); width: 16px; height: 16px; }
.field-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; margin-top: 20px; padding: 15px; font-size: 1rem; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }
.form-status { margin: 14px 0 0; font-weight: 600; display: none; padding: 12px 14px; border-radius: 8px; font-size: 0.95rem; }
.form-status.ok { display: block; background: #e8f6ee; color: #1c6b3c; }
.form-status.err { display: block; background: #fdeeea; color: #a63a24; }
.form-legal { margin: 16px 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; padding: 64px 0 40px; }
.site-footer h3 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-logo { width: 224px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p:last-child { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 0.95rem; }
.footer-contact .icon { width: 17px; height: 17px; color: #7fd0f5; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.75); }
.footer-bottom a:hover { color: var(--white); }
.site-footer .placeholder { color: #f0b498; }

/* Animations de révélation */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .cards .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .cards .reveal:nth-child(4) { transition-delay: 0.06s; }
.js .cards .reveal:nth-child(5) { transition-delay: 0.12s; }
.js .cards .reveal:nth-child(6) { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .site-nav { gap: 20px; }
  .brand-sub { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .band-grid { grid-template-columns: 1fr; gap: 32px; }
  .split, .rdv-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-media { order: 1; }
  .split-reverse .split-body { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(1120px, 100% - 36px); }
  .cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .rdv-form { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 28px; }
  .hero-content { padding: 110px 0 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* Le menu passe en burger dès que la barre devient trop chargée */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: 0 14px 24px rgba(16, 35, 62, 0.09);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; font-size: 1.02rem; }
  .header-tel { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
  .nav-cta { margin-top: 14px; }
  .nav-open .icon-menu { display: none; }
  .nav-open .icon-close { display: block; }
}
