/* ============================================================
   ExoPacific — Feuille de style partagée
   Charte : Space Grotesk / Inter / JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #0A0A0A;
  --night:     #111214;
  --card:      #17181A;
  --elev:      #202225;
  --green:     #6BAF3C;
  --green-pale:#8FCC5A;
  --green-dim: #4A7A28;
  --silver:    #B0B8C1;
  --ink:       #F2F5F8;
  --dim:       #7C8288;
  --line:      #262829;
  --paper:     #F3F4F0;
  --paper2:    #E9EBE3;
  --l-ink:     #14171A;
  --l-dim:     #5C636B;
  --l-line:    rgba(20,23,26,.12);
  --f-display: 'Space Grotesk', sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', monospace;
  --maxw:      1280px;
  --pad:       48px;
}

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

html { scroll-behavior: smooth; }

body {
  background: #050505;
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-pale); }
::selection { background: var(--green); color: #050505; }
img { max-width: 100%; display: block; }

@keyframes floatUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulseGlow { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: 100px 0; }
.section--dark   { background: var(--bg); border-top: 1px solid var(--line); }
.section--night  { background: var(--night); border-top: 1px solid var(--line); }
.section--paper  { background: var(--paper); color: var(--l-ink); }
.section--paper2 { background: var(--paper2); color: var(--l-ink); border-top: 1px solid var(--l-line); }

.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em;
  color: var(--green); text-transform: uppercase;
}
.section--paper .eyebrow, .section--paper2 .eyebrow { color: var(--green-dim); }

.mono { font-family: var(--f-mono); }

h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.025em; line-height: 1.1; }

.section-head { margin-bottom: 48px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { font-size: 44px; font-weight: 600; margin-top: 16px; }
.section-title--sm { font-size: 40px; }
.section--paper .section-title, .section--paper2 .section-title { color: var(--l-ink); }
.link-more { font-size: 14px; font-weight: 600; color: var(--green-dim); white-space: nowrap; }
.section--dark .link-more, .section--night .link-more { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-size: 15px; font-weight: 700;
  padding: 15px 26px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s;
}
.btn--primary { background: var(--green); color: #0A0A0A; }
.btn--primary:hover { background: var(--green-pale); color: #0A0A0A; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); font-weight: 600; }
.btn--ghost:hover { border-color: var(--green); color: var(--ink); }
.section--paper .btn--ghost, .section--paper2 .btn--ghost { border-color: var(--l-line); color: var(--l-ink); }
.section--paper .btn--ghost:hover, .section--paper2 .btn--ghost:hover { border-color: var(--green-dim); color: var(--l-ink); }
.btn--sm { font-size: 13px; padding: 9px 16px; border-radius: 9px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 15px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: #000 url(logo.png) no-repeat;
  background-size: 570%; background-position: 19% 51%;
  flex-shrink: 0;
}
.brand-word { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.brand-word .exo { color: var(--green); }
.brand-word .pacific { color: var(--silver); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 13px; letter-spacing: .04em; color: var(--silver); font-weight: 500; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--ink); }
.nav-links a.nav-cta { color: #0A0A0A; background: var(--green); padding: 9px 17px; border-radius: 8px; font-weight: 700; }
.nav-links a.nav-cta:hover { background: var(--green-pale); color: #0A0A0A; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 42px; height: 38px; cursor: pointer;
  color: var(--ink); font-size: 18px; align-items: center; justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; top: -25%; right: -8%;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,175,60,.13), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 92px var(--pad) 84px;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center;
  position: relative;
}
.hero-copy { animation: floatUp .7s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(107,175,60,.35); border-radius: 999px;
  padding: 7px 15px; margin-bottom: 30px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulseGlow 2s infinite; }
.hero-badge span.mono { font-size: 11px; letter-spacing: .16em; color: var(--green); text-transform: uppercase; }
.hero h1 { font-size: 58px; font-weight: 700; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.hero h1 .g { color: var(--green); }
.hero-lead { font-size: 18px; color: var(--silver); line-height: 1.65; margin: 26px 0 22px; max-width: 490px; }
.hero-tagline { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 34px; }
.hero-tagline .g { color: var(--green); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  border-radius: 20px; border: 1px solid var(--line); background: #000;
  overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1;
}

/* Page header (secondary pages) */
.pagehead { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.pagehead::before {
  content: ''; position: absolute; top: -30%; right: -6%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,175,60,.12), transparent 60%); pointer-events: none;
}
.pagehead-inner { max-width: var(--maxw); margin: 0 auto; padding: 76px var(--pad); position: relative; }
.pagehead h1 { font-size: 52px; font-weight: 700; margin-top: 16px; text-wrap: balance; max-width: 760px; }
.pagehead p { font-size: 18px; color: var(--silver); line-height: 1.6; margin-top: 20px; max-width: 560px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .val { font-family: var(--f-display); font-size: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--green); }
.stat .lbl { font-size: 13px; color: var(--dim); margin-top: 6px; line-height: 1.4; }

/* ============================================================
   GRIDS & CARDS
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; gap: 64px; align-items: start; }
.split--08-12 { grid-template-columns: .8fr 1.2fr; }
.split--085 { grid-template-columns: .85fr 1.15fr; }
.split--11 { grid-template-columns: 1fr 1fr; align-items: center; }
.lead { font-size: 18px; line-height: 1.65; }
.section--paper .lead, .section--paper2 .lead { color: var(--l-dim); }
.section--dark .lead, .section--night .lead { color: var(--silver); }

/* light step card */
.card-light { background: #fff; border: 1px solid var(--l-line); border-radius: 16px; padding: 32px; }
.card-light .num { font-family: var(--f-mono); font-size: 13px; color: var(--green-dim); margin-bottom: 20px; }
.card-light h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--l-ink); }
.card-light p { font-size: 14.5px; color: var(--l-dim); line-height: 1.6; }
.card-light--sm { padding: 26px; }
.card-light--sm h3 { font-size: 18px; }
.card-light--sm p { font-size: 14px; }

/* usage / product cards with image */
.media-card { background: #fff; border: 1px solid var(--l-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.media-card.is-feature { border-color: rgba(107,175,60,.5); }
.media-ph {
  aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, rgba(20,23,26,.04) 0 12px, transparent 12px 24px), #E4E6DF;
}
.media-ph.is-feature { background: repeating-linear-gradient(135deg, rgba(107,175,60,.08) 0 12px, transparent 12px 24px), #E4E6DF; }
.media-ph.ratio-43 { aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, rgba(20,23,26,.04) 0 12px, transparent 12px 24px), #EDEFE8; }
.media-ph span { font-family: var(--f-mono); font-size: 11px; color: var(--l-dim); }
.media-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.media-body .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--green-dim); text-transform: uppercase; margin-bottom: 10px; }
.media-body h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; color: var(--l-ink); }
.media-body p { font-size: 14.5px; color: var(--l-dim); line-height: 1.6; }

/* dark photo placeholder */
.photo-dark {
  border-radius: 20px; border: 1px solid var(--line); aspect-ratio: 5/4;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, rgba(107,175,60,.05) 0 14px, transparent 14px 28px), #0e0f10;
}
.photo-dark span { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }

/* plus list */
.plus-list { display: flex; flex-direction: column; gap: 14px; }
.plus-list .row { display: flex; gap: 14px; align-items: baseline; }
.plus-list .row .p { font-family: var(--f-mono); color: var(--green); font-size: 13px; }
.plus-list .row span:last-child { font-size: 15px; color: var(--ink); }

/* callout */
.callout {
  background: #fff; border: 1px solid rgba(107,175,60,.4); border-radius: 14px;
  padding: 22px 26px; display: flex; gap: 16px; align-items: center; margin-top: 28px;
}
.callout .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.callout p { font-size: 15px; color: var(--l-ink); line-height: 1.55; }
.callout strong { font-weight: 600; }

/* ============================================================
   SHOP models
   ============================================================ */
.model-card { background: #fff; border: 1px solid var(--l-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.model-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.model-body .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--green-dim); text-transform: uppercase; }
.model-body h3 { font-size: 24px; font-weight: 700; margin: 8px 0 6px; color: var(--l-ink); }
.model-body p { font-size: 14px; color: var(--l-dim); line-height: 1.55; flex: 1; }
.model-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--l-line); }
.model-price { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--l-ink); }
.note { font-family: var(--f-mono); font-size: 11px; color: var(--l-dim); margin-top: 20px; }
.section--dark .note, .section--night .note { color: var(--dim); }

/* ============================================================
   LOCATION rental tiers
   ============================================================ */
.rental-list { display: flex; flex-direction: column; gap: 14px; }
.rental-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--l-line); border-radius: 14px; padding: 22px 26px;
  transition: border-color .2s;
}
.rental-row:hover { border-color: var(--green); }
.rental-row .t { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--l-ink); }
.rental-row .d { font-size: 13px; color: var(--l-dim); margin-top: 3px; }
.rental-row .p { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--green-dim); }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testi { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 8px; padding: 28px; }
.testi q, .testi .quote { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testi-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.testi-name { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--green); letter-spacing: .08em; }
.testi-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--silver); }
.testi-link:hover { color: var(--green-pale); }
.testi-link .play { color: var(--green); }

/* ============================================================
   ÉVÉNEMENTS
   ============================================================ */
.agenda { display: flex; flex-direction: column; border-bottom: 1px solid var(--l-line); }
.agenda .ev {
  display: grid; grid-template-columns: 120px 1fr 160px 140px; gap: 24px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--l-line);
}
.agenda .ev .date { font-family: var(--f-mono); font-size: 13px; color: var(--green-dim); }
.agenda .ev .name { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--l-ink); }
.agenda .ev .place { font-size: 14px; color: var(--l-dim); }
.agenda .ev .evtag { justify-self: end; font-size: 12px; font-family: var(--f-mono); color: var(--l-dim); border: 1px solid var(--l-line); border-radius: 999px; padding: 5px 12px; }

/* ============================================================
   FORMS  (Essai / Location)
   ============================================================ */
.cta-panel {
  background: linear-gradient(150deg, rgba(107,175,60,.14), var(--card));
  border: 1px solid rgba(107,175,60,.3); border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.cta-panel h2 { font-size: 40px; font-weight: 600; margin: 18px 0; }
.cta-panel .lead { color: var(--silver); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field {
  width: 100%; background: rgba(10,10,10,.6); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink);
  font-family: var(--f-body);
}
.field::placeholder { color: var(--dim); }
.field:focus { outline: none; border-color: var(--green); }
select.field { appearance: none; }
textarea.field { resize: vertical; min-height: 96px; }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 12px; color: var(--dim); text-align: center; line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: #050505; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer .brand-word { font-size: 20px; }
.footer-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.footer-about { font-size: 14px; color: var(--dim); line-height: 1.6; max-width: 300px; }
.footer-col .h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-bottom: 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .links a { color: var(--ink); }
.footer-col .links a:hover { color: var(--green); }
.footer-col .links span { color: var(--dim); }
.footer-bar { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--dim); flex-wrap: wrap; }
.footer-bar .mono { font-family: var(--f-mono); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  :root { --pad: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 420px; }
  .hero h1 { font-size: 46px; }
  .pagehead h1 { font-size: 40px; }
  .split, .split--08-12, .split--085, .split--11 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .cta-panel { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title, .section-title--sm { font-size: 34px; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section { padding: 64px 0; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,10,10,.98); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a.nav-cta { text-align: center; margin-top: 12px; border-bottom: none; padding: 13px; }
  .nav-toggle { display: inline-flex; }
  .hero h1 { font-size: 36px; }
  .pagehead h1 { font-size: 32px; }
  .pagehead-inner { padding: 52px var(--pad); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .agenda .ev { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .agenda .ev .evtag { justify-self: start; margin-top: 6px; }
  .section-head--split { align-items: flex-start; }
  .cta-panel { padding: 32px 22px; }
  .cta-panel h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
