/* =========================
   1. Variables & base
   ========================= */
:root {
  --bg: #f7f3ee;
  --bg-soft: #fbf7f2;
  --accent: #f2c9a7;
  --accent-soft: #ffe5cc;
  --text: #2f2722;
  --muted: #7c6a5f;
  --white: #ffffff;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.08);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

body {
  font-family: var(--roboto);
  background: radial-gradient(circle at top, #f0fbff85 0, var(--bg) 55%, #f0e6ddb0 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================
   2. Layout global
   ========================= */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* =========================
   3. Header & navigation
   ========================= */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 230px;
  object-fit: contain;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f7b7b7);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background:linear-gradient(135deg, #b49c8f);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  background: #b49c8f;
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #333;
  margin: 4px 0;
}

/* =========================
   4. Hero
   ========================= */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #c7b6ac;
}

.hero-title span {
  background: linear-gradient(120deg, #ecd6cb);
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 22px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  border-color: #f2ded4;
  font-size: 0.8rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 23px;
}

.btn-primary {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #b49c8f, #e7d9d2);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn-primary span {
  font-size: 1.1rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #b49c8f, #e7d9d2);
}

.btn-secondary {
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,0,0,0.08);
  border-color: #f2ded4;
  background: rgba(255,255,255,0.9);
  color: #7c6a5f;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.12s ease-out, box-shadow 0.12s ease-out, transform 0.12s ease-out;
}

.btn-secondary:hover {
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-note strong {
  font-weight: 600;
}

.hero-visual {
  position: relative;
  padding: 18px;
}

.hero-card {
  background: #ebd9d921;
  border-radius: 40px;
  padding: 26px 22px;
  width: 100%;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.hero-card-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.1);

}

.hero-card-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #b49c8f;
  color: #fff;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.1);
}

.hero-card-badge span {
  font-size: 0.9rem;
}

.hero-product-img {
  width: 300px;
  max-width: 100%;
  display: block;
  margin: 0 auto 20px;
}

.hero-card .hero-product-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px; /* important */
}

/* Image du produit + animation */
.hero-card .hero-product-img {
  width: 260px;
  opacity: 0;
  animation: fadeFloat 2.2s ease-out forwards;
  z-index: 2;
}

/* Animation apparition + flottement */
@keyframes fadeFloat {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glow {
  0% { opacity: 0; transform: translateX(-50%) scale(0.8); }
  100% { opacity: 0.45; transform: translateX(-50%) scale(1); }
}


.hero-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

.hero-card-footer strong {
  font-size: 0.9rem;
}

.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.hero-mini-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 0.8rem;
}

/* =========================
   5. Sections génériques
   ========================= */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.section-header {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: #7c6a5f;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Effet d’apparition (lié au JS) */
.hero,
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.hero.visible,
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   6. Grilles & cartes
   ========================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 18px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================
   7. Produit
   ========================= */

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.product-card {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.03);
}

.product-tag {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #7c6a5f;

}

.product-baseline {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-color: #f2ded4;
  font-size: 0.78rem;
  color: var(--muted);
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.product-specs strong {
  display: block;
  color:#7c6a5f;
  margin-bottom: 2px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 600;
    color: #7c6a5f;

}

.product-size {
  font-size: 0.85rem;
  color: var(--muted);
}

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.product-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.product-visual {
  position: relative;
  padding: 18px;
}

.product-visual-inner {
  border-radius: 40px;
  background: radial-gradient(circle at 20% 0, #fff, #ffe7d4);
  padding: 26px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.product-visual-inner::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #f7cbb0);
  bottom: -120px;
  left: -40px;
  opacity: 0.9;
}

.product-visual-bottle {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 200px;
  height: 280px;
  border-radius: 140px;
  background: linear-gradient(145deg, #f7eee6, #f0dfcf);
  box-shadow: 0 26px 60px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-visual-bottle-inner {
  width: 72%;
  height: 72%;
  border-radius: 70px;
  background: radial-gradient(circle at 30% 20%, #fff, #f7e4d4);
  position: relative;
}

.product-visual-bottle-inner::before,
.product-visual-bottle-inner::after {
  content: "";
  position: absolute;
  background: #fbeee1;
  border-radius: 999px;
}

.product-visual-bottle-inner::before {
  width: 90px;
  height: 44px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.product-visual-bottle-inner::after {
  width: 46px;
  height: 46px;
  bottom: 24px;
  left: 24%;
}

.product-visual-cap {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #fbe7d6);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.product-visual-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  color: var(--muted);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* =========================
   8. Engagements, routine, témoignages, FAQ
   ========================= */

.eco-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.eco-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.eco-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 0.8rem;
  color: var(--muted);
}

.eco-list {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.eco-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.eco-list span {
  margin-top: 4px;
  font-size: 0.9rem;
}

.eco-card {
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 18px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.03);
  font-size: 0.85rem;
  margin-bottom: 32px; /* espace avec les testimonials */
  color: var(--muted);
  width: 100%;
}

.eco-card strong {
  display: block;
  color: #3b2f28;
  margin-bottom: 4px;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.routine-step {
  background: rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 16px 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.03);
  font-size: 0.9rem;
  color: var(--muted);
}

.routine-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #3b2f28;
  margin-bottom: 9px;
}

.routine-step strong {
  display: block;
  color: #3b2f28;
  margin-bottom: 4px;
}

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

.testimonial-card {
  background: rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 18px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.03);
  font-size: 0.9rem;
  color: var(--muted);

}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 8px;
}

.testimonial-author {
  font-size: 0.85rem;
  color: #3b2f28;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item strong {
  display: block;
  color: #3b2f28;
  margin-bottom: 4px;
}

/* =========================
   9. CTA & formulaire
   ========================= */

.cta-section {
  max-width: 1120px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.cta-banner {
  border-radius: 32px;
  background: linear-gradient(135deg, #b69191, #d0baac);
  color: #fff;
  padding: 28px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.cta-banner-text {
  max-width: 420px;
}

.cta-banner h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.cta-banner p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
}

.cta-form-row input[type="email"] {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  border: none;
  min-width: 220px;
  font-size: 0.9rem;
  outline: none;
}

.cta-consent {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
}

.cta-consent label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.cta-consent input[type="checkbox"] {
  margin-top: 2px;
}

.cta-consent small {
  opacity: 0.8;
}

.cta-message {
  font-size: 0.85rem;
  margin-top: 4px;
}

/* =========================
   10. Footer
   ========================= */

footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  background: #f3ece5;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================
   11. Responsive
   ========================= */

@media (max-width: 900px) {
  .hero,
  .product-section,
  .eco-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 26px;
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .routine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   MOBILE PIXEL-PERFECT
   ========================= */

@media (max-width: 720px) {

  /* Layout général */
  body {
    padding: 0;
  }

  .section {
    padding: 0 16px 48px;
  }

  .section-title {
    font-size: 1.35rem;
    text-align: center;
  }

  .section-subtitle {
    text-align: center;
    margin: 0 auto;
  }

  /* HERO */
  .hero {
    padding: 32px 16px 48px;
    gap: 28px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.15;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 auto 20px;
  }

  .hero-highlights {
    justify-content: center;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-note {
    text-align: center;
  }

  /* CARTES */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px 18px;
  }

  /* PRODUIT */
  .product-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-badges {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }

  .product-badge {
    display: inline-block;
  }

  .product-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-cta-row {
    flex-direction: column;
  }

  .product-cta-row .btn-primary,
  .product-cta-row .btn-secondary {
    width: 100%;
  }

  /* ENGAGEMENTS */
  .eco-grid {
    grid-template-columns: 1fr;
  }

  /* ROUTINE */
  .routine-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* CTA FINAL */
  .cta-banner {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-text {
    width: 100%;
  }

  .cta-form-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-form-row input[type="email"] {
    width: 100%;
  }

  .btn-primary {
    width: 100%;
  }

  .cta-consent {
    margin-top: 8px;
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-card,
  .product-visual-inner {
    border-radius: 24px;
  }

  .hero-bottle,
  .product-visual-bottle {
    width: 150px;
    height: 210px;
  }

  .cta-banner {
    padding: 16px 14px;
  }
}
