/* ============================================================
   CLAIRE — SHARED STYLES
   Used by index.html, about.html, contact.html
   ============================================================ */

:root {
  --navy: #1B2A4A; --green: #2D6A4F; --orange: #E07B39;
  --cream: #F7F2E8; --cream-dark: #EDE5D4; --cream-mid: #F0EAD8;
  --text: #1B2A4A; --text-mid: #4A5A72; --text-light: #8A9AB2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Epilogue', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }

/* ─── EN/FR SWITCHING ─────────────────────────────────────── */
.t-fr { display: none; }
body.fr .t-en { display: none; }
body.fr .t-fr { display: inline; }
.block-fr { display: none; }
body.fr .block-en { display: none; }
body.fr .block-fr { display: block; }

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 56px; display: flex; justify-content: space-between; align-items: center;
  background: rgba(247,242,232,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,42,74,0.06);
}
.logo { text-decoration: none; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-name { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; display: inline-flex; align-items: baseline; }
.logo-n { color: var(--navy); }
.logo-ai { color: var(--orange); }
.logo-tagline-wrap { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; }
.logo-tagline { font-family: 'Epilogue', sans-serif; font-size: 8.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-light); line-height: 1; }
.logo-green-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; display: inline-block; }
.nav-right { display: flex; gap: 28px; align-items: center; }
.nav-right > a { font-size: 14px; font-weight: 500; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-right > a:hover { color: var(--navy); }
.nav-right > a.active { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.nav-pill { background: var(--navy); color: white !important; padding: 10px 22px; border-radius: 6px; font-weight: 600 !important; font-size: 13px !important; transition: background 0.2s !important; border-bottom: none !important; }
.nav-pill:hover { background: var(--orange) !important; }
.lang-toggle { display: flex; background: var(--cream-dark); border-radius: 100px; padding: 3px; gap: 2px; border: 1px solid rgba(27,42,74,0.12); }
.lang-btn { padding: 5px 11px; border-radius: 100px; font-size: 11px; font-weight: 700; cursor: pointer; border: none; background: transparent; color: var(--navy); transition: all 0.2s; font-family: 'Epilogue', sans-serif; letter-spacing: 0.05em; }
.lang-btn.active { background: var(--navy); color: white; }

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

/* ─── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu { display: none; position: fixed; top: 61px; left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 199; padding: 32px 24px; flex-direction: column; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu > a { font-size: 20px; font-weight: 700; font-family: 'Fraunces', serif; color: var(--navy); text-decoration: none; padding: 18px 0; border-bottom: 1px solid rgba(27,42,74,0.08); }
.mobile-menu .m-cta { margin-top: 24px; background: var(--navy); color: white !important; text-align: center; border-radius: 8px; border: none !important; padding: 18px !important; font-size: 16px !important; font-family: 'Epilogue', sans-serif !important; }
.mobile-lang { margin-top: 24px; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer { padding: 48px 56px; background: var(--navy); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.f-logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.f-logo-name { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 900; letter-spacing: -0.03em; display: inline-flex; align-items: baseline; }
.f-logo-tagline-wrap { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; }
.f-logo-tagline { font-family: 'Epilogue', sans-serif; font-size: 8.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.3); line-height: 1; }
.f-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.f-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.f-links a:hover { color: white; }
.f-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.f-lang { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.f-lang .lang-btn { color: rgba(255,255,255,0.5); }
.f-lang .lang-btn.active { background: rgba(255,255,255,0.15); color: white; }

/* ─── SHARED BUTTONS ──────────────────────────────────────── */
.btn-dark { background: var(--navy); color: white; padding: 12px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.25s; display: inline-flex; align-items: center; }
.btn-dark:hover { background: var(--orange); transform: translateY(-2px); }
.btn-cta { background: white; color: var(--green); padding: 18px 40px; border-radius: 8px; font-size: 16px; font-weight: 700; text-decoration: none; transition: all 0.25s; display: inline-flex; align-items: center; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.btn-white-sm { display: inline-block; background: white; color: var(--orange); padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.btn-white-sm:hover { opacity: 0.9; transform: translateY(-2px); }

/* ─── SHARED SECTION LABELS ───────────────────────────────── */
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--orange); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; width: 20px; height: 1.5px; background: var(--orange); }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─── SHARED RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 16px 28px; }
  .nav-right > a:not(.nav-pill) { display: none; }
  .nav-right .lang-toggle { display: flex; }
  footer { padding: 40px 32px; }
}
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
  footer { flex-direction: column; text-align: center; padding: 36px 20px; gap: 16px; }
  .f-links { justify-content: center; }
}
