@font-face {
  font-family: "Kaftan Serif";
  src: url("fonts/kaftan-serif.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── CURSOR DOT ── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s;
}
/* ═══════════════════════════════════════════════
   AMAZONE PATRIMOINE | Charte graphique officielle
   Bleu Marine: #212d5d | Or/Moutarde: #caa32e
   Fonts: Kaftan Serif (titres) + Poppins (corps)
═══════════════════════════════════════════════ */
/* Google Fonts chargé dans le HTML */

:root {
  --navy: #212d5d;
  --dark: #1a1a2e;
  --navy-2: #1a2450;
  --navy-3: #0f1a3a;
  --gold: #caa32e;
  --gold-2: #dbb84a;
  --gold-3: #f0d98a;
  --white: #fefefe;
  --black: #191919;
  --off: #f5f3ee;
  --mid: #5a6070;
  --light: #e8e4da;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img,
svg {
  max-width: 100%;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 3rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(33, 45, 93, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(202, 163, 46, 0.15);
  transition: all 0.3s;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 0.65rem 1.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.nav-cta:hover {
  background: transparent;
  color: var(--gold);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 9rem 4rem 5rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(33, 45, 93, 0.98) 50%,
    rgba(33, 45, 93, 0.85)
  );
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.page-eyebrow .page-eyebrow span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.page-hero h1 {
  font-family: "Kaftan Serif", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.page-hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
  max-width: 620px;
}

/* ── SECTIONS ── */
section {
  padding: 7rem 4rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.s-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.s-label .s-label span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.s-title {
  font-family: "Kaftan Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}
.s-title.white {
  color: var(--white);
}
.s-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--mid);
  font-weight: 300;
  margin-top: 1rem;
}

/* ── BUTTONS ── */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 0.9rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all 0.3s;
  display: inline-block;
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.9rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-navy {
  background: var(--navy);
  color: var(--gold);
  padding: 0.9rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--navy);
  transition: all 0.3s;
  display: inline-block;
}
.btn-navy:hover {
  background: transparent;
  color: var(--navy);
}

/* ── FOOTER ── */
footer {
  background: var(--navy-3);
  border-top: 1px solid rgba(202, 163, 46, 0.15);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.f-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.f-links {
  display: flex;
  gap: 1.5rem;
}
.f-links a {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.f-links a:hover {
  color: var(--gold);
}
.f-copy {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

/* ── WHATSAPP ── */
.wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal-left.in {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal-right.in {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav {
    padding: 0 1.5rem;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(33, 45, 93, 0.99);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0 3rem;
    border-bottom: 1px solid rgba(202, 163, 46, 0.2);
    z-index: 99;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  .nav-links.nav-open {
    display: flex;
  }
  .nav-links a {
    padding: 1.1rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    transition:
      background 0.2s,
      color 0.2s,
      padding-left 0.2s;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(202, 163, 46, 0.1);
    color: var(--gold);
    padding-left: 2.8rem;
  }
  .nav-links a.active {
    border-left: 3px solid var(--gold);
  }
  .nav-links a::after {
    display: none;
  }
  section {
    padding: 5rem 1.5rem;
  }
  .page-hero {
    padding: 7rem 1.5rem 4rem;
  }
  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
}

/* ── RESPONSIVE : petits mobiles ── */
@media (max-width: 540px) {
  nav {
    padding: 0 1rem;
  }
  .nav-cta {
    display: none;
  }
  section {
    padding: 4rem 1.25rem;
  }
  .page-hero {
    padding: 6.5rem 1.25rem 3rem;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  footer {
    padding: 2rem 1.25rem;
  }
  .f-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 360px) {
  nav {
    padding: 0 0.75rem;
  }
  .nav-logo {
    height: 40px;
  }
  section {
    padding: 3.5rem 1rem;
  }
  .page-hero {
    padding: 6rem 1rem 2.5rem;
  }
}

/* ══════════════════════════════════════
   FONT AWESOME | styles globaux
══════════════════════════════════════ */

/* Icônes de navigation / contact */
.ico i {
  font-size: 1rem;
  color: var(--gold);
  width: 18px;
  text-align: center;
}

/* Icônes services (cards) */
i.svc-icon {
  font-size: 2rem;
  color: var(--navy);
  display: block;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.svc-card:hover i.svc-icon {
  color: var(--gold);
}

/* Icônes écosystème */
i.en-ico {
  font-size: 1.2rem;
  color: var(--navy);
  display: block;
  line-height: 1;
  transition: color 0.3s;
}
.eco-node:hover i.en-ico {
  color: var(--gold);
}

/* Icônes engagements (a-propos) */
i.eng-ico {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* Icônes confiance (mon-expertise) */
i.conf-ico {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* Icônes risques (index + sportifs) */
i.risk-ico {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
  width: 24px;
  text-align: center;
}

/* Icône alerte matrimonial */
i.alert-ico {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* Icônes conciergerie */
.c-ico-wrap i {
  font-size: 1.3rem;
  color: var(--gold);
}

/* Icônes fiscalité h4 */
.f-card h4 i {
  margin-right: 0.5rem;
  color: var(--gold-2);
}

/* Icônes timeline (parcours / sportifs) */
.tl-dot i,
.ct-dot i {
  font-size: 0.75rem;
  color: var(--navy);
}

/* Icônes social links */
.social-link i {
  font-size: 0.9rem;
}

/* Icône bouton appel */
.btn-gold i,
.btn-navy i,
.btn-ghost i {
  margin-right: 0.4rem;
}

/* Icônes détail cards (mon-expertise) */
.detail-card h3 i {
  margin-right: 0.5rem;
  color: var(--gold-2);
  font-size: 1rem;
}
