/* ============================================
   ENTRUST BUSINESS — Charte officielle
   Palette : #120F26 | #06ACB0 | #EF8457 | #F2C805 | #96CFBE | #C3C5C8
   Typo    : Bebas Neue (display) + Cormorant SC (sous-titres) | Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+SC:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:       #120F26;
  --teal:       #06ACB0;
  --coral:      #EF8457;
  --yellow:     #F2C805;
  --mint:       #96CFBE;
  --grey:       #C3C5C8;
  --white:      #FFFFFF;
  --off-white:  #F7F9F9;
  --teal-dark:  #059499;
  --coral-dark: #D6724A;
  --navy-light: #1E1A3A;

  --font-display: 'Bebas Neue', sans-serif;
  --font-sub:     'Cormorant SC', serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1160px;
  --radius:    14px;
  --radius-lg: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Eyebrow — tag de section */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* Titres */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400; /* Bebas Neue n'a qu'un seul poids */
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--navy);
}

h3, h4 {
  font-family: var(--font-sub);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: 1.2rem; letter-spacing: 0.04em; }

p { color: #3A3650; }

.lede {
  font-size: 1.1rem;
  color: #4A4668;
  max-width: 56ch;
}

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============== BOUTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(239,132,87,0.35);
}
.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(239,132,87,0.42);
}

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(6,172,176,0.3);
}
.btn-secondary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,172,176,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  color: var(--navy);
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--teal); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.25s;
  border-radius: 2px;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }

.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.93rem; max-width: 34ch; }

.footer-grid h4 {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.93rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

/* ============== UTILITAIRES SECTION ============== */
.section { padding: 96px 0; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 8px; }

/* Accent souligné jaune sur titre */
.underline-accent {
  position: relative;
  display: inline-block;
}
.underline-accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ============== RESPONSIVE NAV ============== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 81px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(6,172,176,0.2);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-cta .btn { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
