/* ============================================================
   COPILOTE — styles.css
   Charte : vert #0E3A2C · or #CBA45C · Cormorant Garamond + Poppins
   ============================================================ */

:root {
  --green: #0E3A2C;
  --green-dark: #0A2B21;
  --green-light: #E7EFEB;
  --gold: #CBA45C;
  --gold-dark: #B08638;
  --gold-light: #F5ECD8;
  --pale: #CFE0D8;
  --ink: #1F2933;
  --muted: #5B6776;
  --cream: #FAF8F4;
  --light: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(14, 58, 44, .08);
  --shadow-lift: 0 18px 50px rgba(14, 58, 44, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.15; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ============ BOUTONS ============ */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--green-dark); box-shadow: 0 6px 24px rgba(203,164,92,.35); }
.btn-gold:hover { background: #D9B66E; box-shadow: 0 10px 30px rgba(203,164,92,.45); }
.btn-ghost { background: transparent; color: var(--pale); border: 1.5px solid rgba(207,224,216,.5); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-large { padding: 17px 38px; font-size: 16px; }

/* ============ EYEBROW / TITRES ============ */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--gold-dark); }

h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 600;
  color: var(--green);
  margin-bottom: 22px;
  max-width: 800px;
}
.h2-light { color: #fff; }
.section-intro { max-width: 640px; color: var(--muted); margin-bottom: 48px; font-size: 16.5px; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,58,44,0);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(10,43,33,.96); backdrop-filter: blur(10px); box-shadow: 0 2px 24px rgba(0,0,0,.25); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 36px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 21px; letter-spacing: .26em;
  color: var(--gold); text-decoration: none;
}
.logo-star { width: 30px; height: 30px; color: var(--gold); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  color: var(--pale); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--gold); }
.btn-nav { padding: 10px 22px; font-size: 14px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  background: var(--green-dark); padding: 12px 24px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--pale); text-decoration: none; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(207,224,216,.12); }
.nav-mobile a:last-child { border: none; margin-top: 12px; text-align: center; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(203,164,92,.10), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(203,164,92,.07), transparent 60%),
    var(--green);
  display: flex; align-items: center;
  padding: 130px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .8;
}
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.hero-star { width: 130px; height: 130px; margin-bottom: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .star-path {
    stroke-dasharray: 600; stroke-dashoffset: 600;
    animation: drawStar 2.2s ease forwards .2s;
  }
  .star-path-2 { animation-delay: .7s; animation-duration: 1.8s; }
  .star-ring { transform-origin: center; animation: slowSpin 60s linear infinite; }
  .star-ring-2 { animation-direction: reverse; animation-duration: 45s; }
}
@keyframes drawStar { to { stroke-dashoffset: 0; } }
@keyframes slowSpin { to { transform: rotate(360deg); } }

.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 26px;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(16px, 2vw, 18.5px);
  color: var(--pale);
  max-width: 640px;
  margin: 0 auto 38px;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 13.5px; color: rgba(207,224,216,.65); }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-light { background: var(--light); }
.section-green {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(203,164,92,.08), transparent 60%),
    var(--green);
  color: var(--pale);
}
.section-green .eyebrow { color: var(--gold); }

/* ============ LE CONSTAT ============ */
.constat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin: 50px 0 56px;
}
.constat-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.constat-card h3 {
  font-size: 21.5px; font-weight: 600; color: var(--green);
  margin-bottom: 14px; font-style: italic;
}
.constat-card p { font-size: 15px; color: var(--muted); }
.constat-pivot {
  text-align: center; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(21px, 2.8vw, 27px); color: var(--green); line-height: 1.5;
}
.constat-pivot strong { color: var(--gold-dark); font-weight: 700; }

/* ============ OFFRES ============ */
.offers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin-bottom: 70px;
  align-items: stretch;
}
.offer-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 3px solid var(--gold);
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.offer-featured {
  background: var(--green);
  color: var(--pale);
  border: 2px solid var(--gold);
  border-top-width: 3px;
}
.offer-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--green-dark);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.offer-head { margin-bottom: 24px; }
.offer-card h3 { font-size: 28px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.offer-featured h3 { color: #fff; }
.offer-tagline { font-size: 13.5px; color: var(--muted); font-style: italic; margin-bottom: 18px; }
.offer-featured .offer-tagline { color: var(--pale); }
.offer-price { font-size: 38px; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--gold-dark); }
.offer-featured .offer-price { color: var(--gold); }
.offer-price span { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.offer-featured .offer-price span { color: var(--pale); }
.offer-card ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.offer-card li {
  padding: 9px 0 9px 26px; position: relative;
  font-size: 14.5px; border-bottom: 1px solid rgba(14,58,44,.07);
}
.offer-featured li { border-bottom-color: rgba(207,224,216,.14); }
.offer-card li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.offer-card .btn { align-self: stretch; text-align: center; }

.missions-title {
  font-size: 25px; font-weight: 600; color: var(--green);
  margin-bottom: 26px; text-align: center;
}
.missions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 940px; margin: 0 auto; }
.mission-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 30px 32px;
  border-left: 4px solid var(--gold);
}
.mission-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.mission-card h4 { font-size: 22px; font-weight: 700; color: var(--green); }
.mission-price { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: var(--gold-dark); white-space: nowrap; }
.mission-card p { font-size: 14.5px; color: var(--ink); }
.offers-note { text-align: center; margin-top: 44px; font-size: 13px; color: var(--muted); }

/* ============ MÉTHODE ============ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin: 56px 0 44px;
  position: relative;
}
.steps::before {
  content: ''; position: absolute; top: 27px; left: 8%; right: 8%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(203,164,92,.55), rgba(203,164,92,.55), transparent);
}
.step { text-align: left; position: relative; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--green-dark); border: 2px solid var(--gold);
  color: var(--gold); font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.step h3 { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--pale); font-weight: 300; }
.methode-note {
  text-align: center; font-size: 14px; color: rgba(207,224,216,.75);
  font-style: italic; max-width: 620px; margin: 0 auto;
}

/* ============ POURQUOI ============ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px;
}
.why-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.why-card h3 { font-size: 23px; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ============ CONTACT ============ */
.section-contact { text-align: center; }
.contact-star { width: 64px; height: 64px; margin-bottom: 24px; }
.contact-sub { color: var(--pale); max-width: 540px; margin: 0 auto 44px; font-weight: 300; }
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(203,164,92,.25);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--gold); margin-bottom: 8px; letter-spacing: .03em;
}
.label-optional { color: rgba(207,224,216,.55); font-weight: 300; }
.form-field select {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(207,224,216,.25);
  border-radius: 8px;
  padding: 13px 44px 13px 16px;
  font-family: 'Poppins', sans-serif; font-size: 15px;
  color: #fff;
  appearance: none; -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="9" viewBox="0 0 14 9"><path d="M1 1l6 6 6-6" fill="none" stroke="%23CBA45C" stroke-width="2" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.form-field select:focus { outline: none; border-color: var(--gold); }
.form-field select option { background: var(--green-dark); color: #fff; }

.form-field input, .form-field textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(207,224,216,.25);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Poppins', sans-serif; font-size: 15px;
  color: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(207,224,216,.45); }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.1);
}
.contact-form .btn-large { width: 100%; margin-top: 6px; }
.form-alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: rgba(207,224,216,.7); }
.form-alt a { color: var(--gold); }

/* ============ FOOTER ============ */
.footer { background: var(--green-dark); color: var(--pale); padding: 48px 0 28px; border-top: 3px solid var(--gold); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; padding-bottom: 30px;
  border-bottom: 1px solid rgba(207,224,216,.12);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .logo-star { width: 38px; height: 38px; }
.footer-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 19px; letter-spacing: .24em; color: var(--gold); }
.footer-tag { font-size: 12.5px; color: rgba(207,224,216,.6); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--pale); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { padding-top: 22px; }
.footer-legal p { font-size: 11.5px; color: rgba(207,224,216,.45); line-height: 1.6; }

/* ============ PAGES LÉGALES ============ */
.legal-page { padding: 150px 0 90px; background: var(--cream); min-height: 100vh; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); color: var(--green); font-weight: 600; margin-bottom: 8px; }
.legal-sub { color: var(--gold-dark); font-style: italic; margin-bottom: 44px; font-family: 'Cormorant Garamond', serif; font-size: 19px; }
.legal-page h2 { font-size: 24px; margin: 38px 0 12px; padding-bottom: 6px; border-bottom: 1.5px solid var(--gold); max-width: none; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--ink); }
.legal-page ul { padding-left: 22px; margin: 10px 0; }
.legal-placeholder { background: #FFF3B8; padding: 1px 5px; border-radius: 3px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .constat-grid, .offers-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 26px; }
  .steps::before { display: none; }
  .offer-featured { order: -1; grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav { background: rgba(10,43,33,.96); }
  .nav-inner { padding: 14px 20px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .constat-grid, .offers-grid, .why-grid, .missions-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .offer-featured { order: 0; grid-column: auto; }
  .offers-grid { gap: 34px; }
  .hero { padding: 110px 20px 64px; min-height: auto; }
  .hero-star { width: 96px; height: 96px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .hero-sub { font-size: 15.5px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  h2 { font-size: clamp(26px, 7vw, 32px); }
  .constat-card, .why-card { padding: 26px 22px; }
  .offer-card { padding: 32px 24px; }
  .mission-card { padding: 24px 22px; }
  .mission-head { flex-direction: column; gap: 2px; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; }
  .step-num { margin-bottom: 0; grid-row: span 2; }
  .step h3 { font-size: 20px; align-self: center; }
  .step p { grid-column: 2; }
  .constat-pivot { font-size: 19px; }
  .contact-form { padding: 28px 20px; }
  .contact-star { width: 52px; height: 52px; }
  .btn-large { padding: 15px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 18px; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .hero h1 { font-size: 27px; }
  .offer-price { font-size: 32px; }
  .nav-logo span { font-size: 17px; letter-spacing: .18em; }
}
