@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Reset du thème parent, confiné dans une cascade layer : ses règles ne peuvent
   plus l'emporter sur le CSS du site quelle que soit leur spécificité. Il colore
   sinon en rose (#c36) le texte et la bordure de tout <a>, <button>,
   [type=button] et [type=submit], plus un fond rose au :hover/:focus — via des
   sélecteurs en (0,2,0) qu'un « button:hover » ne bat pas. Le normalize reste
   actif partout où rien ne le contredit.
   Chargement natif désactivé dans functions.php (hello_elementor_enqueue_style). */
@import url('../../hello-elementor/assets/css/reset.css') layer(hello-reset);

:root {
  --navy: oklch(28% 0.08 252);
  --navy-mid: oklch(36% 0.09 252);
  --navy-light: oklch(92% 0.025 252);
  --green: oklch(45% 0.10 152);
  --green-light: oklch(92% 0.04 152);
  --white: oklch(99% 0.004 252);
  --gray-50: oklch(97% 0.006 252);
  --gray-100: oklch(94% 0.008 252);
  --gray-200: oklch(88% 0.01 252);
  --gray-400: oklch(68% 0.01 252);
  --gray-600: oklch(48% 0.01 252);
  --gray-800: oklch(28% 0.01 252);
  --text: oklch(18% 0.03 252);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px oklch(0% 0 0 / 0.08), 0 1px 2px oklch(0% 0 0 / 0.06);
  --shadow: 0 4px 16px oklch(0% 0 0 / 0.08), 0 2px 6px oklch(0% 0 0 / 0.05);
  --shadow-lg: 0 16px 48px oklch(0% 0 0 / 0.12), 0 4px 16px oklch(0% 0 0 / 0.06);
}

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

/* Responsive safety net: no image/media ever forces horizontal overflow */
img, svg, video, canvas { max-width: 100%; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: oklch(99% 0.004 252 / 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  font-size: 18px; font-weight: 800; color: var(--navy);
  text-decoration: none; letter-spacing: -0.5px; white-space: nowrap;
}
.nav-logo span { color: var(--green); }
.nav-links {
  display: flex; gap: 28px; align-items: center; flex: 1;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-ctas { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap;
}
.btn-primary {
  background: var(--navy); color: var(--white);
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy-light); }
.btn-green {
  background: var(--green); color: white;
}
.btn-green:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }

/* Cart badge */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--green); color: white;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-badge.show { display: flex; }

/* SECTION UTILITIES */
section { padding: 96px 24px; }
.container { max-width: 1400px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: var(--navy); line-height: 1.15; letter-spacing: -1px;
  text-wrap: pretty;
}
.section-sub {
  font-size: 18px; color: var(--gray-600); line-height: 1.7;
  max-width: 620px; text-wrap: pretty; margin-top: 16px;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* FOOTER */
.site-footer {
  background: var(--navy); color: var(--white);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo { font-size: 20px; font-weight: 800; color: white; letter-spacing: -0.5px; }
.footer-logo span { color: var(--green); }
.footer-tagline { font-size: 14px; color: oklch(80% 0.02 252); margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: oklch(70% 0.03 152); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: oklch(80% 0.02 252); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid oklch(40% 0.05 252); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: oklch(60% 0.02 252); }

/* HAMBURGER */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 16px 24px; flex-direction: column; gap: 16px; z-index: 99; box-shadow: var(--shadow); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 16px; font-weight: 500; color: var(--navy); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 64px 20px; }
}
