/* ==========================================================================
   IP-44 INFORMATIQUE PRESTATIONS — FEUILLE DE STYLE MODERNE ULTRA-RAPIDE
   Modèle 100% Contrats de Maintenance Particuliers & Professionnels
   ========================================================================== */

:root {
  --bg-dark: #1e2227;
  --bg-header: #111215;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-double: rgba(255, 255, 255, 0.35);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-heading: #ffffff;
  --btn-blue: #2563eb;
  --btn-blue-hover: #1d4ed8;
  --btn-green1: #16a34a;
  --btn-green1-hover: #15803d;
  --btn-green2: #059669;
  --btn-green2-hover: #047857;
  --btn-green3: #0d9488;
  --btn-green3-hover: #0f766e;
  --accent-gold: #f59e0b;
  --accent-cyan: #38bdf8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 24px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  background-image: url('../images/bg-dark-pattern.png'), radial-gradient(circle at 50% 0%, #2a3038 0%, #17191d 100%);
  background-repeat: repeat, no-repeat;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.brand-title-mobile {
  display: none;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nav-pill.btn-accueil {
  background: var(--btn-blue);
}
.nav-pill.btn-accueil:hover,
.nav-pill.btn-accueil.active {
  background: var(--btn-blue-hover);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.7);
}

.nav-pill.btn-sos {
  background: var(--btn-green1);
}
.nav-pill.btn-sos:hover,
.nav-pill.btn-sos.active {
  background: var(--btn-green1-hover);
  box-shadow: 0 0 14px rgba(22, 163, 74, 0.7);
}

.nav-pill.btn-virus {
  background: var(--btn-green2);
}
.nav-pill.btn-virus:hover,
.nav-pill.btn-virus.active {
  background: var(--btn-green2-hover);
  box-shadow: 0 0 14px rgba(5, 150, 105, 0.7);
}

.nav-pill.btn-contact {
  background: var(--btn-green3);
}
.nav-pill.btn-contact:hover,
.nav-pill.btn-contact.active {
  background: var(--btn-green3-hover);
  box-shadow: 0 0 14px rgba(13, 148, 136, 0.7);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   LAYOUT CONTAINER
   -------------------------------------------------------------------------- */
.main-wrapper {
  flex: 1;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.double-line {
  border-top: 1px solid var(--border-double);
  border-bottom: 1px solid var(--border-double);
  height: 4px;
  margin: 28px auto;
  max-width: 950px;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   HERO / EN-TÊTE PRINCIPAL
   -------------------------------------------------------------------------- */
.hero-section {
  text-align: center;
  padding: 10px 0 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.hero-years {
  font-size: 1.15rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.antivirus-banner-container {
  margin: 15px auto 25px;
  max-width: 900px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.antivirus-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   BANDEAU CADEAU DE BIENVENUE (3H D'INTERVENTION OFFERTES)
   -------------------------------------------------------------------------- */
.welcome-gift-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.08));
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 25px 0 35px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.gift-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.gift-content h2 {
  color: #fbbf24;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.gift-content p {
  color: #fef3c7;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   GRILLE DES DEUX CONTRATS DE MAINTENANCE (PARTICULIERS & PROS)
   -------------------------------------------------------------------------- */
.contracts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.contract-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contract-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Carrousel visuel chaleureux dans les cartes de contrat */
.card-visual-carousel {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.carousel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.carousel-badge.pro {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

.carousel-caption {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  z-index: 2;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.card-visual-carousel:hover .carousel-nav-btn {
  opacity: 1;
}

.carousel-nav-btn:hover {
  background: rgba(56, 189, 248, 0.8);
  color: #0f172a;
}

.carousel-nav-btn.prev {
  left: 8px;
}

.carousel-nav-btn.next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: #38bdf8;
  transform: scale(1.3);
}

.carousel-dot.active.pro {
  background: #4ade80;
}

.contract-card.featured {
  border: 2px solid #38bdf8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.card-tag {
  position: absolute;
  top: -14px;
  left: 28px;
  background: #2563eb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.card-tag.pro {
  background: #059669;
}

.contract-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 8px;
}

.contract-target {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.price-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: center;
}

.price-main {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-main span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #94a3b8;
}

.price-detail {
  font-size: 0.9rem;
  color: #38bdf8;
  margin-top: 6px;
  font-weight: 600;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.features-list li .check {
  color: #22c55e;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Boutons d'action */
.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.btn-action:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.6);
}

.btn-action.btn-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}
.btn-action.btn-blue:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* --------------------------------------------------------------------------
   SECTION RÉASSURANCE & 10 ANS D'EXPÉRIENCE
   -------------------------------------------------------------------------- */
.trust-banner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 30px;
  margin: 35px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  text-align: center;
}

.trust-item h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 4px;
}

.trust-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   FORMULAIRE DE SOUSCRIPTION & CONTACT RAPIDE
   -------------------------------------------------------------------------- */
.form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.radio-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #38bdf8;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  accent-color: #22c55e;
  width: 20px;
  height: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: #86efac;
  line-height: 1.45;
  margin-top: 15px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-header);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-badge {
  width: 38px;
  height: 38px;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE (Mobile / Tablette)
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .contracts-grid {
    grid-template-columns: 1fr;
  }

  .trust-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .welcome-gift-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

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

  .brand-title-mobile {
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-header);
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-pill {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }
}

/* --------------------------------------------------------------------------
   SECTION FAQ : CE QUE NOUS FAISONS & CE QUE NOUS NE FAISONS PAS
   -------------------------------------------------------------------------- */
.faq-section {
  margin: 45px 0;
}

.faq-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 30px;
}

.faq-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.faq-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 860px) {
  .faq-columns {
    grid-template-columns: 1fr;
  }
}

.faq-column-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-column-card.do {
  border-top: 4px solid #22c55e;
}

.faq-column-card.dont {
  border-top: 4px solid #f59e0b;
}

.faq-column-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-column-title.do {
  color: #86efac;
}

.faq-column-title.dont {
  color: #fde68a;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: #f1f5f9;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-question i {
  font-style: normal;
  font-size: 1.1rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 16px 14px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.faq-tag.tag-do {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.faq-tag.tag-dont {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

/* --------------------------------------------------------------------------
   TUNNEL DE VENTE AUTOMATISÉ : RENDEZ-VOUS VS SOUSCRIPTION IMMÉDIATE
   -------------------------------------------------------------------------- */
.tunnel-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 720px) {
  .tunnel-options-grid {
    grid-template-columns: 1fr;
  }
}

.tunnel-option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tunnel-option-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.tunnel-option-card.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.tunnel-option-card input[type="radio"] {
  margin-top: 4px;
  accent-color: #38bdf8;
  transform: scale(1.2);
  cursor: pointer;
}

.tunnel-card-content {
  flex: 1;
}

.tunnel-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  margin-bottom: 6px;
}

.tunnel-badge.direct {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.tunnel-card-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.tunnel-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Zone du contrat visualisable en ligne */
.contrat-preview-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 16px;
  max-height: 240px;
  overflow-y: auto;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 15px 0 20px;
  border-left: 4px solid #38bdf8;
}

.contrat-preview-box h4 {
  color: #38bdf8;
  margin: 10px 0 4px;
  font-size: 0.92rem;
}

.contrat-preview-box p {
  margin-bottom: 8px;
}

/* Pad de signature électronique HTML5 */
.signature-box {
  background: rgba(15, 23, 42, 0.8);
  border: 2px dashed rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
  text-align: center;
}

.signature-box.signed {
  border-color: #22c55e;
  border-style: solid;
}

.signature-canvas-wrapper {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  margin: 12px auto;
  display: block;
  max-width: 100%;
  cursor: crosshair;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.signature-canvas {
  display: block;
  width: 100%;
  height: 140px;
  touch-action: none;
}

.signature-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-clear-sig {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.btn-clear-sig:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

/* Section Coordonnées bancaires & RIB */
.bank-mandate-card {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}

.bank-mandate-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #38bdf8;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.file-rib-upload {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

/* Grilles de formulaires responsives pour facture conforme, NinjaOne et SEPA */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-grid-civilite {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 15px;
}

.form-grid-cp-ville {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.form-section-title {
  color: #38bdf8;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 25px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: -2px;
  margin-bottom: 15px;
}

.champ-pro-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.hardware-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-grid-2,
  .form-grid-civilite,
  .form-grid-cp-ville,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Mini-Guides SEO Urgence & Réflexes */
.emergency-hub-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(15, 23, 42, 0.95));
  border: 2px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.15);
}

.emergency-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.mini-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 25px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mini-guide-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.mini-guide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mini-guide-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-guide-badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.action-steps-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  counter-reset: guide-step;
}

.action-step-item {
  position: relative;
  padding-left: 45px;
  margin-bottom: 16px;
  line-height: 1.6;
  color: #cbd5e1;
}

.action-step-item::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.guide-callout {
  background: rgba(0, 0, 0, 0.35);
  border-left: 4px solid #22c55e;
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

/* ==========================================================================
   CARROUSEL DYNAMIQUE DE VISUELS CHALEUREUX (CARTES PARTICULIERS & PROS)
   ========================================================================== */
.card-visual-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin: 14px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  background: #0b1120;
  user-select: none;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.04);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(11, 17, 32, 0.95) 0%,
    rgba(11, 17, 32, 0.45) 45%,
    rgba(11, 17, 32, 0.05) 100%
  );
  pointer-events: none;
}

.carousel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.carousel-badge.pro {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.35);
}

.carousel-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 65px;
  z-index: 2;
  text-align: left;
  pointer-events: none;
}

.carousel-caption .caption-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.carousel-caption .caption-subtitle {
  font-size: 0.76rem;
  color: #cbd5e1;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
  font-size: 0.75rem;
}

.card-visual-carousel:hover .carousel-nav-btn {
  opacity: 0.9;
}

.carousel-nav-btn:hover {
  background: #38bdf8;
  color: #0b1120;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
  background: #38bdf8;
  width: 18px;
  border-radius: 4px;
}

.contract-card:hover .card-visual-carousel {
  border-color: rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   EN-TÊTE PRINCIPAL RESPONSIVE
   ========================================================================== */
.page-hero-container {
  text-align: center;
  max-width: 860px;
  margin: 10px auto 25px;
  padding: 0 10px;
}

.page-hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  line-height: 1.22;
}

.page-hero-subtitle {
  color: #38bdf8;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}

.page-hero-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.page-hero-warning {
  color: #f59e0b;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 6px;
}

/* ==========================================================================
   OPTIMISATIONS RESPONSIVE SMARTPHONE (ÉCRANS 320PX - 640PX)
   ========================================================================== */
@media (max-width: 640px) {
  /* Cartes de contrats : aération verticale */
  .contracts-grid {
    gap: 36px !important;
    margin-top: 25px !important;
  }

  .contract-card {
    padding: 24px 16px !important;
    border-radius: 14px !important;
  }

  /* Carrousel mobile ajusté pour zéro rognage et confort total */
  .card-visual-carousel {
    height: 220px !important;
    margin: 12px 0 16px !important;
  }

  .carousel-overlay {
    background: linear-gradient(
      to top,
      rgba(11, 17, 32, 0.97) 0%,
      rgba(11, 17, 32, 0.60) 45%,
      rgba(11, 17, 32, 0.05) 100%
    ) !important;
  }

  .carousel-caption {
    bottom: 10px !important;
    left: 10px !important;
    right: 64px !important;
  }

  .carousel-caption .caption-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
  }

  .carousel-caption .caption-subtitle {
    font-size: 0.73rem !important;
    line-height: 1.32 !important;
    color: #e2e8f0 !important;
  }

  .carousel-badge {
    top: 8px !important;
    left: 8px !important;
    padding: 3px 8px !important;
    font-size: 0.68rem !important;
  }

  .carousel-nav-btn {
    opacity: 0.85 !important; /* Visible immédiatement sur smartphone tactile */
    width: 26px !important;
    height: 26px !important;
  }

  .carousel-prev {
    left: 6px !important;
  }

  .carousel-next {
    right: 6px !important;
  }

  .carousel-dots {
    bottom: 10px !important;
    right: 10px !important;
  }

  /* Prix et boutons pleine largeur confortables */
  .price-main {
    font-size: 2.2rem !important;
  }

  .price-detail {
    font-size: 0.82rem !important;
  }

  .btn-action {
    padding: 14px 16px !important;
    font-size: 0.96rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  /* Formulaire mobile */
  .contact-form {
    padding: 20px 14px !important;
  }

  .signature-canvas {
    height: 130px !important;
  }
}




