:root {
  --navy: #12324a;
  --navy-deep: #0a2335;
  --teal: #147d7e;
  --teal-dark: #0d6264;
  --teal-soft: #eaf4f4;
  --sand: #f6f1e8;
  --gold: #b88632;
  --gold-dark: #966b21;
  --ink: #193446;
  --muted: #52616b;
  --white: #fff;
  --line: #d6e0e5;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(18, 50, 74, 0.12);
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: var(--teal-dark); }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.15; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.65rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.2rem; }

.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(10, 35, 53, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; }
.brand { color: var(--white); font-size: 1.28rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand span { color: #73d3cf; }
.brand-logo { display: inline-flex; align-items: center; justify-self: start; align-self: stretch; }
.brand-logo img { width: 76px; height: 76px; object-fit: contain; border-radius: 9px; }
.brand-wordmark { justify-self: center; font-size: 1.42rem; }
.header-offers { justify-self: end; }
.header-menu { border-top: 1px solid rgba(255,255,255,.1); background: rgba(6, 27, 42, .68); }
.header-menu-inner { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3rem); overflow: visible; }
.header-menu-inner::-webkit-scrollbar { display: none; }
.header-menu a, .nav-dropdown summary { flex: 0 0 auto; color: #d9e8eb; font-size: .84rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-menu > .header-menu-inner > a:hover, .nav-dropdown summary:hover { color: var(--white); }
.nav-dropdown { position: relative; }
.partnership-panel { width: 270px; }
@media(max-width:620px){.nav-dropdown .partnership-panel{position:fixed;top:112px;left:10px;right:10px;width:calc(100vw - 20px);min-width:0;transform:none}}
.nav-dropdown summary { display: flex; align-items: center; gap: .42rem; list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "▾"; color: #73d3cf; font-size: .72rem; transition: transform .18s ease; }
.nav-dropdown[open] summary::after { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: calc(100% + 13px); left: 50%; z-index: 80; min-width: 230px; padding: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(10,35,53,.99); box-shadow: 0 18px 44px rgba(0,0,0,.28); transform: translateX(-50%); }
.dropdown-panel::before { content: ""; position: absolute; top: -14px; right: 0; left: 0; height: 14px; }
.dropdown-pages { width: min(620px, 86vw); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.dropdown-panel a, .dropdown-panel span { display: block; padding: .62rem .72rem; border-radius: 8px; color: #e5f0f2; font-size: .84rem; text-decoration: none; white-space: normal; }
.dropdown-panel a:hover, .dropdown-panel a[aria-current="page"] { color: var(--white); background: rgba(20,125,126,.34); }
.language-panel { min-width: 190px; }
.language-panel span { color: #91a8b0; }
.language-panel small { margin-left: .35rem; color: #d4b56c; font-size: .68rem; text-transform: uppercase; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--white); background: var(--gold); }
.button-gold:hover { color: var(--white); background: var(--gold-dark); }
.button-light { color: var(--navy); background: var(--white); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.7); background: rgba(10,35,53,.18); }

.hero {
  position: relative;
  min-height: min(770px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--navy-deep) url("../images/vacances-famille-budget/famille-plage.webp") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,25,39,.94) 0%, rgba(6,25,39,.78) 42%, rgba(6,25,39,.14) 76%); }
.hero-content { position: relative; width: min(720px, 65%); padding: 88px 0 104px; }
.eyebrow { margin-bottom: 1rem; color: #8fe0dc; font-size: .82rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.membership-link { color: inherit; text-underline-offset: 3px; }
.hero h1 { margin-bottom: 1.2rem; color: var(--white); }
.hero-lead { max-width: 650px; color: #edf5f6; font-size: clamp(1.08rem, 2.2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.trust-strip { background: var(--sand); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 24px; text-align: center; border-right: 1px solid #dfd5c4; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .92rem; }

.section { padding: 88px 0; }
.section-soft { background: #f4f9f9; }
.section-dark { color: #dce9ed; background: var(--navy); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 2.7rem; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: #c5d8de; }
.article-copy { max-width: 790px; margin-inline: auto; }
.article-copy h2 { margin-top: 3.3rem; }
.article-copy h2:first-child { margin-top: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.card-heading { padding: 24px 24px 16px; }
.card-heading h3 { margin: .35rem 0 0; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-body { padding: 18px 24px 24px; }
.card-kicker { color: var(--teal-dark); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.card p { color: var(--muted); }
.text-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.feature-image { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.feature-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: .45rem 0 .45rem 2rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #6fd0ca; font-weight: 900; }

.cta-panel { padding: 48px; border-radius: 26px; color: var(--white); background: linear-gradient(135deg, var(--teal-dark), var(--navy)); box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 760px; color: var(--white); }
.cta-panel p { max-width: 760px; color: #e1eff0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.fine-print { margin-top: 1rem; color: #cbdde1; font-size: .82rem; }

.faq { max-width: 850px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.25rem 0; color: var(--navy); font-weight: 850; cursor: pointer; }
.faq details p { padding: 0 0 1.25rem; color: var(--muted); }

.site-footer { padding: 48px 0 110px; color: #bdcfd5; background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: .85fr .55fr 1.3fr; gap: 2.5rem; align-items: start; }
.footer-inner p { margin-bottom: .75rem; font-size: .88rem; }
.footer-brand p { max-width: 300px; }
.footer-nav { display: grid; gap: .55rem; }
.footer-nav a, .footer-legal a { color: #dce9ed; font-weight: 750; text-underline-offset: 3px; }
.footer-legal { max-width: 560px; }

.sticky-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 11px max(16px, env(safe-area-inset-right)) calc(11px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border-top: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: rgba(10,35,53,.97);
  box-shadow: 0 -10px 28px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.sticky-actions .button { width: min(240px, 42vw); }

a:focus-visible, summary:focus-visible { outline: 3px solid #3aa9af; outline-offset: 4px; }

@media (max-width: 850px) {
  .header-menu-inner { justify-content: center; }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(6,25,39,.92), rgba(6,25,39,.5)); }
  .hero-content { width: 82%; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body { line-height: 1.62; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { min-height: 68px; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; }
  .brand-logo img { width: 58px; height: 58px; border-radius: 7px; }
  .brand-wordmark { min-width: 0; font-size: clamp(.98rem, 4.5vw, 1.22rem); }
  .header-offers { display: none; }
  .header-menu-inner { width: 100%; min-height: 41px; gap: clamp(.5rem, 2.8vw, .9rem); padding-right: 8px; padding-left: 8px; }
  .header-menu a, .nav-dropdown summary { font-size: clamp(.7rem, 3.1vw, .8rem); }
  .dropdown-pages { right: -80px; left: auto; width: min(520px, calc(100vw - 20px)); max-height: 60vh; grid-template-columns: 1fr; overflow-y: auto; transform: none; }
  .language-panel { right: 0; left: auto; transform: none; }
  .hero { min-height: 720px; background-position: 68% center; }
  .hero::before { background: linear-gradient(0deg, rgba(6,25,39,.95) 0%, rgba(6,25,39,.7) 72%, rgba(6,25,39,.22)); }
  .hero-content { width: 100%; align-self: end; padding: 150px 0 72px; }
  .hero h1, .hero-lead, .eyebrow { max-width: 100%; overflow-wrap: anywhere; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .trust-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .trust-item { padding: 13px; border-right: 0; border-bottom: 1px solid #dfd5c4; }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .card { display: block; }
  .cta-panel { padding: 30px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .sticky-actions { right: 0; bottom: 0; left: 0; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); }
  .sticky-actions .button { flex: 1; min-width: 0; padding-inline: .7rem; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
