/* === VARIABLES & RESET === */
:root {
  --vert-fonce: #162d1f;
  --vert-moyen: #2d5c3e;
  --vert-clair: #4a8c5c;
  --vert-pale: #e6f0e8;
  --creme: #f5f2eb;
  --blanc: #ffffff;
  --or: #c9a84c;
  --texte: #1a1a1a;
  --gris: #6b7c72;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--texte); background: var(--creme); overflow-x: hidden; }

/* === NAV === */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 4rem; display: flex; align-items: center; justify-content: space-between; transition: background 0.4s, box-shadow 0.4s; }
nav.scrolled, nav.solid { background: rgba(22,45,31,0.97); backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo-icon { height: 40px; width: auto; display: block; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.32rem; font-weight: 700; color: var(--creme); letter-spacing: 0.005em; line-height: 1; }
.nav-logo-text em { font-style: normal; color: var(--or); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.03em; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--or); transform: scaleX(0); transition: transform 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--or); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta, .nav-cta.active { background: var(--or) !important; color: var(--vert-fonce) !important; padding: 0.6rem 1.4rem; border-radius: 3px; font-weight: 700 !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #d9b85c !important; color: var(--vert-fonce) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; z-index: 101; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* Mobile nav overlay */
.nav-mobile { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--vert-fonce); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 1.3rem; font-weight: 500; transition: color 0.3s; }
.nav-mobile a:hover { color: var(--or); }
.nav-mobile .nav-cta { background: var(--or); color: var(--vert-fonce) !important; padding: 0.8rem 2.5rem; border-radius: 3px; font-size: 1.1rem; }
.nav-mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.6rem; cursor: pointer; }

/* === BUTTONS === */
.btn-or { background: var(--or); color: var(--vert-fonce); padding: 0.9rem 2rem; border-radius: 3px; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; border: none; cursor: pointer; font-family: inherit; }
.btn-or:hover { background: #d9b85c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-ghost { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.2); padding: 0.9rem 2rem; border-radius: 3px; font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: var(--blanc); }
.btn-dark { display: block; text-align: center; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.15); padding: 0.85rem; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: all 0.3s; }
.btn-dark:hover { background: rgba(255,255,255,0.14); color: var(--blanc); }
.btn-or-block { display: block; text-align: center; background: var(--or); color: var(--vert-fonce); border: none; padding: 0.85rem; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: 0.88rem; transition: all 0.3s; cursor: pointer; font-family: inherit; }
.btn-or-block:hover { background: #d9b85c; }

/* === LAYOUT === */
section { padding: 6rem 4rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--vert-clair); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.7rem; }
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--vert-clair); display: inline-block; flex-shrink: 0; }
.section-tag.gold { color: var(--or); }
.section-tag.gold::before { background: var(--or); }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; color: var(--vert-fonce); margin-bottom: 1.5rem; }
h2 em { font-style: normal; color: var(--vert-clair); }
h2.light { color: var(--blanc); }

/* === PAGE HERO (inner pages) === */
.page-hero { background: var(--vert-fonce); padding: 8rem 4rem 5rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.07); }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 40%, rgba(74,140,92,0.14) 0%, transparent 60%), radial-gradient(ellipse at 15% 90%, rgba(201,168,76,0.06) 0%, transparent 50%); }
.page-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700; color: var(--blanc); line-height: 1.12; margin-bottom: 1rem; }
.page-hero h1 em { font-style: normal; color: var(--or); }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.58); max-width: 500px; line-height: 1.78; }

/* === TÉMOIGNAGES === */
.temoignages-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.temoignage { background: var(--blanc); border-radius: 6px; padding: 2rem; border: 1px solid rgba(22,45,31,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.temoignage:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(22,45,31,0.09); }
.stars { color: var(--or); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.temoignage blockquote { font-size: 0.9rem; color: var(--texte); line-height: 1.78; font-style: italic; margin-bottom: 1.5rem; }
.temoignage-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar { width: 40px; height: 40px; background: var(--vert-fonce); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blanc); font-weight: 700; font-size: 0.88rem; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 0.88rem; color: var(--vert-fonce); }
.author-job { font-size: 0.78rem; color: var(--gris); }

/* === CTA BAND === */
.cta-band { background: var(--or); padding: 5rem 4rem; text-align: center; }
.cta-band h2 { color: var(--vert-fonce); margin-bottom: 1rem; }
.cta-band p { color: rgba(22,45,31,0.65); font-size: 1rem; margin-bottom: 2rem; }
.btn-dark-solid { background: var(--vert-fonce); color: var(--blanc); padding: 0.95rem 2.2rem; border-radius: 3px; font-weight: 700; font-size: 0.92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s; }
.btn-dark-solid:hover { background: var(--vert-moyen); transform: translateY(-2px); }

/* === FOOTER === */
footer { background: #0d1f16; padding: 4rem 4rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 2rem; }
.footer-logo { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; text-decoration: none; }
.footer-logo-icon { height: 34px; width: auto; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: rgba(245,242,235,0.9); line-height: 1; }
.footer-logo-text em { font-style: normal; color: var(--or); }
.footer-tagline { font-size: 0.83rem; color: rgba(255,255,255,0.32); line-height: 1.7; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.83rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--or); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--or); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* === TOAST === */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: var(--vert-moyen); color: white; padding: 1rem 2rem; border-radius: 6px; z-index: 999; font-weight: 600; box-shadow: 0 8px 32px rgba(0,0,0,0.25); display: none; white-space: nowrap; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 4.5rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 4rem 1.5rem; }
  footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
