/* ════════════════════════════════════════
   BEE Congruence — Design System
   ════════════════════════════════════════ */

:root {
  --orange:      #C85A0A;
  --orange-dark: #A04500;
  --amber:       #E8A020;
  --amber-light: #F5D060;
  --cream:       #F5EFE6;
  --cream-dark:  #EDE4D8;
  --white:       #FFFDF8;
  --brown-dark:  #3D1F00;
  --brown-mid:   #7A4A1E;
  --brown-light: #A0703A;
  --gold:        #F5B800;
  --blue:        #1E5FAD;
  --green:       #5A8A3A;
  --border:      #DDD0B8;
  --shadow:      rgba(61,31,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--brown-dark);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }
h1 em, h2 em { font-style: italic; color: var(--orange); }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
  box-shadow: 0 2px 12px var(--shadow);
}

.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.logo img { height: 40px; }
.logo-fallback { display: none; flex-direction: column; line-height: 1; }
.logo-bee  { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; color: var(--gold); letter-spacing: 2px; }
.logo-cong { font-family: 'Playfair Display', serif; font-style: italic; font-size: 15px; color: var(--blue); }

.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-link {
  text-decoration: none; font-family: 'Nunito', sans-serif; font-size: 15px;
  font-weight: 600; color: var(--brown-dark);
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: white;
  border: 2px solid var(--orange);
  padding: 10px 22px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-dark); border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,90,10,0.3);
}
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  background: transparent; color: var(--orange);
  border: 2px solid var(--orange);
  padding: 10px 22px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-outline:hover { background: rgba(200,90,10,0.06); transform: translateY(-1px); }

.btn-lg { padding: 14px 30px; font-size: 16px; }

.btn-amber {
  background: var(--amber); color: var(--brown-dark);
  border: 2px solid var(--amber);
  padding: 12px 30px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-amber:hover {
  background: #D4900A; border-color: #D4900A;
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,160,32,0.35);
}

.btn-green {
  background: var(--green); color: white;
  border: 2px solid var(--green);
  padding: 12px 28px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-green:hover { background: #447028; transform: translateY(-1px); }

.btn-full { width: 100%; text-align: center; }

/* ── HERO (Home) ── */
.hero {
  display: flex; align-items: center; gap: 60px;
  padding: 80px 80px 60px;
  max-width: 1300px; margin: 0 auto;
}

.hero-left { flex: 1; }

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2; color: var(--brown-dark);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--orange); }

.hero-sub {
  font-size: 18px; color: var(--brown-mid);
  max-width: 520px; margin-bottom: 36px; line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-right { flex: 1; display: flex; justify-content: center; }

.hero-illustration {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; width: 100%; max-width: 480px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 40px var(--shadow);
  overflow: hidden;
}

.hero-bee-svg { width: 200px; height: 200px; animation: float 3s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── PILLARS ── */
.pillars-section {
  padding: 80px 80px 60px; max-width: 1300px; margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif; font-size: 32px;
  color: var(--orange); text-align: center; margin-bottom: 48px;
}

.section-title-italic {
  font-family: 'Playfair Display', serif; font-size: 36px;
  text-align: center; margin-bottom: 16px;
}

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pillar-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(61,31,0,0.12); }

.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(200,90,10,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg { width: 24px; height: 24px; stroke: var(--orange); }

.pillar-card h3 { font-size: 18px; color: var(--brown-dark); margin-bottom: 10px; }
.pillar-card p  { font-size: 15px; color: var(--brown-mid); }

/* ── OFFERS TEASER ── */
.offers-teaser {
  background: var(--cream-dark); padding: 72px 40px;
  text-align: center; margin-top: 40px;
}

.section-sub { font-size: 18px; color: var(--brown-mid); margin-bottom: 36px; }

/* ── PAGE HEADER ── */
.page-header {
  text-align: center; padding: 72px 40px 48px;
}
.page-header h1 { font-size: clamp(32px, 5vw, 52px); color: var(--orange); font-style: italic; margin-bottom: 16px; }
.page-header p  { font-size: 18px; color: var(--brown-mid); max-width: 600px; margin: 0 auto; }

/* ── APPROCHE PAGE ── */
.approche-cards {
  max-width: 900px; margin: 0 auto; padding: 0 40px 80px;
  display: flex; flex-direction: column; gap: 24px;
}

.approche-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 36px 40px;
  box-shadow: 0 4px 20px var(--shadow);
}
.approche-card h3 { font-size: 22px; color: var(--orange); margin-bottom: 14px; }
.approche-card p  { font-size: 16px; color: var(--brown-mid); line-height: 1.8; }

/* ── OFFRES PAGE ── */
.offres-header { text-align: center; padding: 72px 40px 0; }
.offres-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px,5vw,52px); color: var(--orange); margin-bottom: 12px; }
.offres-header p  { font-size: 18px; color: var(--amber); margin-bottom: 56px; }

.offres-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto; padding: 0 40px 48px;
  align-items: start;
}

.offre-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 36px 28px;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.offre-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(61,31,0,0.13); }

.offre-card.featured {
  border: 2px solid var(--amber); margin-top: -20px;
  box-shadow: 0 8px 40px rgba(232,160,32,0.2);
}
.offre-card.reine { border: 2px solid var(--orange); }

.badge-recommande {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--brown-dark);
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px;
  padding: 5px 18px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}

.offre-icon { font-size: 28px; margin-bottom: 12px; display: block; }

.offre-card h3 {
  font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 24px; color: var(--brown-dark); margin-bottom: 4px;
}

.offre-price {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 22px; color: var(--orange); margin-bottom: 24px; display: block;
}

.offre-features { list-style: none; margin-bottom: 32px; }
.offre-features li {
  font-size: 14px; padding: 7px 0;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--brown-dark);
}
.offre-features li:last-child { border-bottom: none; }
.offre-features li .check { color: var(--orange); font-size: 16px; flex-shrink: 0; }
.offre-features li.unavail { color: var(--brown-light); opacity: 0.6; }
.offre-features li.unavail .check { color: #bbb; }

/* ── REINE SECTION ── */
.reine-section {
  max-width: 1100px; margin: 0 auto 80px;
  padding: 0 40px;
}

.reine-box {
  background: linear-gradient(135deg, #F5B800 0%, #E8901A 60%, #C85A0A 100%);
  border: 2px solid var(--orange); border-radius: 20px; padding: 52px 48px;
  color: var(--brown-dark);
}

.reine-box .reine-icon { font-size: 36px; margin-bottom: 16px; display: block; text-align: center; }
.reine-box h2 {
  font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 28px; text-align: center; margin-bottom: 12px;
  color: var(--brown-dark);
}
.reine-box p { text-align: center; font-size: 16px; color: rgba(61,31,0,0.75); margin-bottom: 36px; }

.reine-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.reine-card {
  background: rgba(255,255,255,0.6); border-radius: 12px; padding: 18px 16px;
  backdrop-filter: blur(4px);
}
.reine-card-icon { font-size: 24px; margin-bottom: 8px; display: block; }
.reine-card h4 { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--brown-dark); }
.reine-card p  { font-size: 12.5px; color: rgba(61,31,0,0.7); line-height: 1.5; }

/* ── LOGIN / SIGNUP PAGES ── */
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 64px 20px;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--orange); font-style: normal;
  text-align: center; margin-bottom: 10px;
}
.auth-sub { font-size: 16px; color: var(--amber); text-align: center; margin-bottom: 40px; }

.auth-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 44px 48px;
  width: 100%; max-width: 480px;
  box-shadow: 0 8px 40px var(--shadow);
}

.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--brown-dark); margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}
.input-wrapper svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--brown-light); stroke-width: 1.8;
  fill: none; pointer-events: none;
}
.input-icon {
  width: 100%; padding: 14px 16px 14px 46px;
  border: 1.5px solid var(--border); border-radius: 50px;
  font-family: 'Lora', serif; font-size: 15px; color: var(--brown-dark);
  background: var(--cream); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.input-icon:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}
.input-icon::placeholder { color: var(--brown-light); opacity: 0.6; }

.input-eye {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--brown-light); transition: color 0.2s;
}
.input-eye:hover { color: var(--orange); }
.input-eye svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; }

.password-strength { margin-top: 8px; }
.strength-bar {
  height: 6px; background: var(--cream-dark); border-radius: 3px; overflow: hidden; margin-bottom: 4px;
}
.strength-fill { height: 100%; border-radius: 3px; width: 33%; background: var(--green); transition: width 0.3s; }
.strength-label { font-family: 'Nunito', sans-serif; font-size: 12px; color: var(--brown-light); }

.forgot-link {
  display: block; text-align: right;
  font-family: 'Nunito', sans-serif; font-size: 13px;
  color: var(--orange); text-decoration: none; margin-top: -10px; margin-bottom: 8px;
}
.forgot-link:hover { text-decoration: underline; }

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--brown-light);
  font-family: 'Nunito', sans-serif; font-size: 13px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn-google {
  width: 100%; padding: 13px; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Nunito', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--brown-dark); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-google:hover { background: var(--cream); border-color: var(--brown-light); }

.auth-footer {
  text-align: center; margin-top: 20px;
  font-family: 'Nunito', sans-serif; font-size: 14px; color: var(--brown-mid);
}
.auth-footer a { color: var(--orange); font-weight: 700; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

.auth-legal {
  max-width: 480px; text-align: center; margin-top: 20px;
  font-family: 'Nunito', sans-serif; font-size: 12px; color: var(--brown-light);
  line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
  background: var(--brown-dark); color: rgba(255,255,255,0.7);
  padding: 36px 80px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo .logo-bee  { color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; }
.footer-logo .logo-cong { color: #8AAAD4; font-family: 'Playfair Display', serif; font-style: italic; font-size: 15px; margin-left: 4px; }
.footer-tagline { font-family: 'Nunito', sans-serif; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; color: rgba(255,255,255,0.4); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-family: 'Nunito', sans-serif; font-size: 13px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }

/* ── PAGE TRANSITIONS ── */
main, section, .page-header { animation: fadeUp 0.5s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .hero { flex-direction: column; padding: 48px 24px; gap: 40px; }
  .hero-right { width: 100%; }
  .pillars-section, .approche-cards { padding: 48px 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .offres-grid { grid-template-columns: 1fr; }
  .reine-cards { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 32px 24px; }
}
