/* =====================================================
   EASY BIO SANTÉ — PAGE PRINCIPALE
   Palette : Vert Sauge · Rose Poudré · Or · Blanc Crème
   ===================================================== */

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

/* ---- Variables globales ---- */
:root {
  --bg:            #faf7f0;
  --surface:       #f5f2ea;
  --surface-2:     #eef4ee;
  --white:         #ffffff;
  --title:         #1a2e1a;
  --text:          #4a5568;
  --text-light:    #718096;
  --green-dark:    #1a5c38;
  --green-main:    #2e8b57;
  --green-light:   #4caf7d;
  --sage:          #7a9e7e;
  --rose:          #e8c5c5;
  --rose-dark:     #d4a0a0;
  --gold:          #c9a84c;
  --gold-light:    #f0d080;
  --border:        #e2e8e0;
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
  --shadow:        0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.13);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --font-title:    'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --container:     1240px;
  --wa:            #25d366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Utilitaires ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow { max-width: 760px; margin: 0 auto; }

.section { padding: 96px 0; }
.section-surface   { background: var(--surface); }
.section-surface-2 { background: var(--surface-2); }
.section-dark      { background: var(--green-dark); }

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

/* Scroll-reveal */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ---- Typographie ---- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-title);
  color: var(--title);
  line-height: 1.2;
}

h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.0625rem; color: var(--text); max-width: 620px; margin: 0 auto; }

.divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-main), var(--sage));
  border-radius: 2px;
  margin: 20px auto;
}

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green-main);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,139,87,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 24px rgba(46,139,87,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-main);
}
.btn-outline:hover {
  background: var(--green-main);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-wa:hover {
  background: #1da851;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

.btn-lg { padding: 16px 34px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; border-radius: 8px; }

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announcement-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1001;
}

.announcement-bar a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.announcement-bar a:hover { color: #fff; text-decoration: underline; }

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 36px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child { border-right: none; }

.trust-item__icon { font-size: 1.5rem; flex-shrink: 0; }

.trust-item__text strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--title);
}

.trust-item__text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* =====================================================
   CONCEPT IN & OUT
   ===================================================== */
.concept-intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.concept-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.concept-card {
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}

.concept-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.06;
  background: currentColor;
}

.concept-card--in {
  background: var(--green-dark);
  color: #fff;
}

.concept-card--out {
  background: linear-gradient(135deg, #fef9f0 0%, #fdf3e3 100%);
  border: 1px solid rgba(201,168,76,0.2);
}

.concept-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.concept-card__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.concept-card--in .concept-card__tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.concept-card--out .concept-card__tag {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

.concept-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.concept-card--in h3  { color: #fff; }
.concept-card--out h3 { color: var(--title); }

.concept-card p {
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.concept-card--in p  { color: rgba(255,255,255,0.8); }
.concept-card--out p { color: var(--text); }

.concept-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.concept-card ul li {
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.concept-card ul li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.concept-card--in ul li         { color: rgba(255,255,255,0.85); }
.concept-card--in ul li::before { color: var(--gold-light); }
.concept-card--out ul li         { color: var(--text); }
.concept-card--out ul li::before { color: var(--green-main); }

/* =====================================================
   OBJECTIFS
   ===================================================== */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.objective-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.objective-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-main), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.objective-card:hover::after { transform: scaleX(1); }

.objective-card__emoji { font-size: 2.2rem; }

.objective-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
}

.objective-card p {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}

.objective-card__arrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-main);
  margin-top: 4px;
  transition: gap 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.objective-card:hover .objective-card__arrow { gap: 8px; }

/* =====================================================
   PRODUITS VEDETTES
   ===================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__badge-area {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
}

.badge-in          { background: var(--green-dark); color: #fff; }
.badge-out         { background: var(--gold); color: #fff; }
.badge-new         { background: var(--rose-dark); color: #fff; }
.badge-obligatoire { background: #ef4444; color: #fff; }

.product-card__body {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__name {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--title);
  display: block;
  line-height: 1.35;
}

.product-card__tagline {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}

.product-card__cure {
  font-size: 0.72rem;
  color: var(--text-light);
  font-style: italic;
  display: block;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.product-card__footer {
  padding: 12px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__price {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
}

.product-card__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--wa);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.product-card__wa-btn:hover {
  background: #1da851;
  transform: scale(1.04);
}

/* =====================================================
   DR TRACY
   ===================================================== */
.doctor-section {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}

.doctor-image-wrap {
  position: relative;
}

.doctor-image-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.doctor-credentials {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.doctor-credentials p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text);
}

.doctor-credentials .school {
  color: var(--green-dark);
  font-family: var(--font-title);
}

.doctor-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 24px;
}

.doctor-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text);
}

.doctor-text p em { color: var(--green-main); font-style: normal; font-weight: 600; }

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.doctor-stat__number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.doctor-stat__label {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.22s, transform 0.22s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
  position: relative;
}

.testimonial-card__text::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--green-light);
  opacity: 0.3;
  position: absolute;
  top: -16px;
  left: -8px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar { font-size: 2rem; }

.testimonial-card__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--title);
}

.testimonial-card__meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* =====================================================
   BOUTIQUES
   ===================================================== */
.boutiques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.boutique-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}

.boutique-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.boutique-card__city {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.boutique-card__city::before { content: '📍'; font-size: 1.5rem; }

.boutique-card__info p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text);
}

.boutique-card__info a {
  color: var(--green-main);
  font-weight: 600;
  text-decoration: none;
}

/* CTA final block */
.cta-block {
  background: linear-gradient(135deg, var(--green-dark) 0%, #014D40 100%);
  border-radius: var(--radius-xl);
  padding: 72px 60px;
  text-align: center;
}

.cta-block h2   { color: #fff; margin-bottom: 16px; }
.cta-block p    { color: rgba(255,255,255,0.78); font-size: 1.0625rem; max-width: 560px; margin: 0 auto 36px; }
.cta-block .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #0d2b1a;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer__brand { }

.footer__brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.footer__brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  max-width: 300px;
}

.footer__wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wa);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__wa-link:hover { color: #5ef58a; }

.footer__col h5 {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__col ul li a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: wa-pulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .doctor-section { grid-template-columns: 1fr; gap: 40px; }
  .doctor-image-wrap { max-width: 480px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .concept-split         { grid-template-columns: 1fr; }
  .concept-card          { padding: 36px 28px; }
  .objectives-grid       { grid-template-columns: 1fr 1fr; }
  .grid-3                { grid-template-columns: 1fr 1fr; }
  .testimonials-grid     { grid-template-columns: 1fr; }
  .boutiques-grid        { grid-template-columns: 1fr; }
  .cta-block             { padding: 48px 28px; }
  .doctor-stats          { grid-template-columns: repeat(3,1fr); }
  .trust-bar__inner      { gap: 0; }
  .trust-item            { padding: 8px 20px; }
  .footer__grid          { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .objectives-grid { grid-template-columns: 1fr; }
  .grid-3          { grid-template-columns: 1fr; }
  .doctor-stats    { grid-template-columns: 1fr 1fr; }
  .trust-item      { padding: 8px 14px; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .footer__grid    { grid-template-columns: 1fr; gap: 24px; }
  .whatsapp-float  { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
