:root{
  --dark:#0A0A1A;
  --violet:#8A2BE2;
  --cyan:#00FFFF;
  --white:#FFFFFF;
  --muted:#E0E0E0;
  --text:#333333;
  --light-gray:#F8F9FA;
  --card-border:#CCCCCC;
  --container-max:1100px;
  --radius:10px;
  --ff-head: 'Montserrat', sans-serif;
  --ff-body: 'Open Sans', sans-serif;
}

/* Reset-ish */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* Accessibility skip link */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:1rem; top:1rem; width:auto; height:auto; padding:.5rem 1rem;
  background:var(--violet); color:var(--white); z-index:9999; border-radius:6px;
}

/* Container */
.container{
  width:95%;
  max-width:var(--container-max);
  margin:0 auto;
}

/* Header */
.site-header{
  background:var(--white);
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:40;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 0;
}
.brand{display:flex;align-items:center;gap:.7rem}
.brand-text strong{display:block;font-family:var(--ff-head);font-size:1rem}
.brand-text small{display:block;font-size:.8rem;color:var(--muted)}
.nav ul{display:flex;gap:1rem;list-style:none;padding:0;margin:0}
.nav a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav a:hover {
  color: var(--violet);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 0.3s ease;
}
.nav a:hover::after {
  width: 100%;
}

/* Hero */
.section { padding:3.2rem 0; }
.section-dark { background: linear-gradient(180deg, var(--dark), #05050a); color:var(--white); }
.hero { padding:3.5rem 0; }
.hero-grid{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:2rem;
  align-items:center;
}
.hero-content h1{
  font-family:var(--ff-head);
  font-weight:700;
  font-size:48px;
  line-height:1.02;
  color:var(--white);
  margin:0 0 .4rem 0;
}
.hero-content .accent-v{ color:var(--violet); display:block; }
.subhead{ font-family:var(--ff-head); font-weight:600; color:var(--cyan); font-size:24px; margin:.4rem 0 1rem 0;}
.hero-copy{ color:#E0E0E0; font-size:18px; margin:0 0 1rem 0; }
.hero-cta{ display:flex; align-items:center; gap:1rem; margin-top:1rem; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.6rem; padding:.85rem 1rem; border-radius:8px; border:0; cursor:pointer; text-decoration:none; font-weight:700; font-family:var(--ff-head); }
.btn-primary{ background:var(--violet); color:var(--white); box-shadow: none;}
.btn-primary:hover{ box-shadow:0 6px 18px rgba(10,10,26,.3); filter:brightness(.98); outline: none; }
.caption{ font-size:14px; color:var(--cyan); margin:0; }

/* Hero visual */
.hero-visual{ display:block; max-width:480px; margin:auto; }


/* White section narrow */
.white-section{ background:var(--white); color:var(--text); }
.narrow{ max-width:800px; margin:0 auto; }
.section-title{ font-family:var(--ff-head); font-weight:600; font-size:36px; color:var(--dark); margin-bottom:.6rem;}
.lead{ font-size:16px; color:var(--text); margin-bottom:1rem;}

/* Bulleted list */
.bulleted-list{ list-style:none; padding:0; margin:1rem 0; display:flex; flex-direction:column; gap:.8rem;}
.bulleted-list li{ background:transparent; padding-left:2.6rem; position:relative; }
.bulleted-list .bullet{ position:absolute; left:0; top:0; font-size:1.1rem; color:var(--violet); }

/* Quote */
.quote{ border-left:4px solid var(--violet); background:#F5F5F5; padding:1rem 1rem 1rem 1rem; margin:1.2rem 0; color:var(--text); font-style:italic; }

/* Light gray */
.light-gray{ background:var(--light-gray); color:var(--text); }

/* Cards grid */
.cards-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.2rem; margin-top:1rem; }
.card{ border:1px solid var(--card-border); padding:1rem; border-radius:8px; background:var(--white); box-shadow:0 2px 6px rgba(12,12,12,0.04);}
.card-icon{ font-size:22px; color:var(--cyan); margin-bottom:.4rem; }
.card-title{ font-family:var(--ff-head); font-size:18px; color:var(--violet); margin:0 0 .4rem 0; }
.benefit{ margin-top:.6rem; font-weight:600; color:#444; }

/* Trust section */
.section-trust{ background:var(--dark); color:var(--white); padding:2.4rem 0; }
.trust-grid{ display:grid; grid-template-columns:220px 1fr; gap:1.4rem; align-items:center; }
.white{ color:var(--white); }
.trust-text{ color: #E0E0E0; }

/* Checklist */
.checklist{ list-style:none; padding:0; margin-top:1rem; display:flex; flex-direction:column; gap:.6rem; }
.check{ color:var(--cyan); margin-right:.6rem; font-weight:700; }

/* FAQ Accordion */
.accordion .acc-item{ margin-bottom:.8rem; border-radius:8px; overflow:hidden; border:1px solid #eee;}
.acc-toggle{
  width:100%;
  text-align:left;
  padding:1rem;
  background:#F5F5F5;
  border:0;
  display:flex;justify-content:space-between; align-items:center;
  font-family:var(--ff-head); font-size:18px; color:var(--dark);
  cursor:pointer;
}
.acc-icon{ color:var(--violet); font-weight:700; margin-left:1rem;}
.acc-panel{ display:none; padding:1rem; background:white; color:var(--text); }

/* Final CTA */
.section-cta{ background: linear-gradient(180deg, var(--violet), var(--dark)); color:var(--white); padding:2.5rem 0; }
.cta-grid{ display:flex; gap:2rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.cta-content h2{ font-size:36px; margin:0 0 .4rem 0; font-family:var(--ff-head); }
.cta-form{ display:flex; gap:.6rem; align-items:center; }
.cta-form input{ padding:.7rem .8rem; border-radius:8px; border:2px solid var(--violet); min-width:160px; }
.btn-cta{ background:var(--cyan); color:var(--dark); padding:0.8rem 1rem; border-radius:10px; font-weight:800; }

/* Download form */
.download-form{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; align-items:end; margin-top:1rem; }
.form-row label{ display:block; font-size:.9rem; margin-bottom:.25rem; }
.download-form input{ padding:.65rem .8rem; border-radius:8px; border:1px solid #ddd; font-size:1rem; }
.form-actions{ display:flex; align-items:center; gap:1rem; margin-top:.4rem; }
.form-feedback{ font-size:.95rem; color:green; }

/* Footer */
.site-footer{ border-top:1px solid #eee; padding:1.2rem 0; background:#fff; color:#222; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; }
.link-btn{ background:none; border:0; color:var(--violet); cursor:pointer; text-decoration:underline; font-weight:600; padding:0.2rem 0; }

/* Floating WhatsApp */
.whatsapp-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  background:linear-gradient(180deg,#25D366,#1DA851);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 26px rgba(10,10,10,0.25);
  z-index:60;
  text-decoration:none;
}

/* Modal */
.modal{ display:none; position:fixed; inset:0; z-index:80; align-items:center; justify-content:center; }
.modal[aria-hidden="false"]{ display:flex; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,0.5); }
.modal-panel{ position:relative; background:var(--white); width:min(980px,95%); max-height:85vh; border-radius:10px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 30px 80px rgba(10,10,10,0.6); }
.modal-header{ display:flex; align-items:center; justify-content:space-between; padding:1rem 1.2rem; border-bottom:1px solid #eee; }
.modal-body{ padding:1rem 1.2rem; overflow:auto; }
.modal-footer{ padding:1rem; border-top:1px solid #eee; display:flex; justify-content:flex-end; gap:.5rem; }
.modal-close{ background:none; border:0; font-size:1.2rem; cursor:pointer; }

/* Utilities */
.visually-hidden{ position:absolute!important; height:1px;width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
.small{ font-size:13px; color:#666; }

/* Responsive */
@media (max-width:1000px){
  .hero-grid{ grid-template-columns:1fr 320px; }
  .cards-grid{ grid-template-columns:1fr 1fr; }
  .trust-grid{ grid-template-columns:1fr; text-align:center; }
  .trust-grid .photo{ margin:0 auto; }
  .cta-form{ flex-direction:column; align-items:stretch; }
}

@media (max-width:720px){
  .hero-grid{ grid-template-columns:1fr; gap:1.4rem; text-align:left; }
  .hero-content h1{ font-size:32px; }
  .hero-visual{ order:2; }
  .nav ul{ display:none; }
  .cards-grid{ grid-template-columns:1fr; }
  .container{ width:94%; }
}

.brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-text strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.brand-text small {
  display: block;
  font-size: 0.8rem;
  color: #555;
}

.brand-text small strong {
  color: var(--violet);
  font-weight: 700;
}

/* Effet global sur tous les boutons */
.btn,
.btn-primary,
.btn-cta {
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

/* Hover */
.btn:hover,
.btn-primary:hover,
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 24px rgba(138, 43, 226, 0.35),
    0 0 18px rgba(0, 255, 255, 0.35);
  filter: brightness(1.05);
}

/* Active (clic) */
.btn:active,
.btn-primary:active,
.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Effet hover sur les questions FAQ */
.acc-toggle {
  transition: 
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.acc-toggle:hover {
  background-color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(10, 10, 26, 0.08);
  transform: translateY(-2px);
}

/* Icône + change de couleur au survol */
.acc-toggle:hover .acc-icon {
  color: var(--cyan);
}

/* Question ouverte = plus marquée */
.acc-toggle[aria-expanded="true"] {
  background-color: #FFFFFF;
  box-shadow: inset 4px 0 0 var(--violet);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 24px 48px rgba(10, 10, 26, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 64px rgba(10, 10, 26, 0.45),
    0 0 24px rgba(0, 255, 255, 0.25);
}

.highlight-loss {
  color: #8A2BE2; /* Violet principal */
  font-weight: 700;
  position: relative;
}

.highlight-loss::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: #00FFFF; /* Cyan accent */
  border-radius: 2px;
}

.flag-974 {
  width: 22px;
  height: auto;
  margin-left: 6px;
  vertical-align: middle;
}

.photo {
  width: 96px;
  height: 96px;
  margin: auto;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(10, 10, 26, 0.25);
  display: block;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #F8F9FA; /* gris clair déjà utilisé sur la page */
  color: #0A0A1A; /* texte sombre */
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  margin-top: 16px;
}

.btn-secondary:hover {
  background-color: #E0E0E0; /* légère variation gris */
  border-color: #00FFFF; /* optionnel, accent cyan au hover */
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.2);
  cursor: pointer;
}

.site-footer {
  background-color: #0A0A1A; /* rappel dark theme */
  color: #E0E0E0;
  padding: 32px 16px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 16px; /* espace entre Contact et Mentions Légales */
  margin-bottom: 16px;
}

.footer-buttons .btn-secondary {
  padding: 10px 24px;
  font-size: 15px;
  text-decoration: none;
}

.footer-buttons .link-btn {
  padding: 10px 24px;
  font-size: 15px;
  color: #00FFFF;
  background: transparent;
  border: 1px solid #00FFFF;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-buttons .link-btn:hover {
  background-color: #00FFFF;
  color: #0A0A1A;
}

.footer-copyright {
  font-size: 14px;
  color: #AAAAAA;
  line-height: 1.5;
}

.section-reviews {
  margin: 48px auto;
  max-width: 1200px;
  padding: 0 16px;
}

.reviews-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #0A0A1A;
  text-align: center;
  margin-bottom: 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  background-color: #F5F5F5;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(10,10,26,0.05);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-name {
  font-weight: 600;
  color: #0A0A1A;
}

.review-stars {
  color: #FFBF00; /* doré pour étoiles */
  font-size: 14px;
}

.review-summary {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.review-link {
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.review-link-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.review-link-url {
  color: #8A2BE2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.review-link-url:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Masquer le modal par défaut */
#cgv-modal.hidden {
  display: none;
}

/* Scrollable si le contenu dépasse */
#cgv-modal .overflow-y-auto {
  overflow-y: auto;
}

/* Ajouts manquants pour les couleurs */
.accent-p { color: var(--violet); }
.accent-c { color: var(--cyan); }

/* --- INTEGRATION BREVO CUSTOM --- */

/* Ajustement conteneur section */
.cta-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* Reset du conteneur Brevo */
.sib-form-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Grille du formulaire : Responsive */
.form-grid-brevo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* Style des champs (Inputs) */
.form-grid-brevo input.input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255,255,255,0.3); /* Bordure subtile sur fond foncé */
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--dark);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-grid-brevo input.input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.2);
}

/* Le bouton (réutilise tes styles btn-cta) */
.submit-group {
  display: flex;
}
.sib-form-block__button {
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  /* On force le style car le JS Brevo essaie parfois de le changer */
  background-color: var(--cyan) !important; 
  color: var(--dark) !important;
  border-radius: 8px !important;
}

/* Case à cocher RGPD */
.legal-check {
  margin-bottom: 1.5rem; /* Espace avant le bouton */
    margin-top: 1.5rem; /* Espace avant le bouton */
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  text-align: left;
  display: flex;
  justify-content: center;
}

.legal-check label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  max-width: 650px;
  line-height: 1.4;
}

.legal-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--cyan); /* Le check sera de la couleur de ton site */
}

.submit-group {
  display: flex;
  justify-content: center;
  width: 100%;
}

.submit-group .btn-cta {
  min-width: 300px; /* Donne du poids au bouton */
  padding: 1.2rem 2.5rem;
}

/* Messages Succès / Erreur */
.sib-form-message-panel {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}
#success-message {
  background: #e7faf0;
  color: #085229;
  border: 1px solid #13ce66;
}
#error-message {
  background: #ffeded;
  color: #661d1d;
  border: 1px solid #ff4949;
}
.hidden { display: none; }

/* Style des messages d'erreur Brevo */
/* --- STYLE DES ERREURS BREVO --- */

/* 1. L'input lui-même quand il est en erreur */
.sib-input .input.input_error, 
.sib-input .input:invalid:not(:placeholder-shown) {
  border: 2px solid #ff4949 !important; /* Bordure rouge vive */
  background-color: #fff0f0 !important; /* Fond légèrement rouge */
  box-shadow: 0 0 8px rgba(255, 73, 73, 0.3); /* Halo rouge */
  animation: shake 0.4s ease-in-out; /* Petit effet de secousse */
}

/* 2. Le texte "Ce champ est obligatoire" sous l'input */
.entry__error {
  display: block;
  color: #ff4949;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 5px;
  text-align: left;
  font-family: var(--ff-body);
}

/* 3. Cas particulier de l'Opt-in (la checkbox) */
/* Si la checkbox est obligatoire et non cochée, on peut colorer le texte de l'étiquette */
.sib-optin .entry__error {
  text-align: center;
  margin-top: 10px;
}

/* Animation de secousse pour les champs en erreur */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Optionnel : cacher le message d'erreur global de Brevo en haut s'il fait doublon */
#error-message {
  border-left: 5px solid #ff4949;
  background: #fff0f0;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* --- MISE EN ÉVIDENCE DES ERREURS (FIX TRIANGLES) --- */

/* --- VALIDATION LOOK CAPTURE --- */

/* 1. État d'erreur sur l'input (Cible la classe injectée par main.js) */
.sib-form .sib-input_error .input,
.sib-form .input.input_error {
  border: 2px solid #ff4949 !important;
  background-color: #fff0f0 !important;
  animation: shake 0.4s ease-in-out !important;
}

/* 2. Message d'erreur textuel */
.entry__error.entry__error--primary {
  display: none; /* Caché par défaut */
  color: #ff4949 !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  margin-top: 8px !important;
  text-align: left !important;
}

/* 3. Affiche le message ET le triangle UNIQUEMENT s'il y a une erreur */
.sib-input_error .entry__error.entry__error--primary:not(:empty) {
  display: flex !important;
  align-items: center;
}

.sib-input_error .entry__error.entry__error--primary:not(:empty)::before {
  content: '⚠️';
  margin-right: 6px;
  font-size: 1rem;
}

/* 4. Animation de secousse */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}


/* Optionnel : mettre l'astérisque en couleur accentuée dans le placeholder */
input::placeholder {
  color: #666;
}