/* --- GLOBAL --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  /* ... déjà existant ... */
  position: relative;
  z-index: 1;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(15,15,20,0.6); /* Ajuste la teinte si besoin */
}
.ca-header,
main,
footer {
  position: relative;
  z-index: 1;
}
body {
  background: url("https://raw.githubusercontent.com/GOGOSCHNO/assistantai-site/refs/heads/main/images/galaxia.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
}
main {
  min-height: 80vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.form-container {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
input[type="text"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

label {
  font-weight: 500;
  display: block;
  margin-top: 15px;
}

.form-subsection {
  margin-bottom: 40px;
}
/* ❄️ Fixe la page agenda uniquement */
.agenda-page, .agenda-page html {
  height: 100%;
  overflow: hidden;
}

.agenda-page .overlay {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.agenda-page header.ca-header,
.agenda-page footer.ca-footer {
  flex-shrink: 0;
}

.agenda-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.agenda-page #calendar {
  width: 95vw;
  height: 100%;
  max-height: calc(100vh - 150px); /* Ajuste à ton header+footer */
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}
h2.agenda-title {
  text-align: center;
  margin-top: 2rem;
  color: #4A90E2;
}
ul.terminos-uso {
  margin: 1rem auto 2rem auto;
  padding-left: 1.4rem;
  max-width: 800px;
  line-height: 1.6;
  color: #eee;
}
ul.terminos-uso li {
  list-style-type: disc;
  margin-bottom: 0.7rem;
}
/* Pour améliorer l'apparence du calendrier FullCalendar */
.fc {
  background-color: white;
  border-radius: 12px;
  padding: 10px;
  color: #333;
}

.fc .fc-toolbar-title {
  font-size: 1.5rem;
  color: #4A90E2;
}

.fc-daygrid-event {
  background-color: #4A90E2;
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}
#eventPopup {
  position: fixed;
  z-index: 9999;
  background-color: #ffffff;
  color: #333;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
  width: 260px;
  font-size: 14px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.popup-content {
  flex-grow: 1;
}
#eventPopup.edit-mode {
  justify-content: flex-end;
}
.popup.hidden {
  display: none;
}

.popup-actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.popup-actions button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* =============================== */
/* === Header (3 parties Linear) ==*/
/* =============================== */

.ca-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  }
  
.ca-header-3col {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* gauche / centre / droite */
    padding: 0rem 9rem;
    min-height: 64px;
    gap: 24px;
  }
  
  .ca-header-left,
  .ca-header-right {
    display: flex;
    align-items: center;
  }
  .ca-header-center {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
  
  .ca-header-left { gap: 8px; }
  .ca-header-center { gap: 2px; flex: 1; }
  .ca-header-right { gap: 10px; }
  
  .ca-logo-icon img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    vertical-align: middle;
  }
  .ca-logo-text-img img {
    height: 30px;
    vertical-align: middle;
  }
  
  .ca-btn {
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 1 rem;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    color: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    cursor: pointer;
    display: inline-block;
  }
  .ca-btn.nav-btn:hover {
    background: rgba(74, 144, 226, 0.12);
  }
  .ca-btn-primary {
    background: #4A90E2;
    color: #fff;
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.12);
    border: none;
  }
  .ca-btn-primary:hover {
    background: #3b78b9;
  }
  .ca-btn-outline {
    border: 1.5px solid #fff;
    color: #fff;
    background: none;
  }
  .ca-btn-outline:hover {
    background: #222b3a;
    color: #4A90E2;
    border-color: #4A90E2;
  }
.user-info-wrapper {
  position: relative;
  display: inline-block;
}

.user-info-btn {
  cursor: pointer;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 8px;
  color: #fff;
  background: rgba(74,144,226,0.12);
  transition: background 0.2s;
  user-select: none;
}

.user-info-btn:hover,
.user-info-btn.active {
  background: #223048;
}

.user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #1a2331;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  border-radius: 10px;
  z-index: 500;
  padding: 10px 0;
}

.user-menu.open {
  display: block;
  animation: menuFadeIn 0.18s;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-8px);}
  to   { opacity: 1; transform: translateY(0);}
}
.user-menu button.auth-btn {
  width: 100%;
  border: none;
  background: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0;
  text-align: left;
  transition: background 0.15s;
}
.user-menu button.auth-btn:hover {
  background: #4A90E2;
  color: #fff;
}
.cta-button {
  display: inline-block;
  padding: 12px 32px;
  background: #4A90E2;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  box-shadow: 0 3px 16px rgba(74,144,226,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.cta-button:hover, .cta-button:focus {
  background: #3b78b9;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(74,144,226,0.14);
}
.estado-potencial {
  background-color: rgba(0, 200, 0, 0.25);
  border-left: 4px solid #00cc00;
}
.estado-seguimiento {
  background-color: rgba(255, 165, 0, 0.25);
  border-left: 4px solid #ffa500;
}
.estado-accion {
  background-color: rgba(255, 0, 0, 0.25);
  border-left: 4px solid #ff0000;
}
.estado-info {
  background-color: rgba(70, 130, 180, 0.25);
  border-left: 4px solid #4682b4;
}
.estado-nada {
  background-color: rgba(200, 200, 200, 0.2);
  border-left: 4px solid #aaa;
}
.estado-agendada {
  background-color: rgba(200, 200, 200, 0.25);
  border-left: 4px solid #FFFF00;
}
/* ======== DASHBOARD CRM LAYOUT ======== */
/* === Split layout principal === */
/* === Split layout principal === */
.split-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 5%;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

/* === Colonne texte === */
.hero-text {
  flex: 1;
  max-width: 550px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-text p {
  font-size: 1.15rem;
  color: #dddddd;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-text .cta-button {
  background-color: #007BFF;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.hero-text .cta-button:hover {
  background-color: #0056b3;
}

/* === Colonne image === */
.hero-image {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.hero-image img {
  width: 85%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dashboard-wrapper {
  display: flex;
  gap: 20px;
  padding: 2rem;
  color: white;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
}

.conversation-list,
.conversation-details,
.contact-info {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  overflow-y: auto;
  max-height: 80vh;
}

/* Section 1: Liste des conversations */
.conversation-list {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.conversation-list h3 {
  margin-bottom: 1rem;
}
.conversation-item {
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease;
}
.conversation-item:hover {
  background: rgba(255, 255, 255, 0.25);
}
.conversation-item.active {
  background: #4A90E2;
  color: white;
}

/* Section 2: Détails de conversation */
.conversation-details {
  flex: 2;
  min-width: 450px;
  max-width: 100%;
  -ms-overflow-style: none;  /* IE et Edge */
  scrollbar-width: none;     /* Firefox */
}
.conversation-details::-webkit-scrollbar {
  display: none;
}
.message-block {
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.message-block p {
  margin: 4px 0;
}
.message-block small {
  font-size: 0.8rem;
  color: #ccc;
}
.message-left {
  align-items: flex-start;
}

.message-right {
  align-items: flex-end;
}
.message-admin,
.message-client,
.message-assistant {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-wrap;
  margin-bottom: 5px;
}
.message-client {
  background: #4A90E2;
  color: white;
  border-bottom-left-radius: 0;
}

.message-assistant {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-bottom-right-radius: 0;
}

.message-time {
  align-self: center;
  font-size: 0.75rem;
  color: #ccc;
  text-align: center;
  margin-top: 4px;
}
/* Section 3: Informations du client */
.contact-info {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info h3 {
  margin-bottom: 1rem;
}
.contact-info p {
  margin: 0.6rem 0;
  font-size: 1rem;
}
.auto-reply-title,
.auto-reply-status {
  transition: color 0.3s ease;
  font-weight: bold;
}

.auto-reply-on {
  color: #4A90E2; /* Bleu lumineux */
}

.auto-reply-off {
  color: #888; /* Gris atténué */
}
#conversationMessages {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 70vh; /* ou la valeur actuelle */
}
/* Responsive */
@media (max-width: 900px) {
  .dashboard-wrapper {
    flex-direction: column;
  }
  .conversation-list,
  .conversation-details,
  .contact-info {
    max-width: 100%;
  }
}
.assistant-selection {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.assistant-option {
  border: 2px solid #ccc;
  padding: 20px;
  text-align: center;
  width: 250px;
  border-radius: 20px;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.assistant-option:hover {
  transform: scale(1.03);
  border-color: #4CAF50;
}

.assistant-option img {
  width: 140px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}

.assistant-option.selected {
  border-color: #4CAF50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}
.assistant-option p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}
#progress-bar-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  height: 8px;
  border-radius: 5px;
  margin: 20px auto 10px auto;
  max-width: 700px;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #4A90E2;
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input { display: none; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4A90E2;
}

input:checked + .slider:before {
  transform: translateX(24px);
}
.message-admin {
  background: rgba(255, 230, 120, 0.25); /* Jaune clair transparent */
  color: white;
  border-radius: 18px;
  border-bottom-right-radius: 0;
  padding: 10px 14px;
  max-width: 75%;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-bottom: 5px;
}
/* --- HERO SECTION / SECTIONS GENERALES --- */
main {
  margin-top: 3%;
  flex: 1;
}

main h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

main p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.5;
  margin-bottom: 1rem;
}

main p:last-of-type {
  margin-bottom: 0.5rem; /* réduit la marge du dernier paragraphe */
}
main a {
  color: #4A90E2;
  text-decoration: underline;
}
main a:hover {
  color: #3b78b9;
}
.assistant-option h4 {
  margin-top: 10px;
  font-size: 1.05rem;
  color: #222;
}
/* --- FORMULAIRE (pruebaGratisForm) --- */
#pruebaGratisForm {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: #333;
}

#pruebaGratisForm h2 {
    text-align: center;
    color: #4A90E2;
    margin-bottom: 15px;
}

#pruebaGratisForm label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

#pruebaGratisForm input,
#pruebaGratisForm select,
#pruebaGratisForm textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.whatsapp-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-container input {
    flex: 1;
}
#indicativo {
    width: 80px !important;
    padding: 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
}
#manualIndicativo {
    width: 60px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#numero {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#pruebaGratisForm button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 15px;
    transition: background 0.3s ease;
}
#pruebaGratisForm button:hover {
    background: #3b78b9;
}
.objetivo-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.objetivo-option {
  padding: 12px 18px;
  background: #eee;
  color: #333;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  border: 2px solid transparent;
}

.objetivo-option:hover {
  border-color: #4A90E2;
}

.objetivo-option.selected {
  background: #4A90E2;
  color: white;
  border-color: #4A90E2;
}
/* --- CAROUSEL ASSISTANTS --- */
.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding-bottom: 10px;
}
.carousel {
  display: flex;
  gap: 20px;
  scroll-snap-align: start;
  padding: 10px;
}
.carousel-item {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.carousel-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.carousel-item .role {
  color: #333;
  font-weight: bold;
  font-size: 14px;
}
.producto-resumen {
  background: rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #333;
}
.producto-replegado {
  margin-bottom: 20px;
}
/* --- VIDEO CAROUSEL --- */
.video-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.carousel-video {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.caption {
  color: white;
  font-style: italic;
  text-align: center;
  max-width: 90%;
}
.carousel-controls {
  text-align: center;
  margin-top: 10px;
}
.carousel-controls button {
  background-color: #4A90E2;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  margin: 0 10px;
  font-size: 1.2rem;
  cursor: pointer;
}
.carousel-controls button:hover {
  background-color: #3b78b9;
}
.form-container {
      background: rgba(255, 255, 255, 0.95);
      color: #333;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
      max-width: 700px;
      width: 90%;
      margin: 0 auto;
    }
    h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #4A90E2;
    }

    label {
      font-weight: bold;
      display: block;
      margin-top: 15px;
    }

    input {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 14px;
    }

    .btn {
      width: 100%;
      padding: 12px;
      background-color: #4A90E2;
      color: #fff;
      border: none;
      border-radius: 6px;
      margin-top: 20px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .btn:hover {
      background-color: #3b78b9;
    }

    .google-btn {
      background-color: #db4437;
      margin-top: 10px;
    }

    .link {
      text-align: center;
      margin-top: 15px;
    }

    .link a {
      color: #4A90E2;
      text-decoration: none;
    }

    .link a:hover {
      text-decoration: underline;
    }
.appointment-info {
  background: rgba(74, 144, 226, 0.15);
  padding: 10px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.95rem;
}
.appointment-info h4 {
  margin-bottom: 6px;
  color: #4A90E2;
}
.appointment-info p {
  margin: 4px 0;
}
/* ====================== */
  /* ======= FOOTER ======= */
  /* ====================== */
  .ca-footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    text-align: center;
    padding: 1.2rem 0.5rem 1.3rem 0.5rem;
    font-size: 0.95rem;
    margin-top: 50px;
  }
  .ca-footer a {
    color: #4A90E2;
    text-decoration: none;
    margin: 0 7px;
  }
  .ca-footer a:hover {
    text-decoration: underline;
  }
/* === Header Mobile Linear Style === */
.ca-header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.1rem;
}

.ca-header-mobile .ca-header-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ca-header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
.carousel-container, .carousel {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
}
.carousel-item {
  min-width: 200px;
  max-width: 95vw;
  box-sizing: border-box;
}
/* Hamburger button */
.ca-hamburger {
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}
.ca-hamburger span {
  display: block;
  height: 4px;
  width: 28px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.2s;
}

/* Menu Mobile */
.ca-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(15,15,20,0.98);
  position: absolute;
  top: 58px; /* ajuste à la hauteur du header */
  right: 0;
  left: 0;
  z-index: 200;
  padding: 1.2rem 1rem 1rem 1rem;
  gap: 18px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.ca-mobile-menu.open {
  display: flex;
  animation: caMenuSlideIn 0.25s;
}
@keyframes caMenuSlideIn {
  from { opacity: 0; transform: translateY(-20px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Responsive : active dès 900px ou moins */
@media (max-width: 900px) {
  .ca-header-3col, .ca-header-center, .ca-header-right {
    display: none !important;
  }
  .ca-header-mobile {
    display: flex !important;
  }
  .ca-mobile-menu {
    width: 100vw;
    border-radius: 0 0 12px 12px;
  }
  .ca-header-3col {
    padding: 0 1rem !important;
    gap: 10px;
  }
  .split-section {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
  }

  .split-section.reverse {
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image {
    max-width: 100%;
    margin-top: 30px;
  }

  .hero-text .cta-button {
    width: 100%;
    max-width: 280px;
  }
}
@media (min-width: 901px) {
  .ca-header-mobile, .ca-mobile-menu {
    display: none !important;
  }
  .ca-header-3col {
    display: flex !important;
  }
}
/* --- RESPONSIVE --- */
@media (max-width: 800px) {
  .ca-header-content {
    padding: 0.7rem 1rem;
    gap: 10px;
  }
  .ca-logo-text-img img { height: 26px; }
  .ca-btn { font-size: 0.95rem; padding: 7px 10px;}
  .ca-nav { gap: 7px; }
  main h2 { font-size: 1.3rem; }
  main p { font-size: 1rem; padding: 0 1rem; }
  #pruebaGratisForm { margin: 10px; padding: 12px; }
  .cta-button { width: 90%; margin: 0 auto; font-size: 1rem; padding: 0.6rem; }
  footer { font-size: 0.75rem; padding: 1rem 0.5rem; }
}






