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

:root{
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --accent: #16a34a;          /* vert premium */
  --accent-2: #86efac;        /* vert clair */
  --accent-soft: rgba(22,163,74,.14);
  --text: #0b1020;
  --muted: #55607a;
  --muted-2: #7a839b;
  --border: rgba(11,16,32,.10);
  --border-2: rgba(11,16,32,.08);
  --shadow: 0 18px 45px rgba(17, 22, 35, .10);
  --shadow-soft: 0 10px 28px rgba(17, 22, 35, .08);
  --radius-xl: 1.4rem;
}

html,body{
  margin:0;
  padding:0;
  font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0, #fbfcff 35%, #f4f7f6 100%);
  color: var(--text);
}

img{ max-width:100%; display:block; }
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 1.5rem; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.74);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.9rem 0;
  gap:1.25rem;
}
.logo{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.9rem;
}
.logo-mark{
  width:26px; height:26px;
  border-radius:.8rem;
  background: radial-gradient(circle at 20% 0, #fff, var(--accent) 46%, #0b4d24 100%);
  box-shadow: 0 0 0 1px rgba(11,16,32,.12), 0 10px 32px rgba(22,163,74,.18);
}

.main-nav{ display:flex; gap:1.15rem; font-size:.9rem; }
.main-nav a{
  color: var(--muted);
  text-decoration:none;
  padding:.25rem 0;
  position:relative;
  white-space: nowrap;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-.25rem;
  width:0;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .22s ease;
}
.main-nav a:hover{ color: var(--text); }
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:.65rem; }
.link-website{
  font-size:.85rem;
  color: var(--muted);
  text-decoration:none;
  padding:.28rem .65rem;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.6);
}
.header-phone{
  font-size:.85rem;
  color: var(--text);
  text-decoration:none;
  padding:.35rem .75rem;
  border-radius:999px;
  background: rgba(22,163,74,.10);
  border:1px solid rgba(22,163,74,.22);
}
.header-phone i{ margin-right:.35rem; }

.header-whatsapp{
  width:36px; height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  color: #1f7a3a;
  text-decoration:none;
}
.header-whatsapp:hover{ box-shadow: var(--shadow-soft); }

.cart-button{
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.65);
  color: var(--text);
  padding:.42rem .7rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  cursor:pointer;
}
.cart-count{
  min-width:18px; height:18px;
  border-radius:999px;
  font-size:.7rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--accent);
  color:#ffffff;
}

/* Buttons */
.btn{
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-size:.9rem;
  padding:.72rem 1.35rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  text-decoration:none;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), #34d399);
  color:#ffffff;
  font-weight:800;
  box-shadow: 0 16px 26px rgba(22,163,74,.18);
}
.btn-secondary{
  background: rgba(255,255,255,.92);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.btn-ghost{
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-full{ width:100%; }

/* Hero */
.hero{ padding:4rem 0 3rem; }
.hero-inner{
  display:grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1.1fr);
  gap:3rem;
  align-items:center;
}
.hero-text h1{
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  line-height:1.06;
  margin:0 0 1rem;
}
.hero-text p{
  color: var(--muted);
  max-width: 36rem;
  font-size: 1rem;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.6rem; }
.hero-benefits{
  list-style:none; padding:0; margin:1.8rem 0 0;
  display:grid; gap:.55rem;
  font-size:.9rem; color: var(--muted);
}
.hero-benefits li{ display:inline-flex; align-items:center; gap:.55rem; }
.hero-benefits i{ color: var(--accent); }

.hero-badges{
  margin-top: 1.4rem;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .75rem;
  border-radius:999px;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.18);
  color: #1c3b2b;
  font-size:.82rem;
}

.hero-image{
  position:relative;
  border-radius:1.6rem;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-2);
}
.hero-image::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at top, rgba(22,163,74,.18), transparent 60%);
  mix-blend-mode: multiply;
}
.hero-image img{ width:100%; height:100%; object-fit:cover; }

/* Sections */
.section{ padding:3.5rem 0; }
.section h2{ font-size:1.8rem; margin-bottom:.55rem; }
.section-intro{ color: var(--muted); max-width:46rem; font-size:.98rem; }

/* About */
.about-inner{
  display:grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap:2.5rem;
  align-items:center;
}
.about-text p{ color: var(--muted); font-size:.98rem; }
.about-text p + p{ margin-top:.6rem; }
.about-stats{
  display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.5rem;
}
.about-stats div{
  border-radius: 1.1rem;
  padding: .75rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  min-width: 10rem;
}
.about-stats span:first-child{ display:block; font-weight:800; font-size:.95rem; }
.about-stats small{ display:block; color: var(--muted-2); font-size:.82rem; }
.about-image{
  border-radius: 1.4rem;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-2);
}

/* Products */
.products-header{ text-align:left; margin-bottom:1.8rem; }
.products-header p{ color: var(--muted); max-width: 44rem; font-size:1rem; }
.products-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card{
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.product-card__image{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:.4rem;
}
.product-icon{
  width:40px; height:40px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--accent-soft);
  color: #1f7a3a;
}
.product-card__badge{
  font-size:.72rem;
  padding:.18rem .55rem;
  border-radius:999px;
  border:1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,.7);
}
.product-card__rating{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.8rem;
  color: var(--muted);
}
.product-card__rating-stars{ letter-spacing:.1em; color:#16a34a; }
.product-card__title{ font-size:1.02rem; margin:.15rem 0 .3rem; }
.product-card__description{ font-size:.95rem; color: var(--muted); }
.product-card__price{ font-size:.92rem; font-weight:700; margin-top:.25rem; color:#152235; }
.product-card__actions{
  margin-top:.9rem;
  display:flex; flex-wrap:wrap;
  gap:.6rem;
}

/* Cards grids */
.applications-grid,
.trust-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.trust-grid{ margin-top: 1.8rem; }

.app-card,
.trust-item{
  background: var(--surface);
  border-radius: 1.2rem;
  padding: 1.1rem 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: .95rem;
}
.app-card i,
.trust-item i{
  font-size: 1.25rem;
  margin-bottom: .6rem;
  color: var(--accent);
}
.app-card h3,
.trust-item h3{
  margin:0 0 .3rem;
  font-size: 1rem;
}
.app-card p,
.trust-item p{
  margin:0;
  color: var(--muted);
}

/* Reviews */
.reviews-header{ display:flex; flex-direction:column; gap:.2rem; }
.reviews-summary{
  margin-top: 1.1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background: rgba(22,163,74,.06);
}
.score{ display:flex; align-items:baseline; gap:.6rem; }
.score-big{ font-size: 2rem; font-weight: 900; color: #0b3b1c; }
.score-meta{ color: var(--muted); font-weight: 600; }

.reviews-grid{
  margin-top: 1.2rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.review-card{
  background: var(--surface);
  border-radius: 1.2rem;
  padding: 1.1rem 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.review-stars{ letter-spacing:.12em; color: var(--accent); font-weight: 900; }
.review-card h3{ margin:.55rem 0 .35rem; font-size: 1rem; }
.review-card p{ margin:0; color: var(--muted); }
.review-author{ margin-top:.75rem; font-size:.85rem; color: var(--muted-2); }

/* Contact */
.contact-inner{
  display:grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  gap: 2rem;
  align-items: stretch;
}
.contact-card{
  background: var(--surface);
  border-radius: 1.6rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-actions{
  margin-top: 1rem;
  display:flex;
  flex-wrap:wrap;
  gap: .7rem;
}
.contact-grid{
  margin-top: 1.2rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1rem;
}
.contact-item{
  padding: .9rem .9rem;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.contact-item h3{ margin:0 0 .35rem; font-size: .98rem; }
.contact-item p{ margin:0; color: var(--muted); }

.contact-note{
  margin-top: 1rem;
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.7rem .9rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(22,163,74,.18);
  background: rgba(22,163,74,.06);
  color: #1c3b2b;
  font-size: .88rem;
}
.contact-visual{
  border-radius: 1.6rem;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-2);
}
.contact-visual img{ width:100%; height:100%; object-fit:cover; }

/* FAQ */
.faq-grid{
  margin-top: 1.2rem;
  display:grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}
.faq-item{
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  padding: 1rem 1rem;
  font-weight: 800;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-answer{
  padding: 0 1rem 1rem;
}
.faq-answer p{ margin:0; color: var(--muted); }

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  padding: 2.6rem 0 1.6rem;
  background: linear-gradient(180deg, #ffffff 0, #f7fbf8 70%, #f1f7f3 100%);
}
.footer-inner{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  font-size: .9rem;
  color: var(--muted);
}
.footer h3,.footer h4{ margin-top:0; margin-bottom:.5rem; color: var(--text); }
.footer a{ color: #0f6d32; text-decoration:none; font-weight: 650; }
.footer-bottom{
  margin-top: 1.5rem;
  text-align:center;
  font-size: .82rem;
  color: #6c7489;
}

/* Cart drawer */
.cart-drawer{
  position: fixed;
  top:0; right:0;
  width: min(380px, 100%);
  height: 100%;
  background: rgba(255,255,255,.98);
  box-shadow: -24px 0 60px rgba(17,22,35,.18);
  transform: translateX(100%);
  transition: transform .28s ease-out;
  z-index: 60;
  display:flex;
  flex-direction:column;
  border-left: 1px solid var(--border);
}
.cart-drawer.is-open{ transform: translateX(0); }
.cart-drawer__header{
  padding: 1rem 1rem .75rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__header h2{ font-size:1rem; margin:0; }
.cart-drawer__close{
  background:none; border:none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor:pointer;
}
.cart-drawer__items{
  flex:1;
  overflow:auto;
  padding: .75rem 1rem 1rem;
}
.cart-item{
  display:flex;
  flex-direction:column;
  padding: .7rem .4rem;
  border-bottom: 1px solid var(--border-2);
  font-size: .9rem;
}
.cart-item-header{
  display:flex;
  justify-content:space-between;
  gap:.35rem;
}
.cart-item-title{ font-weight:800; color: var(--text); }
.cart-item-remove{
  border:none; background:none;
  color: var(--muted);
  font-size:.85rem;
  cursor:pointer;
}
.cart-item-meta{
  display:flex;
  justify-content:space-between;
  color: var(--muted);
  font-size:.85rem;
  margin-top:.2rem;
}
.cart-drawer__footer{
  padding: .9rem 1rem 1rem;
  border-top: 1px solid var(--border);
}
.cart-drawer__total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:.8rem;
  font-size: .95rem;
  font-weight: 800;
}
.cart-drawer__cta{
  display:grid;
  gap: .6rem;
}

/* Robust fade: visible by default */
.fade{ opacity: 1; transform: none; }
.js .fade{
  opacity:0;
  transform: translateY(16px);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.js .fade.is-visible{ opacity:1; transform: translateY(0); }

@media (max-width: 1040px){
  .main-nav{ display:none; }
  .header-inner{ flex-wrap:wrap; }
  .hero-inner,.about-inner,.contact-inner{ grid-template-columns: 1fr; }
  .hero{ padding-top: 3.2rem; }
}
@media (max-width: 640px){
  .header-actions .link-website{ display:none; }
  .reviews-summary{ flex-direction: column; align-items:flex-start; }
}
