/* =========================
   styles.css
   Palette:
   - Primary: #2563EB (blue)
   - Success: #10B981 (green)
   - Text:    #1F2937 (dark gray)
   - Muted BG:#F9FAFB
   ========================= */

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

:root{
  --primary: #2563EB;
  --success: #10B981;
  --text: #1F2937;
  --muted: #6B7280;
  --bg: #ffffff;
  --bg-muted: #F9FAFB;
  --border: rgba(31, 41, 55, 0.12);
  --shadow: 0 12px 30px rgba(31, 41, 55, 0.10);
  --shadow-soft: 0 10px 24px rgba(31, 41, 55, 0.08);
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1120px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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


/* ---------- SVG Icon helpers ---------- */
.icon{
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: -0.18em;
  flex: 0 0 auto;
}
.icon-lg{ width: 22px; height: 22px; }
.icon-logo{ width: 18px; height: 18px; }

.hero-benefits li,
.checklist li,
.cta-benefits li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pill .icon{ width: 16px; height: 16px; vertical-align: -0.15em; }
.mock-cta .icon{ width: 16px; height: 16px; vertical-align: -0.15em; }
.tag .icon{ width: 16px; height: 16px; vertical-align: -0.15em; }

/* Les icônes SVG utilisent stroke="currentColor" ; chargées en <img>, elles
   s'affichent en noir. Dans la carte bleue du CTA (texte blanc), on les force
   en blanc. */
.cta-card .icon{ filter: brightness(0) invert(1); }


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

button, input, select, textarea {
  font: inherit;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
}

/* AccessibilitÃƒÂ© */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Layout ---------- */
.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-head{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.section-title{
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

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

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow .2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              background .2s ease, 
              border-color .2s ease, 
              color .2s ease;
  user-select: none;
  white-space: nowrap;
}

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

.btn:active{
  transform: translateY(1px);
}

.btn-primary{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.20);
}

.btn-primary:hover{
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
}

.btn-success{
  background: var(--success);
  color: #fff;
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.18);
}

.btn-success:hover{
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.24);
}

.btn-ghost{
  background: rgba(255,255,255,0.65);
  border-color: rgba(31, 41, 55, 0.14);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover{
  border-color: rgba(31, 41, 55, 0.22);
  box-shadow: var(--shadow-soft);
}

.btn-lg{
  padding: 14px 20px;
  font-weight: 600;
}

.btn-block{
  width: 100%;
}

/* ---------- Badges ---------- */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .95rem;
  border: 1px solid rgba(37, 99, 235, 0.20);
  background: rgba(37, 99, 235, 0.10);
}

.badge-promo{
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.10);
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  transition: background 0.3s ease,
              backdrop-filter 0.3s ease,
              box-shadow 0.3s ease;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo{
  display: inline-flex;
  align-items: center;
  height: 48px;
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
}

.logo-mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.14);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.20);
}

.logo-text{
  font-size: 1.05rem;
}

.nav-menu{
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links{
  display: none;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link{
  display: inline-flex;
  padding: 10px 10px;
  border-radius: 999px;
  color: rgba(31, 41, 55, 0.92);
  transition: background .15s ease, color .15s ease;
}

.nav-link:hover{
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.nav-cta{
  display: none;
}

/* Hamburger */
.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease;
}

.nav-toggle:hover{
  box-shadow: var(--shadow-soft);
}

.nav-toggle-lines{
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 999px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

/* Mobile menu panel */
.nav-menu.is-open{
  position: absolute;
  left: 16px;
  right: 16px;
  top: 68px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(31, 41, 55, 0.10);
  box-shadow: var(--shadow);
}

.nav-menu.is-open .nav-links{
  display: grid;
  gap: 6px;
}

.nav-menu.is-open .nav-cta{
  display: inline-flex;
}

/* Toggle animation when open */
.nav-toggle.is-open .nav-toggle-lines{
  background: transparent;
}
.nav-toggle.is-open .nav-toggle-lines::before{
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-lines::after{
  top: 0;
  transform: rotate(-45deg);
}

/* Desktop nav */
@media (min-width: 900px){
  .nav-toggle{ display: none; }
  .nav-links{ display: flex; }
  .nav-cta{ display: inline-flex; }
  .nav-menu{ position: static; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 84px 0 64px;
  background: radial-gradient(900px 420px at 20% 10%, rgba(37,99,235,0.18), transparent 60%),
              radial-gradient(900px 420px at 80% 30%, rgba(16,185,129,0.10), transparent 65%),
              linear-gradient(180deg, rgba(37,99,235,0.08), rgba(255,255,255,0.0) 60%);
  border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.hero-grid{
  display: grid;
  gap: 30px;
  align-items: center;
}

.hero-title{
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.text-primary{ color: var(--primary); }

.hero-subtitle{
  margin: 0 0 16px;
  font-size: 1.08rem;
  color: rgba(31, 41, 55, 0.86);
  max-width: 56ch;
}

.hero-benefits{
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(31, 41, 55, 0.92);
  font-weight: 600;
}

.hero-benefits li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slide-in-left 0.5s ease forwards;
}

.hero-benefits li:nth-child(1) { animation-delay: 0.2s; }
.hero-benefits li:nth-child(2) { animation-delay: 0.4s; }
.hero-benefits li:nth-child(3) { animation-delay: 0.6s; }

@keyframes slide-in-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-price{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0 18px;
}

.price-from{
  color: var(--muted);
  font-weight: 600;
}

.price-amount{
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-suffix{
  color: var(--muted);
  font-weight: 600;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-note{
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

/* Hero visual */
.hero-visual{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.mock-card{
  width: min(420px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.12);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.mock-header{
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  background: rgba(249,250,251,0.85);
}

.mock-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.18);
}

.mock-body{
  padding: 16px;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.14);
  color: rgba(31,41,55,0.92);
  font-weight: 700;
  font-size: .92rem;
  margin-right: 8px;
}

.mock-title{
  margin: 14px 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.mock-lines span{
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(31,41,55,0.10);
  margin: 10px 0;
}
.mock-lines span:nth-child(1){ width: 92%; }
.mock-lines span:nth-child(2){ width: 76%; }
.mock-lines span:nth-child(3){ width: 84%; }

.mock-kpis{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi{
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(249,250,251,0.7);
  text-align: center;
}

.kpi-num{
  font-weight: 900;
  letter-spacing: -0.02em;
}

.kpi-label{
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

.mock-cta{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.18);
  font-weight: 700;
}

.glow{
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(37,99,235,0.22), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(16,185,129,0.16), transparent 65%);
  filter: blur(24px);
  z-index: -1;
  opacity: 0.9;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

@media (min-width: 900px){
  .hero-grid{
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

/* ---------- Steps ---------- */
.steps{
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.step-card{
  border-radius: var(--radius);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: #fff;
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(31, 41, 55, 0.10);
  border-color: rgba(37, 99, 235, 0.20);
}

.step-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              background 0.3s ease,
              border-color 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.25);
}

.step-title{
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.step-text{
  margin: 0;
  color: var(--muted);
}

.step-arrow{
  display: none;
  text-align: center;
  color: rgba(31, 41, 55, 0.35);
  font-size: 1.2rem;
  user-select: none;
}

@media (min-width: 900px){
  .steps{
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: center;
  }
  .step-arrow{ display: block; }
}

/* ---------- Pricing ---------- */
.pricing-grid{
  display: grid;
  gap: 14px;
}

.price-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(255,255,255,0.9);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(31, 41, 55, 0.12);
}

.price-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(180deg, rgba(37,99,235,0.10), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.price-card > *{
  position: relative;
}

.price-card-popular{
  border-color: rgba(16,185,129,0.30);
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.14);
  transform: translateY(-2px);
  position: relative;
  overflow: hidden;
}

.price-card-popular::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.price-card-popular:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.20);
}

.price-card-custom{
  border-style: dashed;
}

.price-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
  border: 1px solid rgba(37,99,235,0.18);
  background: rgba(37,99,235,0.10);
  color: rgba(31,41,55,0.92);
}

.price-badge-success{
  border-color: rgba(16,185,129,0.30);
  background: rgba(16,185,129,0.14);
  color: rgba(31,41,55,0.92);
}

.price-badge-outline{
  border-color: rgba(31,41,55,0.18);
  background: rgba(255,255,255,0.7);
}

.price-title{
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
}

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

.price-value{
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-unit{
  color: var(--muted);
  font-weight: 600;
}

.price-list{
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(31, 41, 55, 0.92);
}

.price-list li{
  padding-left: 22px;
  position: relative;
}

.price-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.price-footnote{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

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

.range-label{ color: var(--muted); font-weight: 600; }
.range-value{ font-weight: 900; letter-spacing: -0.02em; }

@media (min-width: 900px){
  .pricing-grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ---------- Comparison table ---------- */
.table-wrap{
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: #fff;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
}

.compare-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 860px; /* permet scroll sur mobile */
}

.compare-table th,
.compare-table td{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  vertical-align: top;
  text-align: left;
}

.compare-table thead th{
  background: rgba(249,250,251,0.8);
  font-weight: 900;
}

.compare-table tbody th{
  color: rgba(31, 41, 55, 0.92);
  font-weight: 800;
  width: 220px;
}

.col-us{
  background: rgba(37, 99, 235, 0.08);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td{
  border-bottom: none;
}

/* Why cards */
.why-cards{
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mini-card{
  border-radius: var(--radius);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(255,255,255,0.9);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(31, 41, 55, 0.10);
}

.mini-card h3{
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.mini-card p{
  margin: 0;
  color: var(--muted);
}

@media (min-width: 900px){
  .why-cards{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- FAQ Accordion ---------- */
.faq{
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item{
  border-radius: var(--radius);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(255,255,255,0.92);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 15px 30px rgba(31, 41, 55, 0.10);
}

.faq-question{
  width: 100%;
  padding: 16px 16px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 800;
  color: rgba(31,41,55,0.92);
}

.faq-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 41, 55, 0.12);
  background: rgba(249,250,251,0.9);
  flex: 0 0 auto;
  transition: transform .3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              background .3s ease,
              border-color .3s ease;
}

.faq-item:hover .faq-icon {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.20);
}

.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer p{
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  opacity: 0;
  transition: opacity .3s ease .1s;
}

.faq-item.is-open .faq-icon{
  transform: rotate(45deg);
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.faq-item.is-open .faq-answer{
  max-height: 220px;
}

.faq-item.is-open .faq-answer p{
  opacity: 1;
}

/* ---------- CTA Final ---------- */
.cta-final{
  padding: 76px 0;
  background: radial-gradient(900px 420px at 20% 20%, rgba(255,255,255,0.16), transparent 60%),
              radial-gradient(900px 420px at 85% 35%, rgba(16,185,129,0.18), transparent 65%),
              linear-gradient(135deg, rgba(37,99,235,1), rgba(37,99,235,0.86));
  color: #fff;
}

.cta-grid{
  display: grid;
  gap: 18px;
  align-items: center;
}

.cta-title{
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.1vw, 2.3rem);
  letter-spacing: -0.03em;
}

.cta-benefits{
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.cta-price{
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 14px 0 12px;
  color: rgba(255,255,255,0.92);
}

.cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* CTA right card */
.cta-side{
  display: grid;
  place-items: center;
}

.cta-card{
  width: min(460px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: float-subtle 5s ease-in-out infinite;
}

@keyframes float-subtle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cta-card-top{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 14px 0;
}

.tag{
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 700;
  font-size: .92rem;
}

.cta-card-body{
  padding: 14px;
}

.cta-card-title{
  margin: 6px 0 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.calendar{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.day{
  text-align: center;
  padding: 8px 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 800;
}

.day.active{
  background: rgba(16,185,129,0.22);
  border-color: rgba(16,185,129,0.35);
}

.cta-list{
  display: grid;
  gap: 8px;
}

.cta-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 700;
}

@media (min-width: 900px){
  .cta-grid{
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
  }
}

/* ---------- Contact ---------- */
.alert {
  padding: 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border-left: 4px solid;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.alert p {
  margin: 0;
  line-height: 1.5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--success);
  color: #065f46;
}

.alert-error {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #EF4444;
  color: #991b1b;
}

.contact-grid{
  display: grid;
  gap: 14px;
  align-items: start;
}

.contact-form{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(255,255,255,0.92);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
}

.form-row{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

label{
  font-weight: 800;
}

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 55, 0.16);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(37, 99, 235, 0.50);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  min-width: 20px;
  height: 20px;
  margin-top: 3px;
  cursor: pointer;
}

.form-checkbox label {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-checkbox label a:hover {
  color: #1d4ed8;
}

.form-hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.contact-side .contact-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(249,250,251,0.9);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
}

.contact-card h3{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.contact-list, .checklist{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(31, 41, 55, 0.92);
}

.checklist li{
  padding-left: 22px;
  position: relative;
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.divider{
  height: 1px;
  background: rgba(31, 41, 55, 0.10);
  margin: 14px 0;
}

.mini-promo{
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.18);
}

.mini-promo-badge{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(16,185,129,0.22);
  font-weight: 900;
  margin-bottom: 8px;
}

.mini-promo p{
  margin: 0;
  color: rgba(31,41,55,0.90);
}

@media (min-width: 900px){
  .contact-grid{
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
  }
}

/* ---------- Footer ---------- */
.footer{
  background: var(--text);
  color: rgba(255,255,255,0.92);
  padding: 56px 0 22px;
}

.footer-grid{
  display: grid;
  gap: 18px;
}

.footer-col h4{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.footer-text{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.75);
  max-width: 44ch;
}

.footer-logo{
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo img {
  height: 53px;
  width: auto;
  display: block;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a{
  color: rgba(255,255,255,0.82);
  transition: color .15s ease;
}

.footer-links a:hover{
  color: #fff;
}

.footer-contact{
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
  font-size: .95rem;
}

.footer-bottom{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.70);
  font-size: .95rem;
}

@media (min-width: 900px){
  .footer-grid{
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

/* ---------- Scroll animations ---------- */
[data-animate]{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.is-visible{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Animation delays pour effet cascade */
[data-animate]:nth-child(1) { transition-delay: 0ms; }
[data-animate]:nth-child(2) { transition-delay: 100ms; }
[data-animate]:nth-child(3) { transition-delay: 200ms; }
[data-animate]:nth-child(4) { transition-delay: 300ms; }
[data-animate]:nth-child(5) { transition-delay: 400ms; }
[data-animate]:nth-child(6) { transition-delay: 500ms; }

/* ---------- Back to top ---------- */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(31, 41, 55, 0.14);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity .3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color .3s ease,
              background .3s ease;
}

.to-top.is-show{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.to-top:hover{
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-3px) scale(1);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* FAQ icon (img) rotation support */
.faq-icon img{ transition: transform .18s ease; }
.faq-item.is-open .faq-icon img{ transform: rotate(45deg); }
