/* ============================================================
   ENTRE NOUS — DESIGN SYSTEM
   Corporate · Minimal · Human
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:      #0F2A52;
  --navy-mid:  #1B3A6B;
  --teal:      #0A9EB5;
  --teal-lt:   #E6F6F9;
  --green:     #4A9B5F;
  --white:     #FFFFFF;
  --off:       #F7F9FB;
  --fog:       #EEF4F8;
  --border:    #D8E8EF;
  --ink:       #1A2A3A;
  --slate:     #4A5C6A;
  --muted:     #7A8D9A;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --r4:  4px;
  --r8:  8px;
  --r12: 12px;
  --r20: 20px;

  --sh-sm:  0 1px 4px rgba(15,42,82,0.06), 0 2px 12px rgba(15,42,82,0.04);
  --sh-md:  0 4px 16px rgba(15,42,82,0.08), 0 1px 4px rgba(15,42,82,0.04);
  --sh-lg:  0 12px 48px rgba(15,42,82,0.12), 0 2px 8px rgba(15,42,82,0.06);
  --sh-xl:  0 24px 80px rgba(15,42,82,0.16);

  --nav-h: 72px;
  --page-pad: clamp(24px, 6vw, 100px);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--ff-body); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: var(--ff-body); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--page-pad);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--sh-md); }

.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-mark {
  width: 36px; height: 36px; flex-shrink: 0;
}
.nav-wordmark {
  font-family: var(--ff-display);
  font-size: 19px; font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-wordmark span {
  font-style: italic; color: var(--teal);
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--slate);
  padding: 8px 14px; border-radius: var(--r8);
  transition: color 0.18s, background 0.18s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--navy); background: var(--off); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  padding: 10px 22px; border-radius: 50px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  margin-left: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(15,42,82,0.2);
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(10,158,181,0.3); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 12px var(--page-pad) 20px; z-index: 199;
  flex-direction: column; gap: 2px;
  box-shadow: var(--sh-md);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 15px; font-weight: 500; color: var(--slate);
  padding: 12px 0; border-bottom: 1px solid var(--fog);
}
.nav-mobile a:last-child { border: none; }

/* ── PAGE WRAPPER ────────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ── SECTION PRIMITIVES ─────────────────────────────────── */
.section { padding: 96px var(--page-pad); }
.section-sm { padding: 64px var(--page-pad); }
.section-lg { padding: 120px var(--page-pad); }

.section-bg-off    { background: var(--off); }
.section-bg-fog    { background: var(--fog); }
.section-bg-navy   { background: var(--navy); }
.section-bg-dark   { background: #0A1E3C; }

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin-left: auto; margin-right: auto; }

.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.overline::before {
  content: ''; display: block;
  width: 24px; height: 1.5px; background: var(--teal);
}

.display-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500; line-height: 1.1;
  color: var(--navy); letter-spacing: -0.02em;
}
.display-title em {
  font-style: italic; color: var(--teal);
}
.display-title.light { color: var(--white); }
.display-title.light em { color: rgba(255,255,255,0.65); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500; line-height: 1.15;
  color: var(--navy); letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title.light { color: var(--white); }

.lead {
  font-size: 17px; color: var(--slate);
  line-height: 1.75; max-width: 560px;
}
.lead.light { color: rgba(255,255,255,0.65); }
.lead.wide { max-width: 680px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  transition: all 0.22s; white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.btn-navy {
  background: var(--navy); color: var(--white);
  box-shadow: 0 2px 12px rgba(15,42,82,0.22);
}
.btn-navy:hover { background: #0d2245; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(15,42,82,0.28); }

.btn-teal {
  background: var(--teal); color: var(--white);
  box-shadow: 0 2px 12px rgba(10,158,181,0.28);
}
.btn-teal:hover { background: #0890A6; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(10,158,181,0.36); }

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

.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--teal);
  padding-left: 0; padding-right: 0;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--navy); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ── DIVIDER LINE ────────────────────────────────────────── */
.rule { height: 1px; background: var(--border); }
.rule-light { height: 1px; background: rgba(255,255,255,0.1); }

/* ── CARD PRIMITIVES ─────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--r12);
  border: 1px solid var(--border);
  padding: 32px; box-shadow: var(--sh-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: #b8d4e0; }

.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r12); padding: 32px;
  transition: background 0.25s, transform 0.25s;
}
.card-dark:hover { background: rgba(10,158,181,0.12); transform: translateY(-4px); }

/* ── SVG ICON SYSTEM ─────────────────────────────────────── */
.ico-wrap {
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r12);
  flex-shrink: 0;
}
.ico-wrap-sm  { width: 40px; height: 40px; }
.ico-wrap-md  { width: 52px; height: 52px; }
.ico-wrap-lg  { width: 64px; height: 64px; }
.ico-navy  { background: var(--fog); }
.ico-teal  { background: var(--teal-lt); }
.ico-light { background: rgba(255,255,255,0.1); }

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 7px;
}
.form-label.light { color: rgba(255,255,255,0.55); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r8);
  font-size: 14px; color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,158,181,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* Dark form variants */
.form-input.dk,
.form-select.dk,
.form-textarea.dk {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.form-input.dk::placeholder,
.form-textarea.dk::placeholder { color: rgba(255,255,255,0.35); }
.form-input.dk:focus,
.form-select.dk:focus,
.form-textarea.dk:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(10,158,181,0.2);
}
.form-select.dk option { background: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--slate); line-height: 1.6; margin-bottom: 24px;
}
.form-check.light { color: rgba(255,255,255,0.5); }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-option {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1.5px solid var(--border);
  border-radius: 50px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--slate);
  transition: all 0.18s;
}
.radio-option:hover { border-color: var(--teal); color: var(--teal); }
.radio-option input[type="radio"] { accent-color: var(--teal); }
.radio-option.dk {
  border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6);
}
.radio-option.dk:hover { border-color: var(--teal); color: var(--teal); }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: #071428;
  color: rgba(255,255,255,0.5);
  padding: 64px var(--page-pad) 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px;
}
.footer-brand .wm {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 500;
  color: var(--white); display: block; margin-bottom: 14px;
}
.footer-brand .wm span { font-style: italic; color: var(--teal); }
.footer-brand p { font-size: 13px; line-height: 1.75; max-width: 280px; }
.footer-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r8);
  padding: 14px 18px; margin-top: 20px;
  font-size: 11.5px; line-height: 1.7;
  color: rgba(255,255,255,0.32);
}
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 13px; color: rgba(255,255,255,0.45);
  transition: color 0.18s;
}
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.footer-slogan {
  font-family: var(--ff-display);
  font-style: italic; color: var(--teal);
  font-size: 14px;
}

/* ── NOTICE BAR ─────────────────────────────────────────── */
.notice-bar {
  background: var(--teal-lt);
  border: 1px solid rgba(10,158,181,0.2);
  border-radius: var(--r8);
  padding: 14px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: #0A5A6B; line-height: 1.65;
}
.notice-bar svg { flex-shrink: 0; margin-top: 1px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 64px var(--page-pad); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
