/* ==========================================================================
   OEA — feuille de style principale
   Marque minimaliste, luxe & héritage polynésien
   ========================================================================== */

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

:root {
  /* Couleurs */
  --oea-black: #0a0a09;
  --oea-black-soft: #121210;
  --oea-panel: #16160f;
  --oea-border: rgba(240, 235, 220, 0.1);
  --oea-cream: #f3efe4;
  --oea-text: #d9d5c9;
  --oea-text-muted: #9b968a;
  --oea-gold: #c9a866;
  --oea-gold-light: #e3c98d;
  --oea-blue: #7c9cc4;
  --oea-lagoon-1: #0d2b30;
  --oea-lagoon-2: #123a3f;
  --oea-lagoon-3: #1c5a5e;

  /* Typo */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  /* Rythme */
  --container: 1240px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--oea-black);
  color: var(--oea-text);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--oea-cream);
  line-height: 1.15;
  margin: 0;
}

em, .accent {
  font-style: italic;
  color: var(--oea-gold-light);
  font-weight: 500;
}

p { margin: 0; line-height: 1.7; color: var(--oea-text); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oea-gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--oea-gold);
  display: inline-block;
}

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

/* ------------------------- Boutons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--oea-gold);
  color: var(--oea-black);
  font-weight: 500;
}
.btn-gold:hover { background: var(--oea-gold-light); transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(243, 239, 228, 0.35);
  color: var(--oea-cream);
}
.btn-outline:hover { border-color: var(--oea-cream); background: rgba(255,255,255,0.04); }
.btn-outline-gold {
  border-color: var(--oea-gold);
  color: var(--oea-gold-light);
}
.btn-outline-gold:hover { background: rgba(201, 168, 102, 0.1); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--oea-gold-light);
  outline-offset: 3px;
}

/* ------------------------- Header ------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 9, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--oea-border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-mark-img { display: block; height: 26px; width: auto; }
.footer-brand .logo-mark-img { height: 30px; }
/* Version agrandie et authentique pour la section symbolique (à propos) */
.logo-showcase-card {
  max-width: 420px;
  margin: 0 auto 8px;
  background: var(--oea-cream);
  border-radius: var(--radius);
  padding: 34px 30px 26px;
  display: flex;
  justify-content: center;
}
.logo-showcase-card img { display: block; height: 90px; width: auto; }
.logo-showcase-caption {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--oea-text-muted);
  margin-bottom: 50px;
}
.main-nav {
  display: flex;
  gap: 34px;
  margin: 0 auto 0 8px;
  flex: 1;
}
.main-nav a {
  font-size: 12.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--oea-text);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--oea-cream);
  border-color: var(--oea-gold);
}
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--oea-border);
  color: var(--oea-cream);
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-inner { justify-content: space-between; padding: 16px 20px; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--oea-black-soft);
    border-bottom: 1px solid var(--oea-border);
    padding: 18px 24px 26px;
    gap: 18px;
    margin: 0;
  }
  .main-nav.open + .header-cta,
  .header-cta.open { display: inline-flex; }
}

/* ------------------------- Hero ------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 30%, var(--oea-lagoon-3) 0%, var(--oea-lagoon-2) 38%, var(--oea-lagoon-1) 62%, var(--oea-black) 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,9,0.86) 0%, rgba(10,10,9,0.55) 42%, rgba(10,10,9,0.15) 68%, rgba(10,10,9,0.35) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.hero-content { max-width: 640px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 16px;
  color: var(--oea-text);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: 12px; color: var(--oea-text-muted); letter-spacing: 0.5px; }

/* ------------------------- Sections génériques ------------------------- */
.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 620px; }
.section-head .section-link { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--oea-gold-light); border-bottom: 1px solid rgba(201,168,102,0.4); padding-bottom: 4px; white-space: nowrap; }
.section-head .section-link:hover { border-color: var(--oea-gold-light); }
.section-alt { background: var(--oea-black-soft); }
.section-lede { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-lede p { color: var(--oea-text-muted); font-size: 15px; }

/* ------------------------- Grille produits ------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--oea-panel);
  border: 1px solid var(--oea-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.product-card:hover { border-color: rgba(201,168,102,0.4); transform: translateY(-4px); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--oea-lagoon-2), var(--oea-black-soft));
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,10,9,0.72);
  border: 1px solid rgba(201,168,102,0.5);
  color: var(--oea-gold-light);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 10px;
}
.product-body { padding: 20px 20px 22px; }
.product-body h3 { font-size: 21px; margin-bottom: 6px; }
.product-body .desc { font-size: 13.5px; color: var(--oea-text-muted); margin-bottom: 16px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-size: 19px; color: var(--oea-cream); }
.product-link { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--oea-gold-light); background: none; border: none; padding: 0; }
.product-link:hover { color: var(--oea-cream); }

@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ------------------------- Maison / à propos split ------------------------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media { position: relative; }
.split-media .frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(155deg, #3a2a12, #1a1206 60%, #0a0a09);
  border-radius: var(--radius);
  overflow: hidden;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-tag {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--oea-black);
  border: 1px solid var(--oea-border);
  padding: 20px 26px;
  max-width: 250px;
}
.split-tag .tag-title { font-family: var(--font-display); font-style: italic; color: var(--oea-gold-light); font-size: 20px; margin-bottom: 6px; }
.split-tag .tag-sub { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--oea-text-muted); }
.split-copy h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 22px; }
.split-copy p { color: var(--oea-text-muted); margin-bottom: 18px; font-size: 15px; }
.stat-row { display: flex; gap: 42px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--oea-border); flex-wrap: wrap; }
.stat-row .stat-num { font-family: var(--font-display); font-size: 28px; color: var(--oea-cream); }
.stat-row .stat-label { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--oea-text-muted); margin-top: 4px; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media .frame { aspect-ratio: 16/10; }
  .split-tag { position: static; margin-top: -1px; max-width: none; }
}

/* ------------------------- Feature grid (l'art de faire) ------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--oea-border);
  border: 1px solid var(--oea-border);
}
.feature-card { background: var(--oea-black); padding: 34px 28px; }
.feature-icon { width: 30px; height: 30px; color: var(--oea-gold); margin-bottom: 20px; }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--oea-text-muted); }

@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }

/* ------------------------- Process (étapes) ------------------------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process-step { position: relative; padding-top: 34px; border-top: 1px solid var(--oea-border); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--oea-gold);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--oea-text-muted); }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-list { grid-template-columns: 1fr; } }

/* ------------------------- CTA bandeau ------------------------- */
.cta-banner {
  position: relative;
  padding: 90px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, var(--oea-lagoon-2) 0%, var(--oea-black) 72%);
  border-top: 1px solid var(--oea-border);
  border-bottom: 1px solid var(--oea-border);
}
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 620px; margin: 0 auto 18px; }
.cta-banner p { color: var(--oea-text-muted); max-width: 480px; margin: 0 auto 34px; }
.cta-banner .ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ------------------------- Devis / formulaire ------------------------- */
.devis-section { padding: 110px 0; }
.devis-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.devis-visual { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #24211a, #0a0a09 70%); }
.devis-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.devis-copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 20px; }
.devis-copy p { color: var(--oea-text-muted); margin-bottom: 26px; font-size: 15px; max-width: 440px; }
.devis-points { list-style: none; margin: 0 0 0; padding: 0; }
.devis-points li { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--oea-text); }
.devis-points li::before { content: "☼"; color: var(--oea-gold); font-size: 13px; }

.devis-form {
  background: var(--oea-panel);
  border: 1px solid var(--oea-border);
  padding: 40px;
  border-radius: var(--radius);
}
.devis-form h3 { font-size: 22px; margin-bottom: 8px; }
.devis-form > p { color: var(--oea-text-muted); font-size: 13.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--oea-text-muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--oea-black);
  border: 1px solid var(--oea-border);
  color: var(--oea-cream);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: var(--radius);
}
.field input::placeholder, .field textarea::placeholder { color: #55524a; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--oea-gold);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-full { grid-column: 1 / -1; margin-bottom: 18px; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { text-align: center; font-size: 11.5px; color: var(--oea-text-muted); margin-top: 14px; }
.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(201,168,102,0.4);
  background: rgba(201,168,102,0.08);
  color: var(--oea-gold-light);
  font-size: 13px;
  margin-bottom: 18px;
  border-radius: var(--radius);
}
.form-status.show { display: flex; }
.form-status.error { border-color: #a35b4a; background: rgba(163,91,74,0.1); color: #e3a494; }

@media (max-width: 880px) {
  .devis-grid { grid-template-columns: 1fr; }
  .devis-visual { aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .devis-form { padding: 26px; }
}

/* ------------------------- Contact simple ------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 20px; }
.contact-info p { color: var(--oea-text-muted); margin-bottom: 30px; font-size: 15px; max-width: 420px; }
.contact-detail { margin-bottom: 22px; }
.contact-detail .label { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--oea-gold); margin-bottom: 6px; }
.contact-detail .value { font-size: 16px; color: var(--oea-cream); font-family: var(--font-display); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------- Modal produit ------------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,10,9,0.86);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 24px; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--oea-panel); border: 1px solid var(--oea-border);
  max-width: 560px; width: 100%; padding: 40px; position: relative; border-radius: var(--radius);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  color: var(--oea-text-muted); font-size: 20px; line-height: 1;
}
.modal-close:hover { color: var(--oea-cream); }
.modal-badge { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--oea-gold-light); border: 1px solid rgba(201,168,102,0.5); display: inline-block; padding: 5px 10px; margin-bottom: 16px; }
.modal-box h3 { font-size: 28px; margin-bottom: 8px; }
.modal-price { font-family: var(--font-display); font-size: 20px; color: var(--oea-gold-light); margin-bottom: 18px; display: block; }
.modal-box p.modal-desc { color: var(--oea-text-muted); margin-bottom: 26px; font-size: 14.5px; }
.modal-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ------------------------- Carrousel ------------------------- */
.carousel-section { padding: 100px 0; }
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 auto; width: min(320px, 78vw); scroll-snap-align: start; }
.carousel-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--oea-lagoon-2), var(--oea-black-soft));
  border: 1px solid var(--oea-border);
}
.carousel-media img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption { margin-top: 16px; text-align: center; }
.carousel-caption .cap-title { font-family: var(--font-display); font-size: 18px; color: var(--oea-cream); }
.carousel-caption .cap-sub { font-size: 12px; color: var(--oea-text-muted); margin-top: 4px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 34px; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--oea-border); background: var(--oea-black-soft);
  color: var(--oea-cream); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.carousel-btn:hover { border-color: var(--oea-gold); color: var(--oea-gold-light); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--oea-border); border: none; padding: 0; }
.carousel-dot.active { background: var(--oea-gold); }

/* ------------------------- Footer ------------------------- */
.site-footer { background: var(--oea-black-soft); border-top: 1px solid var(--oea-border); padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo-text { font-size: 24px; }
.footer-brand p { color: var(--oea-text-muted); font-size: 13.5px; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--oea-text-muted); font-weight: 500; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--oea-text); margin-bottom: 12px; }
.footer-col a:hover { color: var(--oea-gold-light); }
.footer-bottom {
  border-top: 1px solid var(--oea-border);
  padding: 22px 32px;
  max-width: var(--container);
  margin: 0 auto;
  font-size: 12px;
  color: var(--oea-text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; padding: 0 0 40px; }
}

/* ------------------------- Pages légales ------------------------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 20px; margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--oea-text-muted); font-size: 14.5px; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }

/* ------------------------- Page hero (sous-pages) ------------------------- */
.page-hero { padding: 70px 0 20px; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 720px; }
.page-hero p.lead { color: var(--oea-text-muted); max-width: 560px; margin-top: 20px; font-size: 15px; }
