/* ============================================================
   La Mainte — Design System v4
   Stack: vanilla HTML/CSS/JS · Police: Jost (Google Fonts)
   Palette: navy / cream / terra
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --cream:       #F5F1EA;
  --cream-dark:  #EDE8DE;
  --navy:        #1B3A6B;
  --navy-mid:    #2E5090;
  --navy-muted:  #6B7A99;
  --terra:       #C4956A;
  --terra-light: #F0E6D8;
  --white:       #FFFFFF;
  --sand:        #F9F6F0;

  --text:        #1A1A2E;
  --text-muted:  #5A637A;

  --font: 'Jost', system-ui, sans-serif;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 14px;

  --shadow-soft:  0 2px 20px rgba(27,58,107,.07);
  --shadow-card:  0 4px 32px rgba(27,58,107,.10);
  --shadow-hover: 0 8px 40px rgba(27,58,107,.15);

  --transition: 0.22s cubic-bezier(.4,0,.2,1);

  --border:     rgba(27,58,107,.1);
  --border-mid: rgba(27,58,107,.2);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 300; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 400; line-height: 1.35; }
h4 { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); }
p  { font-weight: 300; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .5rem;
}

.terra-rule {
  width: 2.5rem;
  height: 1px;
  background: var(--terra);
}

.muted { color: var(--text-muted); }

/* ── Section layout ───────────────────────────────────────── */
.sec        { padding-block: clamp(4rem, 8vw, 6.5rem); }
.sec-sm     { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec-cream  { background: var(--cream); }
.sec-white  { background: var(--white); }
.sec-sand   { background: var(--sand); }
.bt         { border-top: 0.5px solid rgba(27,58,107,.1); }
.bb         { border-bottom: 0.5px solid rgba(27,58,107,.1); }

.section-header        { max-width: 680px; }
.section-header.centered { margin-inline: auto; text-align: center; }
.section-header p      { margin-top: .75rem; color: var(--text-muted); font-size: 1.05rem; }

/* ── Helpers ──────────────────────────────────────────────── */
.container-sm {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.text-center { text-align: center; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { padding: .75rem 0; border-bottom: 0.5px solid var(--border); background: var(--white); }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; list-style: none; font-size: .78rem; color: var(--text-muted); }
.breadcrumb a { color: var(--navy-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--navy); }
.bc-sep { margin-inline: .25rem; opacity: .4; }
.bc-cur { color: var(--text-muted); }

/* ── Fade-up animation ────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.6rem;
  font-family: var(--font); font-size: .88rem; font-weight: 400; letter-spacing: .05em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 0.5px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-terra {
  background: var(--terra);
  color: var(--white);
  border: 1px solid var(--terra);
}
.btn-terra:hover { filter: brightness(1.08); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 0.5px solid rgba(27,58,107,.1);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  height: 64px;
}
.logo-link { flex-shrink: 0; }
.logo-link img { height: 32px; width: auto; }
.logo-sep {
  width: 0.5px; height: 22px;
  background: rgba(27,58,107,.15);
  flex-shrink: 0;
}
.logo-tagline {
  font-size: .72rem; font-weight: 300; letter-spacing: .1em;
  color: var(--navy-muted); white-space: nowrap; flex-shrink: 0;
  display: none;
}
@media (min-width: 900px) { .logo-tagline { display: block; } }

.main-nav {
  display: none; align-items: center; gap: .25rem; margin-left: auto;
}
@media (min-width: 860px) { .main-nav { display: flex; } }

.nav-item {
  font-size: .8rem; font-weight: 400; letter-spacing: .05em;
  color: var(--text-muted);
  padding: .35rem .65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-item:hover, .nav-item.active { color: var(--navy); }
.nav-item.active { font-weight: 500; }

.nav-phone {
  display: flex; flex-direction: column; align-items: flex-end; margin-left: .75rem;
  border-left: 0.5px solid rgba(27,58,107,.12); padding-left: 1rem;
  font-size: .7rem;
}
.nav-phone span { color: var(--navy-muted); letter-spacing: .05em; text-transform: uppercase; }
.nav-phone a { font-weight: 400; color: var(--navy); font-size: .8rem; letter-spacing: .03em; }

.btn-contact-nav {
  font-size: .78rem; font-weight: 400;
  padding: .45rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  margin-left: .5rem;
  transition: var(--transition);
  letter-spacing: .04em;
}
.btn-contact-nav:hover { background: var(--navy-mid); }

.burger {
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
  color: var(--navy);
  padding: .4rem;
}
.burger svg { width: 24px; height: 24px; }
@media (min-width: 860px) { .burger { display: none; } }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white);
  border-top: 0.5px solid rgba(27,58,107,.1);
  padding: 1rem 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .75rem clamp(1.25rem, 5vw, 3rem);
  font-size: .95rem; font-weight: 300;
  color: var(--navy);
  border-bottom: 0.5px solid rgba(27,58,107,.06);
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--cream); }
.mobile-menu-foot {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
}
.mobile-menu-foot a { font-size: .85rem; color: var(--text-muted); }

/* ── Mobile call bar ──────────────────────────────────────── */
.mobile-call-bar {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--navy); color: var(--white);
  font-size: .8rem; font-weight: 400; letter-spacing: .05em;
  padding: .55rem 1rem;
  text-align: center;
}
@media (min-width: 860px) { .mobile-call-bar { display: none; } }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,107,.95) 0%, rgba(27,58,107,.75) 100%);
}
.hero-content {
  position: relative;
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 780px;
}
.hero-content .eyebrow { color: rgba(196,149,106,.9); }
.hero-content h1 {
  margin-top: .75rem;
  color: var(--white);
}
.hero-content p {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.75);
  max-width: 580px;
  line-height: 1.8;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 2.25rem;
}
.hero-btns .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* STATS BAR */
.hero-statsbar {
  position: relative;
  background: var(--white);
  border-top: 0.5px solid rgba(27,58,107,.1);
}
.hero-stats {
  display: flex; flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-around;
}
.hero-stat {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  gap: .2rem;
}
.hero-stat-value {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -.01em;
}
.hero-stat-label {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-stat-sep {
  width: 0.5px;
  background: rgba(27,58,107,.12);
  align-self: stretch;
  margin-block: .75rem;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-stat-sep { display: none; }
}

/* ════════════════════════════════════════════════════════════
   SERVICES STRIP
   ════════════════════════════════════════════════════════════ */
.services-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 0.5px solid rgba(27,58,107,.1);
}
a.service-cell { display: flex; flex-direction: column; }
.service-cell {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 0.5px solid rgba(27,58,107,.1);
  transition: background var(--transition);
  text-decoration: none; color: var(--text);
  position: relative; overflow: hidden;
}
.service-cell:last-child { border-right: none; }
.service-cell:hover { background: var(--cream); }
.service-cell:hover .service-link { color: var(--navy); gap: .65rem; }

.service-cell-img {
  height: 160px; margin-bottom: 1.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--terra-light);
}
.service-cell-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-cell h3 { margin: .4rem 0 .75rem; }
.service-cell p {
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.8; flex: 1;
}
.service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-top: 1.5rem;
  transition: gap var(--transition), color var(--transition);
}
.service-link svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════════════════
   PARCOURS CLIENT — 4 ÉTAPES
   ════════════════════════════════════════════════════════════ */
.steps-grid {
  display: flex; align-items: flex-start;
  flex-wrap: wrap; gap: 1rem;
  margin-top: 3.5rem;
}
.step-item {
  flex: 1; min-width: 200px;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 0.5px solid rgba(27,58,107,.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.step-num {
  font-size: .7rem; font-weight: 500; letter-spacing: .15em;
  color: var(--terra);
  margin-bottom: .75rem;
}
.step-item h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.step-item p  { font-size: .88rem; color: var(--text-muted); line-height: 1.8; }

.step-arrow {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 28px; margin-top: 2.5rem;
  color: rgba(27,58,107,.25);
}
.step-arrow svg { width: 20px; height: 20px; }

.steps-cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 2.5rem;
}

@media (max-width: 860px) {
  .steps-grid { flex-direction: column; }
  .step-arrow { display: none; }
}

/* ════════════════════════════════════════════════════════════
   À PROPOS
   ════════════════════════════════════════════════════════════ */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 760px) {
  .about-strip { grid-template-columns: 1fr; }
}

.portrait-wrap { display: flex; flex-direction: column; }
.portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  box-shadow: var(--shadow-card);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-caption {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-top: .75rem; text-align: center;
}

/* ════════════════════════════════════════════════════════════
   CONCIERGERIES SPOTLIGHT
   ════════════════════════════════════════════════════════════ */
.concierge-band {
  background: var(--navy);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.concierge-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 760px) {
  .concierge-inner { grid-template-columns: 1fr; }
}

.concierge-list {
  display: flex; flex-direction: column; gap: .75rem;
  margin-top: 1.5rem;
}
.concierge-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .92rem; font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.concierge-list li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--terra); margin-top: .1rem;
}

.concierge-cta-wrap { display: flex; align-items: flex-start; }
.concierge-cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}

/* ════════════════════════════════════════════════════════════
   TRAÇABILITÉ / DOCUMENTATION
   ════════════════════════════════════════════════════════════ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.doc-item {
  padding: 2rem 1.75rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  display: flex; flex-direction: column; gap: .75rem;
  position: relative;
  transition: box-shadow var(--transition);
}
.doc-item:hover { box-shadow: var(--shadow-card); }
.doc-item--highlight {
  background: var(--navy);
  border-color: var(--navy);
}
.doc-item--highlight h3 { color: var(--white); }
.doc-item--highlight p  { color: rgba(255,255,255,.65); }

.doc-icon {
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-item--highlight .doc-icon { background: rgba(255,255,255,.1); }
.doc-icon svg { width: 22px; height: 22px; color: var(--terra); }

.doc-item h3 { font-size: 1rem; font-weight: 400; color: var(--navy); }
.doc-item p  { font-size: .86rem; font-weight: 300; line-height: 1.8; color: var(--text-muted); }

.doc-badge {
  display: inline-block; align-self: flex-start;
  font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(196,149,106,.2); color: var(--terra);
  padding: 3px 10px; border-radius: 20px;
  margin-top: auto;
}

/* ════════════════════════════════════════════════════════════
   TÉMOIGNAGES
   ════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border: 0.5px solid rgba(27,58,107,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }

.testimonial-stars { color: var(--terra); font-size: .85rem; letter-spacing: .1em; }
.testimonial-text {
  font-size: .95rem; font-weight: 300;
  color: var(--text-muted); line-height: 1.85;
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: .75rem;
  border-top: 0.5px solid rgba(27,58,107,.08);
  padding-top: 1rem;
}
.testimonial-initials {
  width: 40px; height: 40px;
  background: var(--terra-light);
  color: var(--terra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 500; letter-spacing: .05em;
  flex-shrink: 0;
}
.testimonial-name  { font-size: .88rem; font-weight: 400; color: var(--navy); }
.testimonial-role  { font-size: .78rem; color: var(--text-muted); font-weight: 300; }

/* ════════════════════════════════════════════════════════════
   ZONE D'INTERVENTION
   ════════════════════════════════════════════════════════════ */
.zone-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 760px) {
  .zone-block { grid-template-columns: 1fr; }
  .zone-img { order: -1; }
}

.zone-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.zone-img img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }

.zones-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.zone-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 0.5px solid rgba(27,58,107,.1);
}
.zone-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--terra); margin-top: .1rem; }
.zone-item div { display: flex; flex-direction: column; gap: .15rem; }
.zone-item strong { font-size: .88rem; font-weight: 400; color: var(--navy); }
.zone-item span { font-size: .82rem; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════
   ENGAGEMENTS
   ════════════════════════════════════════════════════════════ */
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.engagement-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 0.5px solid rgba(27,58,107,.1);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.engagement-icon {
  width: 36px; height: 36px;
  color: var(--terra);
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.engagement-item h3 { margin-bottom: .75rem; font-size: 1.1rem; }
.engagement-item p { font-size: .9rem; color: var(--text-muted); line-height: 1.8; }

/* ════════════════════════════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════════════════════════════ */
.cta-dark {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  border-top: 0.5px solid rgba(255,255,255,.08);
}
.cta-dark h2 { color: var(--white); font-weight: 200; }
.cta-dark p  {
  margin-top: .75rem;
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
}
.cta-dark-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  margin-top: 2.25rem;
}
.cta-dark-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  margin-top: 2rem;
}
.cta-dark-contacts a {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.cta-dark-contacts a:hover { color: var(--white); }
.cta-dark-contacts svg { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--cream);
  border-top: 0.5px solid rgba(27,58,107,.12);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand-name {
  font-size: .72rem; font-weight: 500; letter-spacing: .2em;
  color: var(--navy); margin-bottom: .75rem;
}
.footer-brand p {
  font-size: .85rem; color: var(--text-muted);
  line-height: 1.75; max-width: 280px;
}
.footer-rc {
  display: flex; align-items: center; gap: .4rem;
  margin-top: 1rem;
  font-size: .78rem; font-weight: 400; letter-spacing: .05em;
  color: var(--terra);
}
.footer-rc svg { width: 16px; height: 16px; }

.footer-col h4 { margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col li a, .footer-col li span {
  font-size: .85rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--navy); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(27,58,107,.1);
  font-size: .78rem; color: var(--text-muted);
}
.footer-bottom button {
  font-size: .78rem; color: var(--navy-muted);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer-bottom button:hover { color: var(--navy); }

/* ════════════════════════════════════════════════════════════
   LEGAL MODAL
   ════════════════════════════════════════════════════════════ */
.modal-bg {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(27,58,107,.5);
  backdrop-filter: blur(4px);
  justify-content: center; align-items: flex-end;
  padding: 1.5rem;
}
.modal-bg.open { display: flex; }
@media (min-width: 600px) {
  .modal-bg { align-items: center; }
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%; max-width: 640px; max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
@media (min-width: 600px) {
  .modal-box { border-radius: var(--radius-lg); }
}

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 0.5px solid rgba(27,58,107,.1);
  flex-shrink: 0;
}
.modal-head h2 { font-size: 1.1rem; font-weight: 400; color: var(--navy); }
.modal-close {
  font-size: 1.5rem; line-height: 1; color: var(--text-muted);
  transition: color var(--transition);
  padding: .25rem .5rem;
}
.modal-close:hover { color: var(--navy); }

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 1.75rem;
}
.modal-body section { display: flex; flex-direction: column; gap: .5rem; }
.modal-body h3 { font-size: .85rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-muted); }
.modal-body p, .modal-body li { font-size: .88rem; color: var(--text-muted); line-height: 1.8; }
.modal-body ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.modal-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
