/* Start custom CSS for column, class: .elementor-element-276b064 */.section-title {
  background: linear-gradient(135deg, #7C4DFF 0%, #5AA6FF 20%, #f64697 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-73c7a42 *//* élargit la zone de contenu de CETTE section */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .container{
  max-width: 1320px !important;  /* force un centre plus large */
}

/* ligne principale : pousse plus aux extrémités et élargit la colonne texte */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-main-row{
  display: grid;
  grid-template-columns: 1fr minmax(560px, 700px) 1fr;
  gap: 72px;
  align-items: center;
}

/* personnages à gauche : on les décale un peu vers le bord */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image{
  justify-self: end;
  margin-right: -24px;            /* tire légèrement vers la gauche */
}
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image img{
  max-width: 360px;               /* 320 → 360 si tu veux un peu plus grand */
  width: 100%;
  height: auto;
}

/* vidéo à droite : on la tire un peu vers l’extérieur */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{
  justify-self: start;
  margin-left: -24px;             /* tire légèrement vers la droite */
  max-width: 540px;
}

/* bloc texte : largeur maxi pour tenir sur 2 lignes */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-text{
  max-width: 720px;
}

/* titre : casse sur 2 lignes, pas de majuscules forcées, M visible */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-title{
  text-transform: none !important;              /* garde la casse du texte */
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 18ch;                              /* 2 lignes nettes */
  background: linear-gradient(190deg, #7C4DFF 0%, #5AA6FF 50%, #E66FFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* responsive tablette/mobile */
@media (max-width: 1024px){
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-main-row{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-title{
    max-width: 22ch;
    font-size: clamp(34px, 6vw, 48px);
  }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image{ margin-right: 0; }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{ margin-left: 0; max-width: 100%; }
}
/* ——— Make the left characters bigger ——— */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image{
  width: 460px;                 /* grow the slot itself */
  justify-self: end;            /* keep them near the text */
}
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image img{
  width: 100% !important;
  max-width: 460px !important;  /* override old 320/360 caps */
  height: auto;
}

/* ——— Make the video column truly larger (not only the iframe) ——— */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{
  width: 560px;                 /* enlarge the slot/container */
  max-width: none;              /* cancel previous max-widths */
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview iframe{
  width: 100% !important;       /* fill the new slot */
  height: 100% !important;
  border: 0;
}

/* ——— Balance the 3 columns and spacing ——— */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-main-row{
  grid-template-columns: 1.1fr minmax(560px, 720px) 1.1fr; /* wider side columns */
  gap: 80px;                                                /* a bit more air */
}

/* ——— Responsive tweaks ——— */
@media (max-width: 1200px){
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image{ width: 420px; }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image img{ max-width: 420px !important; }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{ width: 520px; }
}
@media (max-width: 1024px){
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image{ width: 380px; }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image img{ max-width: 380px !important; }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{ width: 480px; }
}
@media (max-width: 768px){
  /* stack on mobile; you probably already have this from before */
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-main-row{ grid-template-columns: 1fr; gap: 30px; }
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image,
  .elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{ width: 100%; max-width: 520px; justify-self: center; }
}
/* 🔹 Centre horizontalement tout le contenu du hero */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-main-row{
  justify-content: center;        /* centre la grille entière */
  grid-template-columns: 1fr minmax(580px, 720px) 1fr; /* équilibre les côtés */
  gap: 80px;                      /* espace régulier entre chaque bloc */
}

/* Ajuste un léger recentrage visuel */
.elementor-7334 .elementor-element.elementor-element-73c7a42 .hero-image{
  margin-left: -20px;             /* compense le globe légèrement vers le centre */
}
.elementor-7334 .elementor-element.elementor-element-73c7a42 .video-preview{
  margin-right: -20px;            /* compense la vidéo vers le centre */
}
/* === MOBILE FIX — HERO FULL WIDTH, CENTERED === */
html, body { overflow-x: hidden; }

/* Neutralise tous les paddings latéraux qui créent les marges */
.hero,
.hero .container,
.hero-content,
.elementor-section .elementor-container {
  max-width: 1200px;
}

/* Desktop par défaut (inchangé) */
.hero-main-row{
  display:grid;
  grid-template-columns: 1fr 1.5fr 1.2fr;
  gap:40px;
  align-items:center;
}

/* ---------- Mobile / Tablette ---------- */
@media (max-width: 1024px){
  /* Donne de la respiration mais sans marge visuelle */
  .hero,
  .hero .container,
  .hero-content,
  .elementor-section .elementor-container{
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }
}

@media (max-width: 768px){

  /* 1 colonne, tout au centre */
  .hero-main-row{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    align-items: center;
    justify-items: center;
  }

  /* Image personnages : centrée et contenue */
  .hero-image img{
    display:block;
    width: 100%;
    max-width: 260px;
    height:auto;
    margin: 0 auto;
  }

  /* Titre : casse en 2–3 lignes, centré, sans MAJ forcées */
  .hero-title{
    font-size: clamp(26px, 7.2vw, 36px);
    line-height: 1.12;
    text-transform: none;
    text-align: center;
    max-width: 18ch;     /* force l’enroulement et évite le chevauchement */
    margin: 0 auto 8px;
    word-break: normal;
  }

  /* Sous-titre : centré et contenu */
  .hero-subtitle{
    font-size: 14px;
    max-width: 42ch;
    text-align: center;
    margin: 0 auto 10px;
    color: #666;
  }

  /* Badges : centrés */
  .badges{
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px auto 0;
  }

  /* Vidéo : visible, ratio 16/9, centrée et responsive */
  .video-preview{
    display:block !important;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
  }
  .video-preview iframe{
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* Formulaire : 100% du container, centré */
  .signup-form{
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 22px 18px;
  }

  /* Bouton : largeur auto sur mobile étroit */
  .cta-button{
    min-width: 0;
    width: 100%;
  }
}

/* Séparateur gradient GS fin (si tu l’utilises) */
.section-sep{
  height: 6px;
  max-width: 420px;
  width: 90%;
  margin: 10px auto 12px;   /* rapproche la ligne du titre */
  border-radius: 999px;
  background: linear-gradient(90deg, #7C4DFF 0%, #5AA6FF 50%, #E66FFF 100%);
}
/* ===== Ajustements finaux mobile ===== */
@media (max-width: 768px) {

  /* Titre plus petit et compact → max 3 lignes */
  .hero-title {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.1;
    max-width: 17ch;
    margin-bottom: 10px;
  }

  /* Sous-titre reste pareil */
  .hero-subtitle {
    font-size: 12px;
    line-height: 1.4;
  }

  /* Bouton 2 lignes, texte centré */
  .cta-button,
  .signup-form input[type="submit"],
  .signup-form button {
    white-space: normal !important;
    line-height: 1.2;
    font-size: 14px;
    text-align: center;
    padding: 12px 10px;
  }
}
/* ===== Forcer le titre sur mobile : 3 lignes max, centré ===== */
@media (max-width: 768px) {
  /* On cible plusieurs variantes d'Elementor pour être plus fort */
  .hero .hero-text h1.hero-title,
  h1#main-title.hero-title,
  .elementor-widget-heading h1.elementor-heading-title#main-title,
  .elementor-widget-heading .elementor-heading-title.hero-title {
    font-size: clamp(24px, 5vw, 28px) !important;  /* ajuste si tu veux un poil plus grand/petit */
    line-height: 1.12 !important;
    text-transform: none !important;
    display: inline-block !important;              /* permet à max-width d’agir */
    max-width: 18ch !important;                    /* ≈ 3 lignes avec ta police */
    margin: 0 auto 12px !important;
    word-break: normal !important;
    overflow-wrap: anywhere;                       /* coupe proprement si un mot est long */
    text-align: center !important;
  }

  /* S'assure que le conteneur du titre centre bien le texte */
  .hero-text {
    text-align: center !important;
  }

  /* Bouton sur deux lignes, bien centré */
  .cta-button,
  .signup-form input[type="submit"],
  .signup-form button {
    white-space: normal !important;
    line-height: 1.2 !important;
    font-size: 12px !important;
    text-align: center !important;
    padding: 12px 10px !important;
  }
}
/* ===== Ajustements visuels Hero mobile (espacements + sous-titre) ===== */
@media (max-width: 768px) {

  /* Réduit l’espace entre l’image des personnages et le titre */
  .hero-image {
    margin-bottom: -40px !important;
  }

  /* Titre : légèrement plus bas et équilibré visuellement */
  .hero-title {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }

  /* Sous-titre : police plus fine, espacement réduit */
  .hero-subtitle {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #5a5a5a !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    max-width: 80ch !important;
    text-align: center !important;
  }

  /* Ajuste la hauteur du bloc principal pour moins de vide visuel */
  .hero {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  /* Centrage global (sécurité) */
  .hero-text {
    text-align: center !important;
    margin: 0 auto !important;
  }
}
/* ===== Ajustement vidéo sur mobile ===== */
@media (max-width: 768px) {
  .video-preview iframe {
    width: 100% !important;          /* occupe toute la largeur disponible */
    max-width: 480px !important;     /* limite pour éviter que ça dépasse visuellement */
    height: auto !important;         /* conserve les proportions */
    aspect-ratio: 16 / 9 !important; /* garde le bon format vidéo */
    border-radius: 2px !important;   /* arrondis plus légers (avant 14px) */
  }

  /* Centrage visuel parfait de la vidéo */
  .video-preview {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 12px auto 20px !important;
  }
/* ===== Vidéo élargie et plus haute sur mobile ===== */
@media (max-width: 768px) {
  .video-preview iframe {
    width: 100% !important;          /* pleine largeur du conteneur */
    max-width: 420px !important;     /* augmente la limite sur mobile */
    height: 240px !important;        /* augmente la hauteur visible */
    border-radius: 8px !important;   /* coins plus légers */
  }

  .video-preview {
  width: 140% !important;           /* largeur étendue */
  max-width: none !important;       /* permet d'aller au-delà du conteneur */
  margin: 16px 0 28px !important;   /* on retire le auto pour gérer manuellement */
  position: relative;
  left: 70%;                        /* on déplace le centre du bloc */
  transform: translateX(-50%);      /* et on le ramène pour centrer visuellement */
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-preview iframe {
  width: 100% !important;
  height: 240px !important;
  border-radius: 8px !important;
}
/* ===== Élargir titre et sous-titre pour qu'ils aient la même largeur que la vidéo ===== */
@media (max-width: 768px) {
  .hero-title,
  .hero-subtitle {
    width: 140% !important;       /* même largeur que la vidéo */
    max-width: none !important;
    position: relative;
    left: 50%;                    /* décalage pour centrage */
    transform: translateX(-50%);  /* recentre le bloc visuellement */
    text-align: center !important;
  }

  .hero-subtitle {
    font-size: 15px !important;   /* réduit légèrement la taille */
    line-height: 1.4 !important;
    margin-top: 6px !important;
    color: #555 !important;
  }
}
/* ===== Ajustement ligne + titre section "Je choisis Globe Schooler" ===== */
@media (max-width: 768px) {
  .section-separator {
    margin-bottom: 10px !important; /* espace réduit sous la ligne */
  }

  .section-title {
    font-size: 18px !important;     /* taille plus petite du titre */
    line-height: 1.3 !important;
    margin-top: 0 !important;       /* supprime tout espace au-dessus si présent */
  }
}
@media (max-width: 768px) {
  .section-title {
    margin-top: 16px !important;  /* espace au-dessus du texte (descend le titre) */
  }
}
/* ===== Full width pour les sections dégradées (desktop uniquement) ===== */
@media (min-width: 769px) {

  /* Si Elementor est en "boxed", on étire la section horizontalement */
  .app-content,
  .testimonials,
  .footer-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;               /* prend toute la largeur de la fenêtre */
  }

  /* On s’assure que les conteneurs internes ne re-limitent pas la largeur */
  .app-content .elementor-container,
  .testimonials .elementor-container,
  .footer-section .elementor-container,
  .app-content .container,
  .testimonials .container,
  .footer-section .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }

  /* Si la section a l’option Elementor "section-boxed" */
  .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px; /* ton contenu reste centré et lisible */
  }

  /* Si tu utilises "Étendre la section" dans Elementor,
     cette classe est parfois ajoutée : on l’assure en full width */
  .elementor-section.elementor-section-stretched {
    width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    position: relative !important;
  }
}
fullbleed/* End custom CSS */