/* ===========================
   EMIDELO — Styles globaux
   DA : fond chaud type « studio » (pas dark + violet/cyan générique)
   =========================== */

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

:root {
  --bg:           #e8e4dc;
  --bg-elevated:  #f5f2ec;
  --bg-surface:   #ffffff;
  --border:       rgba(28, 25, 23, 0.09);
  --border-hover: rgba(15, 118, 110, 0.35);
  --text:         #1c1917;
  --text-muted:   #57534e;
  --accent:       #0f766e;
  --accent-soft:  #14b8a6;
  --accent-deep:  #115e59;
  --violet-soft:  #0d9488;
  --cyan:         #0e7490;
  --success:      #059669;
  --grad:         linear-gradient(135deg, #0d9488 0%, #155e75 100%);
  --secondary:    #ddd8ce;
  --card-border:  rgba(28, 25, 23, 0.1);
  --font:         'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm:    0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md:    0 8px 30px rgba(28, 25, 23, 0.07);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 70% at 100% 0%, rgba(13, 148, 136, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(21, 94, 117, 0.07) 0%, transparent 48%),
    linear-gradient(178deg, #f2efe8 0%, #e8e4dc 45%, #e3ded4 100%);
}

/* Anciens orbes : masqués (évite le look « IA » flou violet/cyan) */
.orb {
  display: none !important;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: var(--shadow-sm);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 0.2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.88rem; font-weight: 500;
  padding: 0.45rem 0.9rem; border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: rgba(28, 25, 23, 0.05);
}
.nav-cta {
  background: var(--grad) !important;
  color: white !important; -webkit-text-fill-color: white !important;
  padding: 0.45rem 1.1rem !important;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.25);
}
.nav-cta:hover { opacity: 0.94; transform: translateY(-1px); }

/* HERO */
.hero {
  min-height: 88vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem; position: relative; z-index: 1;
}
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: var(--accent-deep);
  padding: 0.3rem 0.9rem; border-radius: 100px;
  font-size: 0.76rem; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: 0.8px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 1.2rem;
  color: var(--text);
}
.hero h1 .highlight {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BOUTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.68rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: all 0.25s; cursor: pointer; border: none; font-family: var(--font);
}
.btn-primary {
  background: var(--grad);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(6, 78, 59, 0.25);
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.42);
  filter: brightness(1.03);
}
/* Secondaire : aussi 100 % rempli (teal plus profond), plus « creux » visuellement que le primaire */
.btn-outline {
  background: linear-gradient(135deg, #115e59 0%, #0f766e 48%, #0d9488 100%);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(17, 94, 89, 0.45);
  box-shadow: 0 4px 16px rgba(17, 94, 89, 0.35);
}
.btn-outline:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(17, 94, 89, 0.45);
  filter: brightness(1.06);
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  filter: none;
}

/* SECTIONS */
section { padding: 5rem 2rem; position: relative; z-index: 1; }
.container { max-width: 1080px; margin: 0 auto; }
.section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.6rem;
}
.section-header h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.3rem);
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.7rem;
  color: var(--text);
}
.section-header p { color: var(--text-muted); font-size: 0.97rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* Avertissement abonnement récurrent — teinte marque (teal), titre en dégradé comme les labels */
.subscription-legal-notice {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  padding: 1.125rem 1.35rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.11) 0%, rgba(21, 94, 89, 0.06) 42%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-left: 4px solid var(--accent-soft);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.subscription-legal-notice__title {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subscription-legal-notice p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #3d3834;
  margin: 0;
}
.subscription-legal-notice strong {
  font-weight: 700;
  color: var(--accent-deep);
}

/* CARDS FORFAITS */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 1.2rem; align-items: start; }
.plan-card {
  background: var(--bg-surface); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 1.8rem; position: relative; transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(13, 148, 136, 0.25); box-shadow: var(--shadow-md); }
.plan-card.featured {
  border-color: rgba(13, 148, 136, 0.4);
  background: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.12), var(--shadow-md);
}
.plan-badge {
  position: absolute; top: -11px; right: 18px;
  background: var(--grad); color: white;
  font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.7rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.8px;
}
.plan-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem; border: 1px solid var(--border);
  background: rgba(13, 148, 136, 0.06);
}
.plan-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.plan-price { margin-bottom: 0.9rem; }
.plan-price .amount {
  font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -1px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plan-price .period { color: var(--text-muted); font-size: 0.8rem; }
.plan-desc { color: var(--text-muted); font-size: 0.87rem; margin-bottom: 1.3rem; line-height: 1.6; }
.plan-features { list-style: none; margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--text-muted); }
.plan-features li .check { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.plan-features li .cross { color: #a8a29e; flex-shrink: 0; margin-top: 2px; }
.plan-card .btn { width: 100%; justify-content: center; }

/* PAGE HERO */
.page-hero { padding: 5rem 2rem 3rem; text-align: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.85rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem; color: var(--text); }
.page-hero h1 .highlight {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { color: var(--text-muted); font-size: 1.02rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.service-card {
  background: var(--bg-surface); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 1.8rem; text-decoration: none; color: inherit; transition: all 0.3s; display: block;
  box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-3px); border-color: rgba(13, 148, 136, 0.22); box-shadow: var(--shadow-md); }
.service-icon { font-size: 1.9rem; margin-bottom: 0.85rem; }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.2px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 0.84rem; font-weight: 600; margin-top: 0.9rem;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 700px; margin: 0 auto; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-size: 0.93rem; font-weight: 600; text-align: left;
  padding: 1.05rem 1.3rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font); transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-arrow { flex-shrink: 0; transition: transform 0.3s; color: var(--accent); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.3rem 1.1rem; color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* CTA */
.cta-section {
  text-align: center; padding: 5rem 2rem; border-top: 1px solid var(--border); position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.35);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(1.65rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.8rem; color: var(--text); position: relative; }
.cta-section p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7; position: relative; }

/* TABLEAU */
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1.2rem; text-align: center;
  border-bottom: 1px solid var(--border); font-size: 0.86rem;
}
.compare-table th { background: rgba(13, 148, 136, 0.06); font-weight: 700; font-size: 0.83rem; color: var(--text); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(13, 148, 136, 0.04); }
.compare-table .check { color: var(--success); }
.compare-table .cross { color: #a8a29e; }
.compare-table .highlighted-col { background: rgba(13, 148, 136, 0.07); }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; position: relative; z-index: 1; background: rgba(245, 242, 236, 0.6); }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.7rem; line-height: 1.65; max-width: 250px; }
.footer-col h4 { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul a { text-decoration: none; color: var(--text-muted); font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1080px; margin: 0 auto; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }

/* PAIEMENT STRIPE */
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  width: 100%;
}
.plan-actions .btn { width: 100%; justify-content: center; }
.plan-mailto-alt {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  text-decoration: none;
  transition: color 0.2s;
}
.plan-mailto-alt:hover { color: var(--accent); }
.payment-trust {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.payment-trust h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.payment-trust p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.payment-trust .stripe-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #635bff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.77rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.7rem; }
}
