:root {
  /* Palette Turbospare (basée sur ton logo) */
  --primary: #ff4a32;        /* rouge logo */
  --primary-dark: #e13c26;   /* rouge foncé */
  --bg-hero: #fff7f3;        /* fond crème rosé */
  --text-dark: #111111;
  --text-light: #4a4a4a;
  --white: #ffffff;
  --radius-lg: 16px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* RESET SIMPLE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Scroll fluide vers les ancres (#contact-form, etc.) */
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* LAYOUT GLOBAL */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1.05rem;
}

.logo-text span {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* NAVIGATION */
nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: #4b5563;
}

nav a:hover {
  color: var(--primary);
}

/* Lien actif dans la nav */
nav ul li a.active {
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  color: var(--text-dark);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffffff;
  cursor: pointer;
}

.nav-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* HERO */
.hero {
  background: var(--bg-hero);
  padding: 60px 0 70px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* Colonne gauche */
.hero-left {
  max-width: 560px;
}

.hero-kicker {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.hero-list {
  list-style: none;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.hero-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.hero-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

/* BOUTONS */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-mini {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Colonne droite */
.hero-right {
  display: flex;
  justify-content: center;
}

.hero-main-card {
  position: relative;
  max-width: 360px;
}

/* Conteneur de l'image du hero */
.hero-main-photo {
  height: 360px;               /* hauteur du cadre image */
  border-radius: 28px;
  overflow: hidden;
  background: transparent !important;
}

/* Image parfaitement cadrée */
.hero-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* stop la déformation */
  object-position: center;     /* centre l’image */
  image-rendering: auto;       /* netteté optimale */
}

.hero-phone {
  position: absolute;
  bottom: -40px;
  right: -12px;
  width: 190px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  font-size: 0.8rem;
}

.hero-phone-header {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid #f3f4f6;
}

.hero-phone-header .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e5e7eb;
}

.hero-phone-body {
  padding: 8px 10px 10px;
}

.hero-phone-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-phone-line {
  color: var(--text-light);
}

.hero-phone-highlight {
  margin-top: 6px;
  font-weight: 600;
  color: var(--primary);
}

.hero-bubble {
  position: absolute;
  top: -26px;
  left: -10px;
  background: #ffffff;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.8rem;
  box-shadow: var(--shadow-soft);
  max-width: 220px;
}

/* SECTION 2 : Douleurs & bénéfices */
.value {
  background: #ffffff;
  padding: 60px 0;
}

.value-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.value-title {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 14px;
}

.value-intro {
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.value-note {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* Tableau douleurs / bénéfices */
.value-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

/* Sur les écrans moyens, on passe la section en 1 colonne
   pour éviter le gros trou blanc à gauche */
@media (max-width: 1200px) {
  .value-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-row {
    grid-template-columns: 1fr;
  }
}

.value-col h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.value-col p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Petits labels Douleur / Ce que Turbospare apporte */
.pill {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.pill-pain {
  background: #fef2f2;
  color: #b91c1c;
}

.pill-gain {
  background: #ecfdf5;
  color: #047857;
}

/* SECTION 3 : Pourquoi nous choisir ? */
.plans {
  background: var(--bg-hero);   /* même fond doux que la section 1 */
  padding: 60px 0;
}

.plans-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  /* on enlève le padding horizontal pour aligner avec le hero */
  padding: 32px 0 26px;
  box-shadow: var(--shadow-soft);
}

/* TITRE de la section plans aligné comme le hero */
.plans-head {
  text-align: left;          /* au lieu de center */
  max-width: 100%;           /* on utilise toute la largeur du container */
  margin: 0 0 24px;          /* on enlève "auto" qui centr
alise le bloc */
}

.plans-head h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.plans-head p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Grille de cartes – même esprit que les autres cards */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.plan-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.plan-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.plan-tagline {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 10px;
}

.plan-card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  color: var(--text-light);
}

.plan-card ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--primary);
}

.plan-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Carte du milieu légèrement mise en avant mais toujours dans le même style */
.plan-card-highlight {
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* SECTION 4 : Témoignages clients (sans photos) */
.testimonials {
  background: #ffffff;
  padding: 60px 0;
}

/* Titre testimon
ials aligné comme le hero */
.testimonials-head {
  text-align: left;
  max-width: 100%;       /* plus de bloc centré étroit */
  margin: 0 0 28px;      /* on enlève 0 auto */
}

.testimonials-head h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.testimonials-head p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Grille des témoignages */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.testimonial-card {
  background: var(--bg-hero);
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 4px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--primary-dark);
  white-space: nowrap;
}

/* CTA bas de section */
.testimonials-cta {
  text-align: center;
  font-size: 0.95rem;
}

.testimonials-cta p {
  margin-bottom: 10px;
  color: var(--text-light);
}

/* SECTION CTA : Call to action final */
.cta {
  background: linear-gradient(to bottom, #ffffff, var(--bg-hero));
  padding: 70px 0 80px;
  text-align: center;
}

.cta-inner {
  display: flex;
  justify-content: center;
}

.cta-content {
  max-width: 560px;
}

.cta h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.cta p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 8px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* FOOTER */
.footer {
  background: #111111; /* noir profond, cohérent avec ton logo */
  color: #e5e7eb;
  padding: 40px 0 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 24px;
}

/* Colonne marque */
.footer-brand {
  font-size: 0.9rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-text strong {
  font-size: 1rem;
}

.footer-logo-text span {
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-desc {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Colonnes liens */
.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-subtitle {
  margin-top: 14px;
}

.footer-col ul {
  list-style: none;
  font-size: 0.85rem;
}

.footer-col li + li {
  margin-top: 4px;
}

.footer-col a {
  color: #d1d5db;
}

.footer-col a:hover {
  color: var(--primary);
}

/* Bas de footer */
.footer-bottom {
  border-top: 1px solid #1f2933;
  padding: 10px 0 14px;
  margin-top: 4px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ANIMATIONS / FLUIDITÉ SUR BOUTONS & CARTES */
.btn-primary,
.btn-secondary,
.plan-card,
.hero-main-card,
.testimonial-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.plan-card:hover,
.hero-main-card:hover,
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* EXTRA MOBILE < 600px : HEADER & NAV */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .logo {
    margin-bottom: 4px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 0;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
    margin-top: 6px;
  }
}
/* EXTRA MOBILE < 600px : GRID EN 1 COLONNE */
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .value-inner {
    grid-template-columns: 1fr;
  }
}



  nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    margin-top: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-right {
    order: -1; /* visuel au-dessus sur mobile */
  }

  .hero {
    padding: 40px 0 50px;
  }

  .value-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-row {
    grid-template-columns: 1fr;
  }

  .plans-wrapper {
    padding: 24px 0 22px; /* sans padding horizontal même en mobile */
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card-highlight {
    box-shadow: var(--shadow-soft);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .cta {
    padding: 60px 0 60px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

header {
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.header-scrolled {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* HEADER GLOBAL */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: blur(0px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease,
    padding 0.25s ease;
}

/* Ligne de nav à l'intérieur */
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo-text strong {
  font-size: 1rem;
}

.logo-text span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* NAV LINKS */
nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

/* BOUTON HEADER */
.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

/* ÉTAT SCROLLÉ : plus pro, plus compact */
.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.site-header.header-scrolled .nav {
  padding: 10px 0;
}

.site-header.header-scrolled .logo img {
  transform: scale(0.9);
  opacity: 0.95;
}

.site-header.header-scrolled .nav-cta {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
/* EXTRA MOBILE < 600px : HEADER & NAV */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .logo {
    margin-bottom: 4px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 0;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
    margin-top: 6px;
  }
}

/* BOUTON MENU (DESKTOP : CACHÉ) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-dark);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .site-header .nav {
    position: relative;
    padding: 10px 0;
  }

  /* On affiche le bouton menu */
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  /* On cache le menu et le bouton CTA par défaut */
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 8px 16px 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    z-index: 40;
  }

  .nav-cta {
    display: none;
  }

  /* Quand le menu est ouvert */
  .site-header.nav-open nav ul {
    display: flex;
  }

  .site-header.nav-open .nav-cta {
    display: block;
    margin-top: 8px;
    align-self: stretch;
    text-align: center;
  }

  /* Petite animation du burger en croix */
  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}
