/* ==========================================================================
   ALGORITHMICS TUNISIE — FORMULAIRE SÉANCE DÉCOUVERTE (CAMPAGNE META ADS)
   ========================================================================== */

:root {
  --algo-purple: #58249C;
  --algo-purple-dark: #3F1470;
  --algo-purple-light: #7E42E3;
  --algo-purple-soft: #F3EEFB;
  --algo-yellow: #FFD027;
  --algo-yellow-hover: #F2C215;
  --algo-yellow-soft: #FFF9E6;
  --algo-cyan: #00D2D3;
  --algo-pink: #FF477E;
  
  --text-main: #1D1929;
  --text-muted: #5C5868;
  --text-light: #8E8A9A;
  
  --bg-page: #F8F9FE;
  --bg-card: #FFFFFF;
  --border-color: #E6E4F0;
  
  --shadow-sm: 0 2px 8px rgba(32, 17, 68, 0.04);
  --shadow-md: 0 8px 24px rgba(32, 17, 68, 0.08);
  --shadow-lg: 0 16px 40px rgba(88, 36, 156, 0.14);
  --shadow-glow: 0 0 24px rgba(255, 208, 39, 0.35);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP URGENCY BAR */
.top-urgency-bar {
  background: linear-gradient(90deg, #1D1929 0%, #3F1470 50%, #1D1929 100%);
  color: #FFFFFF;
  padding: 10px 0;
  font-size: 13.5px;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.urgency-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.urgency-badge {
  background: var(--algo-yellow);
  color: #1D1929;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.urgency-text strong {
  color: var(--algo-yellow);
}

.urgency-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

/* NAVBAR */
.header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: relative;
  z-index: 90;
}

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

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.algo-logo-img {
  height: 38px;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.highlight-yellow {
  color: #FFD027;
  font-weight: 800;
}

.brand-divider {
  color: var(--text-light);
  font-size: 14px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.youspire-mini-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 99px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* HERO SECTION */
.hero-section {
  padding: 40px 0 60px;
  background: radial-gradient(circle at 10% 20%, rgba(126, 66, 227, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(255, 208, 39, 0.08) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* COLONNE GAUCHE (INFO & VISUEL) */
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.open-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--algo-yellow);
  color: #1D1929;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 99px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  animation: bounceSoft 3s infinite ease-in-out;
}

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

.main-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--algo-purple-dark);
}

.gradient-text {
  color: var(--algo-purple);
  position: relative;
  display: inline-block;
}

.subtitle {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 500px;
}

/* PILLS ROW (8-11 ans + Créativité + Logique + Confiance) */
.meta-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}

.age-pill {
  background: linear-gradient(135deg, #A855F7 0%, #7E42E3 100%);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(126, 66, 227, 0.3);
}

.age-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
}

.age-text {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.pillar-creativity { border-color: #FDE047; background: #FEFCE8; color: #854D0E; }
.pillar-logic { border-color: #DDD6FE; background: #F5F3FF; color: #5B21B6; }
.pillar-confidence { border-color: #FBCFE8; background: #FDF2F8; color: #9D174D; }

/* POSTER CARD PREVIEW */
.poster-card-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-top: 10px;
}

.poster-image-box {
  position: relative;
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  background: #000;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.poster-card-wrapper:hover .poster-img {
  transform: scale(1.02);
}

.poster-floating-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(29, 25, 41, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.poster-features {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FCFCFF;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.feat-check {
  width: 20px;
  height: 20px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* LOCATION CHIP */
.location-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  font-size: 13.5px;
}

.loc-pin {
  font-size: 24px;
}

.location-chip strong {
  display: block;
  color: var(--algo-purple-dark);
}

.location-chip span {
  color: var(--text-muted);
}

/* ==========================================================================
   COLONNE DROITE : FORMULAIRE DE RÉSERVATION
   ========================================================================== */

.form-container-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 34px 30px;
  border: 2px solid rgba(88, 36, 156, 0.12);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 24px;
}

.form-badge {
  display: inline-block;
  background: var(--algo-purple-soft);
  color: var(--algo-purple);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--algo-purple-dark);
  line-height: 1.2;
}

.form-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.form-group-block {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

.form-group-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--algo-purple-dark);
  margin-bottom: 14px;
}

.step-num {
  width: 24px;
  height: 24px;
  background: var(--algo-purple);
  color: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* SLOTS CARDS GRID (Mercredi aprem, Samedi matin, Dimanche aprem) */
.slots-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slot-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.slot-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-card:hover {
  border-color: var(--algo-purple-light);
  background: #FAF8FE;
  transform: translateY(-1px);
}

.slot-card.selected {
  border-color: var(--algo-purple);
  background: var(--algo-purple-soft);
  box-shadow: 0 4px 14px rgba(88, 36, 156, 0.15);
}

.slot-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slot-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slot-day {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--algo-purple-dark);
}

.slot-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-pop { background: #FEF08A; color: #854D0E; }
.badge-hot { background: #FEE2E2; color: #991B1B; }
.badge-weekend { background: #E0E7FF; color: #3730A3; }

.slot-time {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.slot-period {
  font-size: 12px;
  color: var(--text-muted);
}

.slot-places {
  font-size: 12px;
  font-weight: 700;
  color: #B45309;
  margin-top: 2px;
}

.slot-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: #FFFFFF;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.slot-card.selected .slot-check-icon {
  background: var(--algo-purple);
  border-color: var(--algo-purple);
  color: #FFFFFF;
}

/* FIELDS & INPUTS */
.fields-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-item label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.field-item label .req {
  color: #E11D48;
}

.field-item label .opt {
  font-size: 12px;
  color: var(--text-light);
  font-weight: normal;
}

.field-item input,
.field-item select {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-item input:focus,
.field-item select:focus {
  border-color: var(--algo-purple);
  box-shadow: 0 0 0 3px rgba(88, 36, 156, 0.12);
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-group:focus-within {
  border-color: var(--algo-purple);
  box-shadow: 0 0 0 3px rgba(88, 36, 156, 0.12);
}

.country-prefix {
  padding: 12px 12px;
  background: #F4F3F8;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  border-right: 1.5px solid var(--border-color);
  white-space: nowrap;
}

.phone-input-group input {
  border: none;
  border-radius: 0;
  width: 100%;
}

.phone-input-group input:focus {
  box-shadow: none;
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* AGE SELECTOR BUTTONS */
.age-selector {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.age-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  padding: 9px 0;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.age-btn:hover {
  border-color: var(--algo-purple-light);
  background: var(--algo-purple-soft);
}

.age-btn.active {
  background: var(--algo-purple);
  border-color: var(--algo-purple);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(88, 36, 156, 0.25);
}

/* ERROR MESSAGE */
.form-error-box {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

/* CTA SUBMIT BUTTON */
.cta-submit-btn {
  width: 100%;
  background: var(--algo-yellow);
  color: #1D1929;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  padding: 16px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(255, 208, 39, 0.45);
  transition: all 0.2s ease;
  text-decoration: none;
}

.cta-submit-btn:hover {
  background: var(--algo-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 208, 39, 0.6);
}

.cta-submit-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.cta-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-loader {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: #1D1929;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* TRUST SIGNALS */
.form-trust-signals {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SECTIONS CONTENU : ÉTAPES / POURQUOI / LIEU / FAQ
   ========================================================================== */

.section-details,
.section-why,
.section-location,
.section-faq {
  padding: 70px 0;
}

.section-details {
  background: #FFFFFF;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}

.badge-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--algo-purple);
  background: var(--algo-purple-soft);
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: var(--algo-purple-dark);
  line-height: 1.18;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 8px;
}

/* 4 STEPS GRID */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #FFFFFF;
  padding: 30px 22px;
  border-radius: 20px;
  border: 1px solid #ECE8F6;
  box-shadow: 0 10px 25px rgba(88, 36, 156, 0.05);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-align: left;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(88, 36, 156, 0.12);
  border-color: #7E42E3;
}

.step-card-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: rgba(88, 36, 156, 0.28);
  line-height: 1;
  margin-bottom: 6px;
}

.step-card-icon {
  font-size: 30px;
  margin-bottom: 12px;
  line-height: 1;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #2D1457;
  margin-bottom: 8px;
  line-height: 1.25;
}

.step-card p {
  font-size: 13.5px;
  color: #5C5868;
  line-height: 1.5;
}

/* WHY SECTION */
.section-why {
  background: linear-gradient(180deg, #F8F9FE 0%, #F1EEF9 100%);
  padding: 70px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.stats-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-bubble {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px 32px;
  border: 1px solid #ECE8F6;
  box-shadow: 0 10px 30px rgba(88, 36, 156, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(88, 36, 156, 0.1);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  color: #58249C;
  line-height: 1;
  display: block;
}

.stat-lbl {
  font-size: 14px;
  font-weight: 700;
  color: #5C5868;
  margin-top: 6px;
  display: block;
}

.why-text h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: #2D1457;
  line-height: 1.2;
  margin-bottom: 24px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.point-icon {
  font-size: 26px;
  line-height: 1.2;
  flex-shrink: 0;
}

.why-point h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.why-point p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-primary-inline,
.why-btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #58249C;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 8px 22px rgba(88, 36, 156, 0.3);
  margin-top: 10px;
}

.btn-primary-inline:hover,
.why-btn:hover,
.btn-secondary:hover {
  background: #7E42E3;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(88, 36, 156, 0.4);
  color: #FFFFFF !important;
}

/* LOCATION SECTION */
.section-location {
  background: #FFFFFF;
}

.location-box {
  background: linear-gradient(135deg, #1D1929 0%, #3F1470 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.loc-details h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  margin: 8px 0 12px;
}

.loc-address {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--algo-yellow);
}

.loc-buttons {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.loc-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}

.loc-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.loc-btn-call {
  background: var(--algo-yellow);
  color: #1D1929;
  border-color: var(--algo-yellow);
}

.loc-btn-call:hover {
  background: var(--algo-yellow-hover);
}

/* FAQ SECTION */
.section-faq {
  background: var(--bg-page);
}

.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--algo-purple-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--algo-purple-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  font-size: 22px;
  font-weight: 400;
  color: var(--algo-purple);
  transition: transform 0.2s;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOOTER */
.footer {
  background: #1D1929;
  color: #FFFFFF;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p {
  color: #A3A0B2;
  font-size: 13.5px;
  margin-top: 8px;
  max-width: 440px;
}

.footer-left .copyright {
  font-size: 12px;
  color: #6C687E;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #FFFFFF;
  font-size: 13.5px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--algo-yellow);
}

/* ==========================================================================
   MODAL SUCCÈS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 11, 33, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-confetti-icon {
  font-size: 46px;
  margin-bottom: 8px;
}

.modal-badge-free {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.modal-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--algo-purple-dark);
  line-height: 1.2;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 10px 0 20px;
}

.modal-summary-box {
  background: var(--algo-purple-soft);
  border: 1px solid rgba(88, 36, 156, 0.15);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sum-icon {
  font-size: 18px;
}

.sum-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.sum-val {
  font-size: 14px;
  color: var(--algo-purple-dark);
}

.modal-action-hint {
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 14px;
}

.modal-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.modal-wa-btn:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

.modal-close-link {
  margin-top: 14px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

/* FLOATING WHATSAPP BUTTON */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: #1D1929;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
}

.floating-wa-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST META ADS OPTIMIZATION)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-title {
    font-size: 38px;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .location-box {
    padding: 28px 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header {
    padding: 10px 0;
  }

  .nav-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .brand-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-urgency-bar {
    font-size: 12px;
    padding: 8px 12px;
  }

  .urgency-link {
    display: none;
  }

  .hero-section {
    padding: 24px 0 36px;
  }

  .main-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .meta-pills-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pillar-pill {
    font-size: 12px;
    padding: 6px 10px;
  }

  .form-container-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .slot-card {
    padding: 12px 14px;
  }

  .fields-row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .age-selector {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cta-submit-btn {
    font-size: 15px;
    padding: 14px 18px;
  }

  .form-trust-signals {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title-wrap h2 {
    font-size: 24px;
  }

  .why-text h2 {
    font-size: 24px;
  }

  .location-box {
    padding: 22px 16px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .modal-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .floating-wa-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 380px) {
  .main-title {
    font-size: 25px;
  }
  .slot-day {
    font-size: 14px;
  }
  .slot-time {
    font-size: 13.5px;
  }
}

