:root {
  --navy: #0B2A5B;
  --navy-2: #12397A;
  --orange: #FF7A00;
  --orange-2: #E86A00;
  --cream: #FFF8F1;
  --paper: #FFFDFB;
  --ink: #1C2440;
  --muted: #5A6383;
  --line: #E8E2DA;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(11, 42, 91, .10);
  --font-title: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.center-flex { justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .9rem;
  margin-bottom: .4em;
}
.eyebrow.light { color: #FFB066; }
.section-intro { max-width: 680px; margin: 0 auto 2.5rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem;
  padding: .75em 1.5em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 122, 0, .35); }
.btn-orange:hover { background: var(--orange-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .45em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ico { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-title); font-size: 1.2rem; color: var(--navy); text-transform: uppercase; }
.brand-text small { color: var(--orange); font-weight: 700; font-size: .8rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; color: var(--navy); font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; padding: 64px 0 90px; overflow: hidden; }
.blob-tl {
  position: absolute; top: -170px; left: -230px; width: 420px; height: 280px;
  background: var(--orange); border-radius: 0 0 60% 40% / 0 0 70% 50%;
  transform: rotate(-8deg); opacity: .95; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hl { color: var(--orange); }
.hero-level {
  font-family: var(--font-title); font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; color: var(--navy); letter-spacing: 1px; margin-top: -.3em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 14px; font-size: .95rem; box-shadow: 0 2px 8px rgba(11, 42, 91, .05);
}
.badges strong { color: var(--navy); }
.hero-visual { position: relative; }
.photo-frame {
  border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  overflow: hidden;
  border: 10px solid var(--navy);
  box-shadow: 0 0 0 10px var(--orange), var(--shadow);
  aspect-ratio: 1 / 1;
}
.photo-frame picture { display: block; height: 100%; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.price-chip {
  position: absolute; left: -10px; bottom: 6%;
  background: var(--navy); color: #fff; border-radius: 18px;
  padding: 12px 18px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow); transform: rotate(-4deg);
}
.price-big { font-family: var(--font-title); font-weight: 800; font-size: 2.2rem; color: var(--orange); line-height: 1; }
.price-small { font-size: .82rem; line-height: 1.25; }

/* Sections */
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #E7ECF7; }
.section-navy h2 { color: #fff; }
.section-navy strong { color: #fff; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 6px solid var(--orange);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-ico { width: 60px; height: 60px; color: var(--navy); margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: center; }
.about-logo { color: #fff; display: grid; place-items: center; }
.about-logo img { width: 100%; max-width: 280px; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: .85rem;
  display: grid; place-items: center;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 40px 26px 28px; border: 2px dashed #F3C79E; }
.step-num {
  position: absolute; top: -24px; left: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-title); font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: 0 0 0 5px var(--paper);
}
.steps p { color: var(--muted); margin: 0; }

/* Tarifs */
.tarifs-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.price-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.price-old { font-family: var(--font-title); font-size: 1.6rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--orange); }
.price-minus { font-family: var(--font-title); font-size: 1.4rem; color: var(--orange); font-weight: 700; }
.price-total { border-bottom: 0; margin-bottom: 16px; }
.price-total span:first-child { color: var(--navy); font-weight: 800; }
.price-new { font-family: var(--font-title); font-size: 2.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-row small { font-size: .5em; font-weight: 600; }
.price-note { text-align: center; font-size: .88rem; color: var(--muted); margin: 12px 0 0; }

/* Booking */
.booking {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; min-height: 200px;
}
.booking-cal { padding: 8px; min-height: 600px; overflow: auto; }
.booking-fallback { padding: 48px 24px; text-align: center; }
.booking-fallback p { font-size: 1.1rem; }

/* FAQ */
.faq { margin-top: 2rem; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-family: var(--font-title); font-weight: 700; font-size: 1.12rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.8rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 700; color: var(--navy); word-break: break-word; }
.contact-list a { text-decoration: none; }
.ci { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.ci svg { width: 20px; height: 20px; }
.form { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 14px; }
.form input:not([type=checkbox]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 122, 0, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .88rem; }
.consent input { margin-top: 4px; accent-color: var(--orange); }
.form-status { margin: 12px 0 0; font-weight: 700; text-align: center; }
.form-status.ok { color: #1A7F4B; }
.form-status.err { color: #C0392B; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D3EA; position: relative; padding: 70px 0 24px; margin-top: 40px; }
.wave {
  position: absolute; top: -28px; left: 0; right: 0; height: 40px;
  background: var(--orange);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: -0;
}
.wave::after { content: ""; position: absolute; inset: 12px 0 -2px; background: var(--navy); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; position: relative; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-title); font-size: 1.3rem; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--orange); }
.sap-badge { border: 2px solid var(--orange); border-radius: 14px; padding: 10px 16px; font-size: .9rem; text-align: center; }
.sap-badge strong { color: #fff; }
.copyright { text-align: center; font-size: .85rem; margin: 40px 0 0; opacity: .7; }

/* Legal page */
.legal { padding: 60px 0 80px; }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .tarifs-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 460px; margin: 10px auto 0; width: 100%; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps { gap: 40px; }
  .about-logo img { max-width: 200px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* Barre d'actions fixe (mobile uniquement) */
.mobile-bar { display: none; }

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-inner { height: 62px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.05rem; }
  .nav { top: 62px; }
  html { scroll-padding-top: 70px; }

  .section { padding: 52px 0; }
  .section-intro { margin-bottom: 1.6rem; font-size: .97rem; }
  h2 { font-size: 1.75rem; }

  /* Hero : la photo d'abord, texte compact */
  .hero { padding: 16px 0 40px; }
  .blob-tl { display: none; }
  .hero-grid { gap: 18px; }
  .hero-visual { order: -1; max-width: none; margin: 0; }
  .photo-frame {
    aspect-ratio: 16 / 10;
    border-radius: 28px 28px 28px 90px;
    border-width: 6px;
    box-shadow: 0 0 0 6px var(--orange), var(--shadow);
  }
  .photo-frame img { object-position: 45% 60%; }
  .price-chip { left: auto; right: 10px; bottom: -14px; padding: 8px 14px; transform: rotate(-3deg); }
  .price-big { font-size: 1.7rem; }
  .price-small { font-size: .74rem; }
  .eyebrow { font-size: .78rem; letter-spacing: 1.5px; }
  h1 { font-size: 2.15rem; margin-bottom: .2em; }
  .hero-level { font-size: 1.05rem; margin: 0 0 .6em; }
  .lead { font-size: 1rem; margin-bottom: 0; }
  .hero .hero-cta { display: none; }
  .badges { margin-top: 1rem !important; }
  .badges { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .badges::-webkit-scrollbar { display: none; }
  .badges li { flex: none; padding: 6px 12px; font-size: .88rem; }

  /* Cartes : icône à gauche, plus compactes */
  .cards { gap: 14px; }
  .card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 20px 18px; border-top-width: 0; border-left: 5px solid var(--orange); }
  .card-ico { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .card h3 { font-size: 1.12rem; margin-bottom: .3em; }
  .card p { font-size: .94rem; }

  /* Qui suis-je : logo réduit */
  .about-grid { gap: 20px; }
  .about-logo img { max-width: 120px; }

  /* Étapes : frise verticale compacte */
  .steps { gap: 14px; margin-top: 1.5rem; }
  .steps li { padding: 16px 16px 16px 70px; border-width: 1.5px; }
  .step-num { top: 16px; left: 14px; width: 40px; height: 40px; font-size: 1.2rem; box-shadow: none; }
  .steps h3 { font-size: 1.1rem; margin-bottom: .2em; }
  .steps p { font-size: .94rem; }

  .tarifs-grid, .contact-grid { gap: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form, .price-card { padding: 20px; }
  .price-new { font-size: 2.3rem; }
  .booking-cal { padding: 0; }
  .faq summary { font-size: 1.02rem; padding: 14px 28px 14px 0; }

  .site-footer { padding-top: 56px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }

  .mobile-bar {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 251, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(11, 42, 91, .08);
  }
  .mobile-bar .btn { flex: 1; padding: .7em .6em; font-size: .98rem; background: #fff; }
  .mobile-bar .btn-orange { flex: 1.6; background: var(--orange); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Secteur d'intervention */
.communes { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.communes li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.communes li:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.communes-note { margin-top: 1.4rem; color: var(--muted); }
@media (max-width: 640px) { .communes { gap: 8px; } .communes li { padding: 6px 12px; font-size: .88rem; } }
