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

/* Lien d'évitement (skip link) */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100000;
  background: var(--color-primary);
  color: white;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Indicateur de focus clavier visible sur tous les éléments interactifs */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Les inputs ont leur propre style de focus (border + box-shadow) */
input:focus-visible,
textarea:focus-visible {
  outline: none;
}

/* main avec tabindex="-1" ne doit pas afficher d'outline */
main:focus {
  outline: none;
}

/* Réduction des animations pour les utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade {
    opacity: 1 !important;
    transform: none !important;
  }
}

:root {
  /* Bleu principal */
  --color-primary:      #0b3d85;
  --color-primary-dark: #083470;
  --gradient-primary:   linear-gradient(to right, #083470, #0b3d85);

  /* Fonds sombres */
  --color-navy:         #0a2540;
  --color-footer-bg:    #0c2554;

  /* Texte */
  --color-text:         #334155;
  --color-text-muted:   #475569;
  --color-text-light:   #64748b;
  --color-text-xlight:  #94a3b8;

  /* Footer */
  --color-footer-copy:  #93afd4;
  --color-blue-light:   #bfdbfe;
  --color-blue-xlight:  #dbeafe;

  /* Bordures / inputs */
  --color-border:       #cbd5f5;
  --color-border-popup: #cbd5e1;

  /* Fond de page */
  --color-bg:           #eef2f7;

  /* Accents */
  --color-danger:       #e63946;
  --color-whatsapp:     #25D366;

  /* Typographie */
  --font-primary: Poppins;

  /* Ombres */
  --shadow-card: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-btn:  0 8px 20px rgba(0,0,0,0.2);

  /* Border-radius */
  --radius-pill: 30px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow:   0.4s ease;
}


body {
  margin: 0;
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

section {
  padding: 90px 20px;
}

.hero {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 140px 20px;
}

.hero img {
  width: 180px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  color: var(--color-blue-xlight);
  margin-bottom: 40px;
}

.btn {
  background: white;
  color: var(--color-primary);
  padding: 16px 36px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

h2 {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-primary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 25px;
  padding: 35px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-blue-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.card ul {
  padding-left: 18px;
  color: var(--color-text-muted);
}

.card small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-text-xlight);
}

.card button {
  display: block;
  margin: auto auto 0;
}

.price {
  font-size: 36px;
  font-weight: bold;
  margin: 20px 0;
}

.center {
  text-align: center;
}

.intro-text {
  text-align: center;
}

.contact-box {
  max-width: 600px;
  margin: auto;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-sizing: border-box;
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11,61,133,0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-xlight);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-required {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-left: 4px;
}

.form-required-note {
  font-size: 12px;
  color: var(--color-text-light);
  margin: 0 0 20px;
  text-align: left;
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--color-whatsapp);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
}

footer {
  background: var(--color-footer-bg);
  color: var(--color-blue-light);
  text-align: center;
  padding: 40px 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--color-blue-light);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-footer-copy);
  margin: 0;
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
  overflow: hidden;
}

.faq-item[open] .faq-answer,
.faq-item.closing .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.closing .faq-answer {
  grid-template-rows: 0fr;
}

.faq-item {
  margin-bottom: 10px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

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

.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--color-border);
}

/* chevron CSS pour les items — on masque le "+" et on dessine une flèche */
.faq-item .faq-icon {
  font-size: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-item .faq-icon::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-light);
  border-bottom: 2px solid var(--color-text-light);
  transform: rotate(45deg);
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(-135deg);
  top: 6px;
}

.faq-item.closing .faq-icon::after {
  transform: rotate(45deg);
  top: 3px;
}

.faq-answer p {
  min-height: 0;
  padding: 14px 20px;
  color: var(--color-text-muted);
  margin: 0;
}

.contact-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition-normal);
  z-index: 999;
}

.contact-btn.hide {
  opacity: 0;
  pointer-events: none;
}

.badge-promo {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-danger);
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 10px;
  font-weight: bold;
}

/* Conteneur centré avec flex */
.guide-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

/* Bouton Guide fiscal B2B */
.btn-guide {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: var(--gradient-primary);
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 1.5rem 3rem;
  border-radius: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  text-align: center;
}

.btn-guide:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.hero-video {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-primary);
}

.hero-video video {
  width: 100%;
  height: 100%;
}

.hero-text {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero-text .btn {
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
  padding: 14px 32px;
}

.section-white {
  background: white;
  padding: 0;
}

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

#faq {
  padding: 30px 20px 40px;
}

#expertise {
  padding-bottom: 40px;
}

#avantages {
  padding-top: 40px;
}

.tarif-list {
  text-align: left;
  list-style-position: inside;
}

.card-featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

.btn-forfaits {
  background: var(--gradient-primary);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

.contact-section {
  max-width: 100%;
  background: white;
  padding: 50px 20px;
  text-align: center;
}

.contact-section > * {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-primary);
}

#form-message {
  display: none;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

#form-message.form-success {
  display: block;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

#form-message.form-error {
  display: block;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.field-error {
  display: block;
  color: var(--color-danger);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}

input.input-error,
textarea.input-error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}

/* ===== PAGES LÉGALES ===== */
.legal-page {
  min-height: 100vh;
  padding: 50px 20px 80px;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 28px;
  padding: 9px 18px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.legal-back:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transform: translateX(-2px);
}

.legal-card {
  background: white;
  border-radius: 20px;
  padding: 50px 60px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-blue-light);
}

.legal-card > h1 {
  color: var(--color-primary);
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 6px;
  line-height: 1.3;
}

.legal-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0 0 36px;
  font-size: 14px;
}

.legal-section {
  padding: 22px 0;
  border-top: 1px solid var(--color-border);
}

.legal-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-section h2 {
  color: var(--color-primary);
  font-size: 0.95rem;
  text-align: left;
  margin: 0 0 10px;
  font-weight: 700;
}

.legal-section h3 {
  color: var(--color-text);
  font-size: 0.9rem;
  margin: 14px 0 6px;
  font-weight: 700;
}

.legal-section p,
.legal-section ul {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.legal-section p {
  margin: 0 0 10px;
  font-size: 15px;
}

.legal-section ul {
  padding-left: 22px;
  margin: 8px 0;
}

.legal-section li {
  margin-bottom: 4px;
  font-size: 15px;
}

.legal-section a {
  color: var(--color-primary);
}

.legal-section strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-brand {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--color-border);
}

.legal-brand strong {
  color: var(--color-primary);
  font-size: 15px;
}

.legal-brand p {
  margin: 2px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.legal-update {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 600;
}

/* reCAPTCHA v3 — badge masqué, mention légale obligatoire dans le formulaire */
.grecaptcha-badge {
  visibility: hidden;
}

/* ===== GUIDE FISCAL B2B ===== */
.guide-header {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 28px 24px 22px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.guide-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guide-header-brand {
  font-size: 1rem;
  font-weight: 600;
  color: #f0c040;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.guide-intro-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 10px;
}

.guide-intro {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.guide-section {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.guide-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.guide-section-header h2 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  background: var(--color-primary);
  padding: 6px 16px;
  border-radius: 20px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.guide-section p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.guide-example {
  border-left: 3px solid #f0c040;
  padding: 10px 16px;
  margin: 12px 0 0;
  background: #fffbeb;
  border-radius: 0 8px 8px 0;
}

.guide-example p {
  margin: 0 0 6px;
}

.guide-example p:last-child {
  margin: 0;
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.guide-list li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.guide-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #f0c040;
  font-size: 10px;
  top: 5px;
}

.guide-tip {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.guide-footer-note {
  text-align: center;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.recaptcha-notice {
  font-size: 11px;
  color: var(--color-text-xlight);
  margin-top: 14px;
  text-align: center;
}

.recaptcha-notice a {
  color: var(--color-text-light);
  text-decoration: underline;
}

.hero-header {
  position: relative;
}

/*
.promo-banner {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

/* Bande diagonale du ruban 
.promo-banner-inner {
  position: absolute;
  top: 38px;
  right: -52px;
  width: 210px;
  padding: 12px 0;
  background: linear-gradient(180deg, #e8404e 0%, #c7293a 100%);
  color: white;
  text-align: center;
  transform: rotate(45deg);
  text-decoration: none;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  transition: filter var(--transition-fast);
}

.promo-banner-inner:hover {
  filter: brightness(1.08);
}

/* Triangles de repli aux extrémités — effet ruban de cadeau 
.promo-banner-inner::before,
.promo-banner-inner::after {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 0;
  height: 0;
}

.promo-banner-inner::before {
  left: 0;
  border-right: 8px solid #7a1520;
  border-bottom: 8px solid transparent;
}

.promo-banner-inner::after {
  right: 0;
  border-left: 8px solid #7a1520;
  border-bottom: 8px solid transparent;
}

.promo-banner-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

.promo-banner-promo {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

/* Bouton fermer — dans le coin de la zone de débordement 
.promo-banner-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #c7293a;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  z-index: 11;
  transition: background var(--transition-fast);
}

.promo-banner-close:hover {
  background: #a02030;
}

.promo-banner.hidden {
  display: none;
}
*/

/* ==============================================
   RESPONSIVE — tous écrans
   ============================================== */

/* ---- iPhone 16 Pro et mobiles (≤ 430px) ---- */
@media (max-width: 430px) {

  .hero-video {
    height: 200px;
  }

  .hero-text {
    padding: 30px 16px;
  }

  .hero-text h1 {
    font-size: 21px;
    line-height: 1.4;
  }

  .hero-text p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-text .btn {
    font-size: 14px;
    padding: 13px 20px;
    white-space: normal;
    line-height: 1.4;
    max-width: 90%;
  }

  section {
    padding: 44px 16px;
  }

  h2 {
    font-size: 1.25rem;
    margin-bottom: 36px;
  }

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

  .card {
    padding: 22px 18px;
  }

  .price {
    font-size: 26px;
  }

  .btn-guide {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 340px;
  }

  .btn-forfaits {
    font-size: 15px;
    padding: 14px 24px;
    width: 100%;
    max-width: 340px;
  }

  .card button,
  .card .btn {
    width: 100%;
    max-width: 280px;
    padding: 13px 16px;
    font-size: 14px;
    margin: 14px auto 0;
  }

  .contact-section {
    padding: 40px 16px;
  }

  .contact-intro {
    font-size: 1.5rem;
  }

  input, textarea {
    font-size: 16px; /* évite le zoom auto iOS */
  }

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

  .promo-banner {
    width: 130px;
    height: 130px;
  }

  .promo-banner-inner {
    top: 28px;
    right: -46px;
    width: 165px;
    padding: 7px 36px;
    gap: 1px;
  }

  .promo-banner-title {
    font-size: 8px;
  }

  .promo-banner-promo {
    font-size: 10px;
  }

  footer {
    padding: 28px 16px;
    font-size: 12px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer-copy {
    font-size: 12px;
    line-height: 1.6;
  }

  .contact-btn {
    padding: 12px 18px;
    font-size: 14px;
    bottom: 16px;
    right: 16px;
  }

  .legal-page {
    padding: 28px 16px 60px;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .legal-card > h1 {
    font-size: 1.2rem;
  }
}

/* ---- iPad mini (431px – 768px) ---- */
@media (min-width: 431px) and (max-width: 768px) {
  .hero-video {
    height: 210px;
  }

  .hero-text {
    padding: 32px 24px;
  }

  .hero-text h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-text p {
    font-size: 15px;
  }

  section {
    padding: 60px 24px;
  }

  h2 {
    font-size: 1.35rem;
    margin-bottom: 40px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Tarifs : 1 colonne centrée pour éviter cartes trop étroites */
  #tarifs .grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .card {
    padding: 28px 22px;
  }

  .price {
    font-size: 30px;
  }

  .btn-guide {
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .btn-forfaits {
    font-size: 16px;
    padding: 15px 30px;
  }

  .card button,
  .card .btn {
    display: block;
    margin: 16px auto 0;
    width: 85%;
    padding: 14px 18px;
    font-size: 15px;
  }

  .contact-intro {
    font-size: 1.8rem;
  }

  .contact-btn {
    padding: 14px 22px;
  }

  .legal-card {
    padding: 32px 28px;
  }
}

/* ---- iPad (769px – 1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-video {
    height: 240px;
  }

  .hero-text {
    padding: 40px 30px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  section {
    padding: 72px 24px;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 48px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }

  .card {
    padding: 30px 24px;
  }

  .price {
    font-size: 32px;
  }

  .btn-guide {
    font-size: 1.05rem;
    padding: 1.1rem 2.2rem;
  }

  .btn-forfaits {
    font-size: 17px;
    padding: 16px 36px;
  }

  .card button,
  .card .btn {
    display: block;
    margin: 18px auto 0;
    width: 85%;
    padding: 15px 20px;
    font-size: 15px;
  }

  .contact-intro {
    font-size: 2rem;
  }
}

/* ---- MacBook 13" (1025px – 1280px) ---- */
@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    max-width: 980px;
  }

  .hero-video {
    height: 260px;
  }
}

/* ---- MacBook 14" (1281px – 1512px) ---- */
@media (min-width: 1281px) and (max-width: 1512px) {
  .container {
    max-width: 1100px;
  }

  .hero-video {
    height: 290px;
  }
}

/* ---- MacBook 16" (1513px – 1800px) ---- */
@media (min-width: 1513px) and (max-width: 1800px) {
  .container {
    max-width: 1300px;
  }

  .hero-video {
    height: 340px;
  }

  .hero-text {
    padding: 55px 30px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 1.9rem;
    margin-bottom: 65px;
  }

  section {
    padding: 100px 30px;
  }

  .price {
    font-size: 40px;
  }

  .card {
    padding: 40px;
  }
}

/* ---- Grand écran 27" (> 1800px) ---- */
@media (min-width: 1801px) {
  .container {
    max-width: 1500px;
  }

  .hero-video {
    height: 420px;
  }

  .hero-text {
    padding: 70px 40px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 2.2rem;
    margin-bottom: 72px;
  }

  section {
    padding: 110px 40px;
  }

  .price {
    font-size: 44px;
  }

  .card {
    padding: 45px;
  }

  .contact-section > * {
    max-width: 750px;
  }

  .btn-guide {
    font-size: 1.4rem;
    padding: 1.6rem 3.4rem;
  }

  .faq-question {
    font-size: 18px;
    padding: 22px 24px;
  }

  .faq-answer p {
    padding: 18px 24px;
  }
}
