/* ============================================================
   ALYA.CSS — styles de base + styles spécifiques à la page /alya
   ============================================================ */

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

:root {
  --green-light: #bfd7ce;
  --green-mid: #5e9b84;
  --green-dark: #3a7060;
  --green-deep: #1c3d33;
  --white: #f9faf8;
  --text: #1a2620;
  --muted: #6b8278;
  /* Alya palette */
  --a-deep:       #1D4E3F;
  --a-mid:        #2A6B55;
  --a-sage:       #5A8F7B;
  --a-light-sage: #8AB5A1;
  --a-pale-sage:  #C5DDD2;
  --a-cream:      #F7F5F0;
  --a-warm-white: #FAFAF8;
  --a-text-dark:  #1A1A1A;
  --a-text-mid:   #4A4A4A;
  --a-text-light: #7A7A7A;
  --a-accent:     #2D8B6A;
  --a-border:     #E5E0D8;
}

html  { scroll-behavior: smooth; }
body  { font-family: 'DM Sans', sans-serif; background: var(--a-cream); color: var(--a-text-dark); overflow-x: hidden; }

/* ── LANG SWITCHER ───────────────────────────────────────── */
.lang-dropdown { position: relative; }
.lang-toggle   { display: flex; align-items: center; gap: .35rem; background: none; border: 1.5px solid rgba(94,155,132,.25); border-radius: 8px; padding: .3rem .6rem; font-size: .78rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; font-family: 'DM Sans', sans-serif; }
.lang-toggle:hover { border-color: var(--green-mid); color: var(--green-dark); }
.lang-toggle svg { transition: transform .2s; }
.lang-dropdown.open .lang-toggle { border-color: var(--green-mid); color: var(--green-dark); }
.lang-dropdown.open .lang-toggle svg { transform: rotate(180deg); }
.lang-menu { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: rgba(249,250,248,.98); backdrop-filter: blur(12px); border: 1px solid rgba(94,155,132,.18); border-radius: 10px; box-shadow: 0 8px 24px rgba(30,60,50,.1); overflow: hidden; z-index: 200; min-width: 60px; }
.lang-dropdown.open .lang-menu { display: flex; flex-direction: column; }
.lang-option { background: none; border: none; padding: .45rem 1rem; font-size: .78rem; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; font-family: 'DM Sans', sans-serif; transition: background .15s, color .15s; }
.lang-option:hover { background: rgba(94,155,132,.08); color: var(--green-dark); }
.lang-option.active { color: var(--green-mid); }

/* ── NAV ─────────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 5vw; background: rgba(249,250,248,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(94,155,132,.12); gap: 1rem; }
.logo { font-family: 'League Spartan', sans-serif; font-size: 1.6rem; color: var(--green-dark); letter-spacing: -.02em; flex-shrink: 0; text-decoration: none; }
.logo span { color: var(--green-mid); }
.nav-right { display: flex; align-items: center; gap: 2rem; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .2s; }
nav ul a:hover { color: var(--green-dark); }
.nav-cta { background: var(--green-mid); color: white !important; padding: .6rem 1.4rem; border-radius: 100px; font-weight: 600 !important; transition: background .2s !important; white-space: nowrap; }
.nav-cta:hover { background: var(--green-dark) !important; }

/* ── HAMBURGER ───────────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 65px; left: 0; right: 0; background: rgba(249,250,248,.98); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(94,155,132,.12); padding: 1.5rem 5vw; flex-direction: column; gap: 1.2rem; z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--text); padding: .5rem 0; border-bottom: 1px solid rgba(191,215,206,.3); }
.mobile-menu a:last-child { border-bottom: none; background: var(--green-mid); color: white; text-align: center; border-radius: 100px; padding: .8rem; margin-top: .5rem; font-weight: 600; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s, box-shadow .2s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,.5); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--green-deep); color: rgba(191,215,206,.6); padding: 3rem 5vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'League Spartan', sans-serif; font-size: 1.4rem; color: white; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: rgba(191,215,206,.6); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--green-light); }
footer small { font-size: .78rem; }

/* ── CONTAINER UTILITAIRE ────────────────────────────────── */
.alya-container { max-width: 1100px; margin: 0 auto; padding: 0 5vw; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION 1 — HERO                                        ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-hero {
  background: var(--a-deep);
  padding: 140px 5vw 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.alya-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,221,210,.07) 0%, transparent 70%);
  pointer-events: none;
}
.alya-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.alya-micro-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--a-light-sage);
  margin-bottom: 1.5rem;
}
.alya-hero h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #F7F5F0;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 1.4rem;
}
.alya-hero p {
  font-size: clamp(.95rem, 2vw, 1.05rem);
  font-weight: 300;
  color: var(--a-pale-sage);
  max-width: 560px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
}
.alya-cta-btn {
  display: inline-block;
  background: #F7F5F0;
  color: var(--a-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.alya-cta-btn:hover { background: white; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.alya-badge {
  margin-top: 1.2rem;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--a-light-sage);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION 2 — LE PROBLÈME                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-problem {
  background: #F7F5F0;
  padding: 5rem 5vw;
}
.alya-problem h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--a-deep);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 3rem;
}
.alya-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.alya-pain-card {
  background: var(--a-warm-white);
  border: 1px solid var(--a-border);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow .2s;
}
.alya-pain-card:hover { box-shadow: 0 8px 24px rgba(28,61,51,.08); }
.alya-pain-icon {
  width: 44px;
  height: 44px;
  background: rgba(42,107,85,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  color: var(--a-mid);
}
.alya-pain-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--a-text-dark);
  margin-bottom: .5rem;
}
.alya-pain-card p {
  font-size: .88rem;
  color: var(--a-text-mid);
  line-height: 1.6;
}
.alya-transition {
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--a-deep);
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION 3 — LES 10 PRESTATIONS                         ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-services {
  background: var(--a-warm-white);
  padding: 5rem 5vw;
}
.alya-services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.alya-section-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--a-sage);
  margin-bottom: .6rem;
}
.alya-services-header h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--a-deep);
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}
.alya-services-header p {
  font-size: 1rem;
  color: var(--a-text-mid);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.alya-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 52px;
}
.alya-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--a-pale-sage);
}
.alya-timeline-item {
  position: relative;
  padding: 0 0 2.2rem 1.8rem;
}
.alya-timeline-item:last-child { padding-bottom: 0; }
.alya-step-num {
  position: absolute;
  left: -52px;
  top: 0;
  width: 38px;
  height: 38px;
  background: var(--a-deep);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'League Spartan', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.alya-step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--a-text-dark);
  margin-bottom: .3rem;
  padding-top: .5rem;
}
.alya-step-content p {
  font-size: .85rem;
  color: var(--a-text-mid);
  line-height: 1.6;
}
.pricing-note { color: #7A7A7A; }

/* Carte CTA "Et bien plus encore" */
.extra-card-cta { background: #1D4E3F !important; border-color: #1D4E3F !important; justify-content: center; }
.alya-extra-card.extra-card-cta h3 { color: #F7F5F0 !important; font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.extra-cta-text { font-size: 13px; font-weight: 400; color: #C5DDD2; line-height: 1.5; margin-bottom: 1rem; flex: 0; }
.extra-cta-btn { display: inline-block; padding: 9px 20px; background: #F7F5F0; color: #1D4E3F; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; border-radius: 5px; text-decoration: none; transition: background .2s, transform .15s; }
.extra-cta-btn:hover { background: white; transform: translateY(-1px); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION 4 — SERVICES COMPLÉMENTAIRES                   ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-extras {
  background: #F7F5F0;
  padding: 5rem 5vw;
}
.alya-extras h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--a-deep);
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 2.5rem;
}
.alya-extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}
.alya-extra-card {
  background: var(--a-warm-white);
  border: 1px solid var(--a-border);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow .2s, border-color .2s;
}
.alya-extra-card:hover { box-shadow: 0 6px 20px rgba(28,61,51,.08); border-color: var(--a-pale-sage); }
.alya-extra-icon { color: var(--a-sage); }
.alya-extra-card h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--a-text-dark);
  line-height: 1.35;
  flex: 1;
}
.alya-extra-tag {
  display: inline-block;
  background: rgba(45,139,106,.1);
  color: var(--a-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 100px;
  align-self: flex-start;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION 5 — POURQUOI HOMIO                              ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-why {
  background: var(--a-deep);
  padding: 5rem 5vw;
}
.alya-why h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #F7F5F0;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 3rem;
}
.alya-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}
.alya-why-card {
  background: rgba(197,221,210,.07);
  border: 1px solid rgba(197,221,210,.15);
  border-radius: 16px;
  padding: 1.8rem;
  transition: background .2s;
}
.alya-why-card:hover { background: rgba(197,221,210,.12); }
.alya-why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #F7F5F0;
  margin-bottom: .6rem;
}
.alya-why-card p {
  font-size: .88rem;
  font-weight: 300;
  color: var(--a-pale-sage);
  line-height: 1.65;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION 6 — CTA FINAL                                   ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-cta-final {
  background: #F7F5F0;
  padding: 5rem 5vw;
}
.alya-cta-inner {
  text-align: center;
}
.alya-cta-final h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--a-deep);
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.alya-cta-final > .alya-container > p {
  font-size: 1rem;
  color: var(--a-text-mid);
  margin-bottom: 2rem;
}
.alya-cta-main {
  display: inline-block;
  background: var(--a-deep);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(28,61,51,.3);
}
.alya-cta-main:hover { background: var(--a-mid); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(28,61,51,.35); }
.alya-cta-emails {
  margin-top: 1.2rem;
  font-size: .82rem;
  color: var(--a-text-light);
}
.alya-cta-badge {
  margin-top: .6rem;
  font-size: 12px;
  font-style: italic;
  color: var(--a-sage);
}

/* ── LANG TOGGLE (fr/en spans) ───────────────────────────── */
.lang-en { display: none; }
html[lang="en"] .lang-fr { display: none; }
html[lang="en"] .lang-en { display: inline; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  ENCART OFFRE LIMITÉE                                    ║
   ╚══════════════════════════════════════════════════════════╝ */
.limited-section { background: #F7F5F0; padding: 48px 32px; }
.limited-inner { max-width: 600px; margin: 0 auto; text-align: center; padding: 40px 36px; background: #FAFAF8; border: 1px solid #E5E0D8; border-radius: 10px; }
.limited-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #1D4E3F; background: #C5DDD2; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.limited-inner h3 { font-size: 20px; font-weight: 600; color: #1D4E3F; line-height: 1.35; margin-bottom: 12px; }
.limited-inner p { font-size: 14px; font-weight: 400; color: #4A4A4A; line-height: 1.6; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  SECTION TÉMOIGNAGE                                      ║
   ╚══════════════════════════════════════════════════════════╝ */
.alya-review { background: #F7F5F0; padding: 4rem 5vw; }
.alya-review-card { max-width: 640px; margin: 0 auto; text-align: center; }
.alya-review-stars { color: #2D8B6A; font-size: .9rem; letter-spacing: .1em; margin-bottom: 1.5rem; }
.alya-review-text { font-size: 16.5px; font-weight: 400; font-style: italic; color: #1A1A1A; line-height: 1.7; margin-bottom: 1.8rem; }
.alya-review-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.alya-review-avatar { width: 48px; height: 48px; border-radius: 50%; background: #1D4E3F; color: white; font-family: 'League Spartan', sans-serif; font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alya-review-name { font-weight: 600; font-size: .9rem; color: #1A1A1A; text-align: left; }
.alya-review-loc  { font-size: 13px; color: #7A7A7A; text-align: left; margin-top: .15rem; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .alya-pain-grid   { grid-template-columns: 1fr; }
  .alya-why-grid    { grid-template-columns: 1fr; }
  .alya-extras-grid { grid-template-columns: repeat(2, 1fr); }
  .limited-section  { padding: 32px 20px; }
  .limited-inner    { padding: 28px 20px; }
  .limited-inner h3 { font-size: 17px; }
}

@media (max-width: 480px) {
  .alya-hero { padding: 110px 5vw 70px; }
  .alya-hero h1 { font-size: 2rem; }
  .alya-cta-btn { width: 100%; text-align: center; }
  .alya-cta-main { width: 100%; text-align: center; }
  .alya-extras-grid { grid-template-columns: 1fr; }
  .alya-timeline { padding-left: 44px; }
  .alya-step-num { left: -44px; width: 32px; height: 32px; font-size: .72rem; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
