/* ============ TOITURE AZUR — DA "Azur & Or" ============ */
:root {
  --navy-950: #050e1a;
  --navy-900: #081726;
  --navy-800: #0c2138;
  --navy-700: #123152;
  --azur: #2f7fb8;
  --azur-light: #6db3e0;
  --gold: #c9a13b;
  --gold-light: #e3c878;
  --cream: #f4efe4;
  --ink: #1b2733;
  --paper: #f7f4ec;
  --paper-2: #efe9dc;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; } .d4 { transition-delay: .48s; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .8em 1.6em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer; border: none;
}
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }
.btn-gold {
  background: linear-gradient(135deg, #d9b653, var(--gold) 55%, #a8842c);
  color: var(--navy-950);
  box-shadow: 0 6px 24px rgba(201,161,59,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,161,59,.5); }
.btn-ghost {
  border: 1.5px solid rgba(244,239,228,.5); color: var(--cream);
  background: rgba(244,239,228,.06); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(244,239,228,.14); transform: translateY(-2px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0; transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(5,14,26,.82); backdrop-filter: blur(14px);
  padding: 10px 0; box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-mark { width: 34px; color: var(--cream); }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: .01em; }
.brand-name em { color: var(--gold); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: rgba(244,239,228,.85); font-size: .92rem; font-weight: 500; letter-spacing: .03em; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width .3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: .88rem; padding: .65em 1.3em; }
.nav-burger { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: min(100svh, 1080px); display: grid; place-items: center; text-align: center; color: var(--cream); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(47,127,184,.28), transparent 55%),
    linear-gradient(180deg, rgba(5,14,26,.72), rgba(8,23,38,.62) 45%, rgba(5,14,26,.9));
}
.hero-content { position: relative; z-index: 2; padding: 120px 24px 80px; max-width: 900px; }
.hero-kicker {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; font-weight: 500; color: var(--gold);
}
.hero-kicker .rule { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-kicker .rule:last-child { transform: scaleX(-1); }
.hero h1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.08; margin: 26px 0 22px; letter-spacing: -.01em;
}
.hero h1 em { color: var(--gold); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(244,239,228,.82); font-weight: 300; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-badges {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin-top: 46px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,239,228,.65);
}
.hero-badges i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 44px; border: 1.5px solid rgba(244,239,228,.4); border-radius: 999px;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } }

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; }
.section-dark { background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 40%, var(--navy-950)); color: var(--cream); }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .76rem; font-weight: 600; color: var(--azur); margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--azur-light); }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; margin-bottom: 18px; }
h2 em { color: var(--gold); }
.section-intro { max-width: 640px; color: rgba(27,39,51,.75); margin-bottom: 42px; }
.note { margin-top: 26px; font-size: .82rem; color: rgba(27,39,51,.45); font-style: italic; }
.section-dark .note { color: rgba(244,239,228,.4); }

/* ---------- AVANT / APRES ---------- */
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(8,23,38,.25); user-select: none; touch-action: none; cursor: ew-resize;
}
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { position: absolute; inset: 0; }
.ba-before { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba-before img { width: 100%; height: 100%; filter: sepia(.55) saturate(.55) brightness(.72) contrast(.92); }
.ba-before::after { content: ""; position: absolute; inset: 0; background: rgba(40,60,30,.18); mix-blend-mode: multiply; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; transform: translateX(-50%); display: grid; place-items: center; pointer-events: none; }
.ba-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cream); box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba-knob {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--navy-950); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.ba-knob svg { width: 24px; height: 24px; }
.ba-tag {
  position: absolute; top: 18px; z-index: 2; padding: .35em 1em; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(5,14,26,.65); color: var(--cream); backdrop-filter: blur(6px);
}
.ba-tag-l { left: 18px; } .ba-tag-r { right: 18px; }

/* ---------- GALERIE ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.g-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
}
.g-tall { grid-row: span 2; aspect-ratio: auto; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.g-card:hover img { transform: scale(1.06); }
.g-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(5,14,26,.88));
  font-size: .8rem; color: rgba(244,239,228,.7); letter-spacing: .04em;
}
.g-card figcaption span { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--cream); letter-spacing: 0; }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.sv {
  background: #fff; border: 1px solid rgba(27,39,51,.08); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.sv:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(8,23,38,.12); border-color: rgba(201,161,59,.45); }
.sv-ic { width: 52px; height: 52px; color: var(--navy-700); margin-bottom: 18px; }
.sv h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin-bottom: 8px; }
.sv p { font-size: .92rem; color: rgba(27,39,51,.68); }

/* ---------- PROCESS ---------- */
.section-process { padding: 90px 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 26px; border: 1px solid rgba(244,239,228,.12); border-radius: var(--radius); background: rgba(244,239,228,.03); }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-950);
  background: linear-gradient(135deg, #d9b653, var(--gold)); margin-bottom: 16px;
}
.steps h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 6px; }
.steps p { font-size: .9rem; color: rgba(244,239,228,.65); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-tel {
  display: inline-flex; align-items: center; gap: 14px; margin: 18px 0 6px;
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-800);
}
.contact-tel .ic { color: var(--gold); width: 1em; height: 1em; }
.contact-tel:hover { color: var(--azur); }
.contact-mail { color: rgba(27,39,51,.6); margin-bottom: 26px; }
.zone h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin-bottom: 6px; }
.zone p { font-size: .92rem; color: rgba(27,39,51,.68); }
.contact-form {
  background: #fff; border: 1px solid rgba(27,39,51,.08); border-radius: var(--radius);
  padding: 36px; box-shadow: 0 24px 60px rgba(8,23,38,.1); display: grid; gap: 18px;
}
.contact-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: rgba(27,39,51,.75); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .8em 1em; border: 1.5px solid rgba(27,39,51,.14); border-radius: 10px;
  background: var(--paper); transition: border-color .25s ease; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--azur); }
.form-ok { display: none; color: #2e7d32; font-weight: 600; font-size: .9rem; }
.form-ok.show { display: block; }

/* ---------- SEO LOCAL ---------- */
.section-seo { padding: 80px 0; background: var(--paper-2); }
.section-seo h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
.seo-cols p { font-size: .92rem; color: rgba(27,39,51,.72); }
.seo-cols strong { color: var(--navy-800); font-weight: 600; }
@media (max-width: 900px) { .seo-cols { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-950); color: rgba(244,239,228,.75); padding: 60px 0 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; }
.f-brand { font-size: 1.5rem; color: var(--cream); }
.f-sub { font-size: .84rem; color: rgba(244,239,228,.45); margin-top: 4px; }
.f-links { display: flex; gap: 22px; font-size: .88rem; }
.f-links a:hover { color: var(--gold); }
.f-social { display: flex; gap: 14px; }
.f-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(244,239,228,.2); border-radius: 50%; transition: border-color .3s, color .3s; }
.f-social a:hover { border-color: var(--gold); color: var(--gold); }
.f-social svg { width: 18px; height: 18px; }
.f-legal {
  border-top: 1px solid rgba(244,239,228,.1); padding: 18px 24px 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: 1160px; margin: 0 auto; font-size: .78rem; color: rgba(244,239,228,.4);
}
.f-credit { font-size: 10px; color: rgba(244,239,228,.2); }
.f-credit a { text-decoration: underline; transition: color .3s; }
.f-credit a:hover { color: var(--gold); }

/* ---------- FAB mobile ---------- */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: linear-gradient(135deg, #d9b653, var(--gold)); color: var(--navy-950);
  box-shadow: 0 10px 30px rgba(201,161,59,.5); animation: fabPulse 2.4s ease-in-out infinite;
}
.fab-call svg { width: 26px; height: 26px; }
@keyframes fabPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* ---------- Accessibilité : reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .fab-call { animation: none; }
  .hero-scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; background: none; border: none; }
  .nav-burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 6px 0; border-radius: 2px; }
  .section { padding: 72px 0; }
  .gallery { grid-template-columns: 1fr; }
  .g-tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .services { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .fab-call { display: grid; }
  .hero-badges { gap: 10px; font-size: .72rem; }
}
