:root {
  --vert-foret: #2F5E44;
  --vert-fonce: #1F3D30;
  --vert-profond: #152A22;
  --vert-sauge: #4A7C62;
  --or: #C4A574;
  --or-clair: #D9BC8C;
  --or-fonce: #A88B4A;
  --creme: #F5F0E6;
  --creme-clair: #FAF7F0;
  --creme-fonce: #E8E0D0;
  --blanc: #FFFFFF;
  --texte: #1E3D30;
  --texte-leger: #4A6054;
  --texte-discret: #8A988E;
  --shadow: 0 8px 32px rgba(47, 94, 68, 0.12);
  --shadow-lg: 0 20px 60px rgba(47, 94, 68, 0.18);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--texte);
  background: var(--creme-clair);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: -0.5px;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; }

em { font-style: italic; color: var(--or-fonce); font-weight: 500; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or-fonce);
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(196, 165, 116, 0.14);
  border: 1px solid rgba(196, 165, 116, 0.45);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or-fonce);
  font-weight: 600;
  margin-bottom: 24px;
  border-radius: 999px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--texte-leger);
  font-weight: 300;
  line-height: 1.65;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--creme-fonce);
  padding: 14px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  width: 3px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--or) 0%, var(--vert-foret) 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--vert-foret);
  white-space: nowrap;
}

.brand-method {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--or-fonce);
  font-weight: 600;
}

.brand-role {
  font-size: 11px;
  color: var(--texte-discret);
  font-weight: 400;
}

/* Logo complet réservé au hero — trop détaillé pour la barre du haut */
.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar-cta {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--vert-foret);
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid var(--vert-foret);
  border-radius: var(--radius);
  transition: all 0.25s;
  white-space: nowrap;
}

.topbar-cta:hover {
  background: var(--vert-foret);
  color: var(--creme);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: all 0.25s;
}

.btn-primary {
  background: var(--vert-foret);
  color: var(--creme);
}

.btn-primary:hover {
  background: var(--vert-fonce);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-or {
  background: var(--or);
  color: var(--vert-fonce);
}

.btn-or:hover {
  background: var(--or-fonce);
  color: var(--creme);
}

/* Email form */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

.signup-form.inline {
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 560px;
}

.signup-form.inline input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
}

.signup-form.inline .btn {
  flex: 0 0 auto;
}

.signup-form input[type="email"],
.signup-form input[type="text"] {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--creme-fonce);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: var(--blanc);
  color: var(--texte);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.2);
}

.signup-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--texte-leger);
  line-height: 1.5;
  cursor: pointer;
}

.signup-form .consent input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.signup-note {
  font-size: 12px;
  color: var(--texte-discret);
  margin-top: 4px;
}

.signup-card {
  background: var(--blanc);
  border: 1px solid var(--creme-fonce);
  border-left: 4px solid var(--or);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.signup-card h3 {
  color: var(--vert-foret);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.signup-card p {
  color: var(--texte-leger);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.form-error {
  color: #9b3b3b;
  font-size: 13px;
  display: none;
}

.form-error.visible { display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 15% 20%, rgba(196, 165, 116, 0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(47, 94, 68, 0.08), transparent 50%),
    var(--creme-clair);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { color: var(--vert-foret); margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; max-width: 520px; }

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--creme-fonce);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--vert-foret);
  font-weight: 500;
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texte-discret);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo-wrap {
  width: min(300px, 75vw);
  border-radius: 14px;
  border: 3px solid var(--or);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  flex-shrink: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
section { padding: 88px 0; }

.section-creme { background: var(--creme); }
.section-dark {
  background: var(--vert-foret);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 164, 68, 0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(212, 164, 68, 0.08), transparent 50%);
  pointer-events: none;
}

.section-dark > .container { position: relative; z-index: 1; }
.section-dark em { color: var(--or-clair); }
.section-dark .eyebrow { color: var(--or-clair); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 { color: var(--vert-foret); margin-bottom: 16px; }
.section-dark .section-header h2 { color: var(--creme); }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.benefit {
  background: var(--blanc);
  border: 1px solid var(--creme-fonce);
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--or);
  margin-bottom: 12px;
}

.benefit h3 {
  font-size: 1.1rem;
  color: var(--vert-foret);
  margin-bottom: 8px;
}

.benefit p {
  font-size: 0.92rem;
  color: var(--texte-leger);
}

/* RACINES letters */
.racines-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.racines-letter {
  width: 52px;
  height: 52px;
  background: var(--vert-fonce);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--or);
  border-radius: var(--radius);
}

/* Quote */
.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.quote-block h2 {
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
  margin-bottom: 20px;
}

.quote-block .author {
  font-size: 13px;
  letter-spacing: 2px;
  opacity: 0.85;
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .profile-grid { grid-template-columns: auto 1fr; }
}

.medallion {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--or);
  flex-shrink: 0;
  background: var(--vert-foret);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--or);
  margin: 0 auto;
}

.author-photo-wrap {
  flex-shrink: 0;
  align-self: center;
  border-radius: 14px;
  border: 3px solid var(--or);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  max-width: 190px;
}

.author-photo {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.profile-grid h2 { color: var(--vert-foret); margin-bottom: 12px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  padding: 6px 12px;
  background: var(--creme-clair);
  border: 1px solid var(--creme-fonce);
  font-size: 11px;
  color: var(--texte-leger);
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 88px 0;
  background: var(--vert-profond);
  color: var(--creme);
}

.cta-band h2 { color: var(--creme); margin-bottom: 16px; }
.cta-band .lead { color: rgba(245, 240, 230, 0.85); margin: 0 auto 32px; max-width: 560px; }

.cta-band .signup-form {
  margin: 0 auto;
  max-width: 480px;
}

.cta-band .signup-form input {
  background: rgba(255, 255, 255, 0.95);
}

.cta-band .signup-note { color: rgba(245, 240, 230, 0.6); }

/* Footer */
.footer {
  background: var(--vert-profond);
  color: var(--creme);
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.8;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
}

.footer a {
  color: var(--or-clair);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

/* Thank you page */
.thankyou {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.thankyou-box {
  text-align: center;
  max-width: 560px;
  background: var(--blanc);
  padding: 56px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--creme-fonce);
  box-shadow: var(--shadow-lg);
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: var(--vert-foret);
  color: var(--or);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.thankyou-box h1 { font-size: 2rem; color: var(--vert-foret); margin-bottom: 16px; }

.ornament {
  text-align: center;
  color: var(--or);
  letter-spacing: 8px;
  margin-bottom: 20px;
}

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

@media (max-width: 600px) {
  .signup-form.inline {
    flex-direction: column;
  }

  .signup-form.inline .btn {
    width: 100%;
  }
}
