/* ═══════════════════════════════════════════════════════════
   ARNAUD CHOQUETTE — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0A2342;
  --navy-deep:   #061628;
  --gold:        #C9A96E;
  --gold-light:  #dfc08e;
  --gold-pale:   rgba(201,169,110,0.12);
  --white:       #FFFFFF;
  --bg:          #F8F8F6;
  --text:        #1A1A2E;
  --text-muted:  #6B7280;
  --border:      #E5E5E0;
  --dark-footer: #0A0A1A;
  --shadow-sm:   0 2px 12px rgba(10,35,66,0.07);
  --shadow-md:   0 4px 24px rgba(10,35,66,0.10);
  --shadow-lg:   0 8px 40px rgba(10,35,66,0.16);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      10px;
  --radius-lg:   16px;
  --ease:        0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Typography helpers ───────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle { max-width: 520px; margin: 12px auto 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(201,169,110,0.38);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn:disabled, .btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}

#navbar.scrolled,
#navbar.solid {
  background: rgba(10,35,66,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 28px rgba(0,0,0,0.28);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo block: image + text side by side */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  line-height: 1.2;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  /* Black SVG becomes white on dark background */
  filter: brightness(0) invert(1);
  transition: opacity var(--ease);
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo-title {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Navbar CTA button — pushed to far right */
.nav-btn-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1rem !important;
  padding: 14px 32px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color var(--ease);
}
.mobile-menu a:hover { color: var(--gold); }
/* Bouton CTA dans le menu mobile */
.mobile-menu .btn {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  width: auto;
  text-align: center;
  padding: 10px 22px;
  margin-top: 8px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
}
.mobile-menu .btn:hover {
  background: #b8934a;
  color: var(--navy);
}

/* ── Page hero banner (for inner pages) ──────────────────── */
.page-banner {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 30% 60%, rgba(201,169,110,0.1) 0%, transparent 55%);
  padding: 140px 0 80px;
  text-align: center;
}
.page-banner .section-title { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-banner .section-subtitle { color: rgba(255,255,255,0.6); margin: 14px auto 0; max-width: 520px; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}

/* ── Scroll Animations ────────────────────────────────────── */
.fade-in {
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.08s; }
.fd2 { transition-delay: 0.16s; }
.fd3 { transition-delay: 0.24s; }
.fd4 { transition-delay: 0.32s; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--ease);
}
.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all var(--ease);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 360px; }
.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Testimonials ─────────────────────────────────────────── */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.temoignage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--ease);
  position: relative;
}
.temoignage-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.temoignage-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(201,169,110,0.12);
  line-height: 1;
}

.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }

.temoignage-text {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 22px;
}

.temoignage-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.86rem; color: var(--navy); }
.author-note { font-size: 0.75rem; color: var(--text-muted); }

/* ── CTA Final ────────────────────────────────────────────── */
.cta-section {
  padding: 120px 28px;
  background: var(--navy);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.14) 0%, transparent 55%);
  text-align: center;
}
.cta-pill {
  display: inline-block;
  background: rgba(201,169,110,0.18);
  border: 1px solid rgba(201,169,110,0.35);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.cta-title em { color: var(--gold); font-style: italic; }
.cta-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.cta-note { margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--dark-footer);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.footer-logo-title { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 14px; }
.footer-amf { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 10px; }
.footer-disclaimer { font-size: 0.73rem; color: rgba(255,255,255,0.28); line-height: 1.65; font-style: italic; }

.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }

.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color var(--ease); }
.footer-nav a:hover { color: var(--gold); }

.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color var(--ease); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--ease);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.footer-bottom { padding: 22px 0; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.22); }

/* ── Ornament ─────────────────────────────────────────────── */
.ornament { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ornament-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.35; max-width: 50px; }
.ornament-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .temoignages-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-title { display: none; }
  .nav-logo-name { font-size: 1.2rem; }
  .nav-logo-img { height: 32px; }

  /* Bouton CTA toujours visible à gauche du hamburger */
  .nav-btn-cta {
    display: inline-flex !important;
    font-size: 0 !important;
    padding: 9px 13px !important;
    margin-left: auto;
    margin-right: 10px;
    gap: 0 !important;
    white-space: nowrap;
  }
  .nav-btn-cta svg { display: none; }
  .nav-btn-cta::after {
    content: 'Réserver';
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-sans);
  }

  /* Grids */
  .temoignages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cta-section { padding: 72px 20px; }

  /* Page banner */
  .page-banner { padding: 110px 0 56px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .page-banner { padding: 100px 0 48px; }
  .page-banner .section-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }

  /* CTA tighter */
  .cta-section { padding: 60px 16px; }
  .cta-title { font-size: clamp(1.7rem, 7vw, 2.5rem); }
  .cta-sub { font-size: 0.95rem; }

  /* Buttons full-width on small phones */
  .btn { padding: 13px 22px; font-size: 0.88rem; }

  /* Footer */
  .footer-grid { gap: 28px; }
  #footer { padding: 56px 0 0; }

  /* Mobile menu links */
  .mobile-menu a { font-size: 1.1rem; padding: 10px 0; }
  .mobile-menu .btn { font-size: 0.95rem; padding: 9px 20px; }
  .mobile-menu { gap: 18px; }

  /* Section spacing */
  .section-header { margin-bottom: 40px; }
}

/* ── Accessibilité : réduction du mouvement ───────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  /* Éléments masqués par défaut avant animation → rendus visibles */
  .fade-in,
  .hero-line-inner,
  .apropos-points li { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ── Accessibilité : focus clavier visible ────────────────── */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
