/* ═══════════════════════════════════════════════════
   PARC ASTÉRIX GUIDE (NON-OFFICIEL) — FEUILLE DE STYLE GLOBALE
   Thème "Aventure Gauloise" : terracotta, vert forêt, or, crème
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --cream:         #F9F4EC;
  --parchment:     #EFE5D0;
  --terracotta:    #C4522A;
  --terracotta-dk: #9E3E1C;
  --forest:        #2C5F3A;
  --forest-lt:     #3D7A4F;
  --gold:          #D4A017;
  --gold-lt:       #F0C040;
  --midnight:      #1A1812;
  --warm-gray:     #8C7E6E;
  --light-gray:    #CFC5B4;
  --white:         #FEFCF8;
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-sm:     0 2px 8px rgba(26,24,18,.08);
  --shadow-md:     0 6px 24px rgba(26,24,18,.12);
  --shadow-lg:     0 16px 48px rgba(26,24,18,.18);
  --transition:    .25s cubic-bezier(.4,0,.2,1);
  --max-width:     1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--cream); color: var(--midnight); font-family: var(--font-body); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta-dk); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── LAYOUT ── */
.container         { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container--wide   { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
section            { padding: 64px 0; }
.section--tight    { padding: 40px 0; }
.section--alt      { background: var(--parchment); }
.section--dark     { background: var(--midnight); color: var(--cream); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--midnight); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
p  { margin-bottom: 16px; color: #3a352c; }
.section--dark p { color: #d9d2c4; }
.lede { font-size: 1.15rem; color: var(--warm-gray); max-width: 680px; }
.eyebrow { font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--terracotta); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--gold); display: inline-block; }
strong { font-weight: 700; }

/* ── DISCLAIMER BAR (persistant, légal) ── */
.disclaimer-bar { background: var(--midnight); color: var(--light-gray); font-size: .82rem; text-align: center; padding: 9px 16px; }
.disclaimer-bar a { color: var(--gold-lt); text-decoration: underline; }
.disclaimer-bar strong { color: var(--cream); }

/* ── HEADER / NAV ── */
header.site-header { background: var(--cream); border-bottom: 1px solid var(--light-gray); position: sticky; top: 0; z-index: 200; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max-width); margin: 0 auto; }
.logo { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--midnight); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--terracotta); }
.logo small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-gray); }
nav.main-nav { display: flex; gap: 4px; align-items: center; }
nav.main-nav a { font-weight: 600; font-size: .92rem; color: var(--midnight); padding: 10px 14px; border-radius: var(--radius-sm); transition: var(--transition); white-space: nowrap; }
nav.main-nav a:hover, nav.main-nav a.active { background: var(--parchment); color: var(--terracotta-dk); }
.nav-cta { background: var(--terracotta); color: var(--white) !important; padding: 10px 18px !important; border-radius: 999px !important; }
.nav-cta:hover { background: var(--terracotta-dk) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--midnight); }

@media (max-width: 980px) {
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px; box-shadow: var(--shadow-md); border-top: 1px solid var(--light-gray); }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 16px; }
  .nav-toggle { display: block; }
  .nav-cta { text-align: center; }
}

/* ── BREADCRUMBS ── */
.breadcrumbs { font-size: .82rem; color: var(--warm-gray); padding: 16px 0 0; }
.breadcrumbs a { color: var(--warm-gray); }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs .sep { margin: 0 6px; }

/* ── HERO ── */
.hero { background: linear-gradient(165deg, var(--parchment) 0%, var(--cream) 55%); position: relative; padding: 56px 0 70px; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(212,160,23,.18), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 18px; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--terracotta); }
.hero-stat span { font-size: .8rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: .04em; }
.hero-art { background: var(--forest); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-art-emoji { font-size: 5rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; aspect-ratio: 16/9; } }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; padding: 14px 26px; border-radius: 999px; transition: var(--transition); border: 2px solid transparent; }
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terracotta-dk); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--midnight); }
.btn--gold:hover { background: var(--gold-lt); color: var(--midnight); }
.btn--outline { border-color: var(--midnight); color: var(--midnight); background: transparent; }
.btn--outline:hover { background: var(--midnight); color: var(--cream); }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); }
.card .tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--parchment); color: var(--forest); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.card .tag.tag--hot { background: var(--terracotta); color: var(--white); }
.card .tag.tag--gold { background: var(--gold); color: var(--midnight); }
.card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.card-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--terracotta); font-weight: 700; margin: 8px 0; }
.card-price small { font-size: .85rem; color: var(--warm-gray); font-family: var(--font-body); font-weight: 500; }

/* ── RANKED LIST (manèges, etc.) ── */
.ranked-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--light-gray); }
.ranked-item:last-child { border-bottom: none; }
.rank-num { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.ranked-item h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.thrill-meter { display: inline-flex; gap: 3px; }
.thrill-meter span { width: 7px; height: 16px; border-radius: 2px; background: var(--light-gray); }
.thrill-meter span.on { background: var(--terracotta); }
.meta-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--warm-gray); margin: 8px 0 4px; }
.meta-row strong { color: var(--midnight); }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--light-gray); font-size: .92rem; }
th { background: var(--forest); color: var(--cream); font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .04em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--parchment); }
td strong { color: var(--terracotta-dk); }

/* ── INFO / CALLOUT BOXES ── */
.callout { background: var(--parchment); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 20px 24px; margin: 28px 0; }
.callout h4 { font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--forest); margin-bottom: 8px; }
.callout--warn { border-left-color: var(--terracotta); }
.callout--tip { border-left-color: var(--forest); background: #EAF1E9; }

/* ── AFFILIATE CTA BLOCK (template, masqué via HTML comment dans les pages) ── */
.affiliate-box { background: linear-gradient(135deg, var(--forest), var(--forest-lt)); color: var(--cream); border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow-md); }
.affiliate-box h3 { color: var(--white); }
.affiliate-box p { color: #e3ecdf; }
.affiliate-disclosure-tag { font-size: .72rem; color: var(--warm-gray); margin-top: 10px; }

/* ── FAQ ACCORDION ── */
.faq-cat-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 8px; }
.faq-cat-nav a { font-size: .82rem; font-weight: 600; background: var(--white); border: 1px solid var(--light-gray); padding: 8px 14px; border-radius: 999px; color: var(--midnight); }
.faq-cat-nav a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.faq-group { margin-top: 48px; }
.faq-group h2 { display: flex; align-items: center; gap: 10px; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 4px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--midnight); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q:hover { color: var(--terracotta); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--terracotta); flex-shrink: 0; transition: transform var(--transition); font-weight: 400; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 4px 22px; color: #3a352c; }

/* ── COMPARISON (vs Disneyland) ── */
.vs-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 32px 0; text-align: center; }
.vs-header .vs-pill { background: var(--midnight); color: var(--gold-lt); font-family: var(--font-display); font-weight: 900; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0 auto; }
.vs-side h3 { font-size: 1.5rem; }
.vs-side.side-a { color: var(--terracotta-dk); }
.vs-side.side-b { color: var(--forest); }

/* ── TIMELINE / STEPS (comment y aller, conseils) ── */
.steps { margin-top: 32px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.step::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--light-gray); }
.step:last-child::before { display: none; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--terracotta); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; z-index: 1; }

/* ── NEWSLETTER / EMAIL CAPTURE (placeholder, pas fonctionnel) ── */
.newsletter-box { background: var(--midnight); border-radius: var(--radius); padding: 40px; text-align: center; }
.newsletter-box h3 { color: var(--cream); }
.newsletter-box p { color: var(--light-gray); }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 20px auto 0; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 13px 18px; border-radius: 999px; border: none; font-family: inherit; }

/* ── INTERNAL LINK GRID (footer / pillar links) ── */
.link-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.link-pills a { background: var(--white); border: 1px solid var(--light-gray); padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.link-pills a:hover { border-color: var(--terracotta); }

/* ── FOOTER ── */
footer.site-footer { background: var(--midnight); color: var(--light-gray); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #34302590; }
.footer-grid h4 { color: var(--gold-lt); font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-grid a { color: var(--light-gray); display: block; padding: 5px 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-lt); }
.footer-logo { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--cream); margin-bottom: 12px; }
.footer-legal { padding: 24px 0 28px; font-size: .8rem; color: var(--warm-gray); line-height: 1.6; }
.footer-legal strong { color: var(--light-gray); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-top: 1px solid #34302590; font-size: .8rem; color: var(--warm-gray); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── BACK TO TOP ── */
#back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: var(--terracotta); color: var(--white); border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: var(--shadow-md); z-index: 99; }
#back-to-top.show { opacity: 1; pointer-events: auto; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.badge { background: var(--white); border: 1px solid var(--light-gray); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media print { header, footer, #back-to-top, .disclaimer-bar { display: none; } }
