/* ============================================================
   AZUR PROVENCE MONTGOLFIERES - Design system
   Thème enfant GeneratePress
   ------------------------------------------------------------
   Portage 1:1 du design system de la refonte de référence :
     https://ap-montgolfieres.organiweb.fr
   Source : style.css du thème ascend_child (v1.4.20), 427 règles.
   Les classes .alm-* sont des alias des classes de la refonte.
   ============================================================ */

/* ---------- RESET (repris de la refonte) ---------- */
*, *::before, *::after { box-sizing: border-box; }
.alm-reset *, .alm-reset *::before, .alm-reset *::after { margin: 0; padding: 0; }

/* ---------- 1. VARIABLES (copie exacte du :root de la refonte) ---------- */
:root {
  --blue: #4169E1;
  --blue-dark: #2a4bbf;
  --black: #000000;
  --white: #FFFFFF;
  --sand: #F5EDD8;
  --brown: #5C3D2E;
  --gold: #E8A830;
  --gray-bg: #f7f8fc;
  --gray-text: #666;
  --gray-border: #eee;
  --night: #080e2e;

  /* Alias locaux */
  --alm-blue: var(--blue);
  --alm-blue-dark: var(--blue-dark);
  --alm-black: var(--black);
  --alm-white: var(--white);
  --alm-sand: var(--sand);
  --alm-brown: var(--brown);
  --alm-gold: var(--gold);
  --alm-night: var(--night);
  --alm-container: 1350px;
  --alm-font-title: 'Plus Jakarta Sans', sans-serif;
  --alm-font-text: 'Inter', sans-serif;
}

/* ---------- 2. POLICES SELF-HOSTÉES ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 3. BASE (repris de la refonte) ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--alm-font-text) !important;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--alm-font-title) !important;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}

/* ---------- 4. LAYOUT ---------- */
.alm-wrap { max-width: var(--alm-container); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .alm-wrap { padding: 0 20px; } }

.alm-section { padding: 90px 0; }
.alm-section--sm { padding: 60px 0; }
.alm-section--bg { background: var(--gray-bg); }
.alm-section--night { background: var(--night); }
.alm-section--night h2, .alm-section--night h3, .alm-section--night p { color: #fff; }
.alm-section--blue { background: var(--blue); }
.alm-section--blue h2, .alm-section--blue h3, .alm-section--blue p { color: #fff; }

/* ---------- 5. EYEBROW + TITRES ---------- */
.alm-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.alm-section-title {
  font-family: var(--alm-font-title); font-size: 42px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; color: var(--black); margin-bottom: 16px;
}
.alm-section-title--white { color: #fff; }
@media (max-width: 768px) { .alm-section-title { font-size: 30px; } }

.alm-lead { font-size: 17px; color: var(--gray-text); line-height: 1.75; max-width: 720px; }

/* ---------- 6. HERO ---------- */
.alm-hero {
  position: relative; background: var(--night);
  background-size: cover; background-position: center;
  padding: 120px 0 100px; overflow: hidden;
}
.alm-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,14,46,.94) 0%, rgba(8,14,46,.78) 45%, rgba(8,14,46,.42) 100%);
}
.alm-hero > * { position: relative; z-index: 1; }
.alm-hero-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(232,168,48,.4);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 26px;
}
.alm-hero-title {
  font-family: var(--alm-font-title); font-size: 64px; font-weight: 800; color: #fff;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 22px;
}
.alm-hero-title .accent { color: var(--blue); }
.alm-hero-sub {
  font-size: 18px; color: rgba(255,255,255,.68); line-height: 1.7;
  margin-bottom: 38px; max-width: 500px;
}
.alm-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
@media (max-width: 768px) {
  .alm-hero { padding: 80px 0 60px; }
  .alm-hero-title { font-size: 36px; }
  .alm-hero-sub { font-size: 16px; }
}

/* ---------- 7. BOUTONS (valeurs exactes de la refonte) ---------- */
.alm-btn {
  border: none; border-radius: 8px; font-family: var(--alm-font-text);
  font-weight: 700; cursor: pointer; display: inline-block; text-decoration: none;
  transition: opacity .2s, transform .15s; line-height: 1.2;
}
.alm-btn:hover { opacity: .88; transform: translateY(-1px); color: inherit; }
.alm-btn-hero-main { background: var(--blue); color: #fff; padding: 18px 38px; font-size: 17px; border-radius: 9px; }
.alm-btn-hero-main:hover { color: #fff; }
.alm-btn-hero-gift { background: var(--gold); color: var(--black); padding: 18px 30px; font-size: 17px; border-radius: 9px; }
.alm-btn-hero-gift:hover { color: var(--black); }
.alm-btn-blue { background: var(--blue); color: #fff; padding: 11px 24px; font-size: 14px; }
.alm-btn-blue:hover { color: #fff; }
.alm-btn-gold { background: var(--gold); color: var(--black); padding: 11px 24px; font-size: 14px; }
.alm-btn-gold:hover { color: var(--black); }
.alm-btn-white { background: #fff; color: var(--blue); padding: 16px 34px; font-size: 15px; }
.alm-btn-white:hover { color: var(--blue); }
.alm-btn-outline-white {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55);
  padding: 14px 28px; font-size: 15px; font-weight: 600;
}
.alm-btn-outline-white:hover { color: #fff; border-color: #fff; }
.alm-btn-outline-blue {
  background: transparent; color: var(--blue); border: 2px solid var(--blue);
  padding: 14px 32px; font-size: 15px; font-weight: 600;
}
.alm-btn-outline-blue:hover { color: var(--blue); }
.alm-btn-dark { background: var(--black); color: #fff; padding: 14px 32px; font-size: 15px; }
.alm-btn-dark:hover { color: #fff; }
.alm-btn-brown { background: var(--brown); color: var(--sand); padding: 16px 34px; font-size: 15px; }
.alm-btn-brown:hover { color: var(--sand); }
.alm-btn-lg { padding: 18px 38px; font-size: 17px; }

/* ---------- 8. BANDEAU DE RÉASSURANCE (valeurs exactes de la refonte) ---------- */
.rebar {
  background: var(--black);
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 64px; gap: 20px;
}
.rebar-item {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
}
.rebar-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.rebar-icon svg {
  width: 18px; height: 18px; stroke: #fff; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.rebar-text {
  font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3;
  margin: 0;
}
.rebar-sep {
  width: 1px; height: 36px; background: rgba(255,255,255,.12); flex-shrink: 0;
}
/* Le bandeau va d'un bord à l'autre : on annule la largeur max du conteneur */
.rebar-wrap { width: 100%; }
@media (max-width: 1100px) { .rebar { padding: 20px 32px; } }
@media (max-width: 768px) {
  .rebar { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
  .rebar-sep { display: none; }
}

/* ---------- 9. OFFRES / CARTES ---------- */
.alm-offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 992px) { .alm-offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .alm-offers-grid { grid-template-columns: 1fr !important; } }

/* Variantes de grille (étapes, avantages, certifications) : elles doivent
   AUSSI passer en 1 colonne sur mobile, sinon débordement horizontal. */
.alm-offers-grid--4 { grid-template-columns: repeat(4, 1fr); }
.alm-offers-grid--3 { grid-template-columns: repeat(3, 1fr); }
.alm-offers-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 992px) {
  .alm-offers-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .alm-offers-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .alm-offers-grid--2,
  .alm-offers-grid--3,
  .alm-offers-grid--4 { grid-template-columns: 1fr !important; }
}

.alm-offer-card {
  background: #fff; border-radius: 16px; border: 1px solid var(--gray-border);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.alm-offer-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.alm-offer-media { height: 190px; background: var(--gray-bg); position: relative; overflow: hidden; }
.alm-offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Cartes sans visuel : fond dégradé de marque au lieu d'un bloc gris vide */
.alm-offer-media:not(:has(img)) {
  background: linear-gradient(135deg, var(--night) 0%, #16255c 55%, var(--blue-dark) 100%);
  height: 130px;
}
.alm-offer-media:not(:has(img))::after {
  content: '\1F388';
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 40px; opacity: .35;
}
/* Repli pour les navigateurs sans :has() */
.alm-offer-media.alm-offer-media--empty {
  background: linear-gradient(135deg, var(--night) 0%, #16255c 55%, var(--blue-dark) 100%);
  height: 130px;
}
.alm-offer-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.alm-offer-tag {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(255,255,255,.94); color: var(--blue); border-radius: 999px; padding: 5px 11px;
}
.alm-offer-tag--gold { background: var(--gold); color: #2b1c0a; }
.alm-offer-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.alm-offer-name {
  font-family: var(--alm-font-title); font-size: 20px; font-weight: 700;
  color: var(--black); margin-bottom: 8px;
}
.alm-offer-desc { font-size: 14px; color: var(--gray-text); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.alm-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.alm-offer-price { font-size: 28px; font-weight: 800; color: var(--black); }
.alm-offer-price-unit { font-size: 13px; font-weight: 400; color: #aaa; margin-left: 3px; }

/* ---------- 10. CTA FINAL ---------- */
.alm-cta-final {
  background: var(--blue); padding: 90px 64px; display: flex;
  align-items: center; justify-content: space-between; gap: 48px;
}
.alm-cta-final-title {
  font-family: var(--alm-font-title); font-size: 42px; font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em;
}
.alm-cta-final-sub { font-size: 16px; color: rgba(255,255,255,.72); max-width: 420px; line-height: 1.7; }
.alm-cta-final-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 900px) {
  .alm-cta-final { flex-direction: column; padding: 56px 28px; text-align: center; gap: 28px; }
  .alm-cta-final-title { font-size: 30px; }
  .alm-cta-final-btns { justify-content: center; }
  .alm-cta-final-sub { max-width: none; }
}

/* ---------- 11. STATS ---------- */
.alm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
@media (max-width: 768px) { .alm-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.alm-stat-num {
  font-family: var(--alm-font-title); font-size: 52px; font-weight: 800;
  color: var(--blue); line-height: 1; margin-bottom: 10px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .alm-stat-num { font-size: 34px; }
  .alm-stat-label { font-size: 12.5px; }
}
.alm-stat-label { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 500; }

/* ---------- 12. TIMELINE / ÉTAPES ---------- */
.alm-timeline { position: relative; padding-left: 76px; }
.alm-timeline::before {
  content: ''; position: absolute; left: 23px; top: 8px; bottom: 8px;
  width: 2px; background: var(--gray-border);
}
.alm-timeline-item { position: relative; padding-bottom: 42px; }
.alm-timeline-item:last-child { padding-bottom: 0; }
.alm-timeline-num {
  position: absolute; left: -76px; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--alm-font-title); font-size: 18px; font-weight: 700;
}
.alm-timeline-when {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 7px;
}
.alm-timeline-title {
  font-family: var(--alm-font-title); font-size: 19px; font-weight: 700;
  color: var(--black); margin-bottom: 9px;
}
.alm-timeline-desc { font-size: 15px; color: var(--gray-text); line-height: 1.7; max-width: 640px; }
@media (max-width: 640px) {
  .alm-timeline { padding-left: 60px; }
  .alm-timeline-num { left: -60px; width: 40px; height: 40px; font-size: 16px; }
  .alm-timeline::before { left: 19px; }
}

/* ---------- 13. FAQ (details/summary) ---------- */
.alm-faq-wrap { max-width: 760px; }
.alm-faq-item { border-bottom: 1px solid var(--gray-border); }
.alm-faq-item summary {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none; gap: 16px;
}
.alm-faq-item summary::-webkit-details-marker { display: none; }
.alm-faq-q { font-size: 16px; font-weight: 600; color: var(--black); }
.alm-faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gray-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 20px; color: var(--blue); font-weight: 300; transition: transform .2s, background .2s;
}
.alm-faq-item[open] .alm-faq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.alm-faq-a { font-size: 15px; color: #555; line-height: 1.75; padding-bottom: 22px; }

/* ---------- 14. COMPARE ---------- */
.alm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 768px) { .alm-compare { grid-template-columns: 1fr; } }
.alm-compare-card {
  background: #fff; border: 1px solid var(--gray-border);
  border-radius: 16px; padding: 30px;
}
.alm-compare-card h3 {
  font-family: var(--alm-font-title); font-size: 22px; font-weight: 800;
  margin-bottom: 6px; color: var(--black);
}
.alm-compare-price { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 18px; }
.alm-compare-list { list-style: none; margin: 0; padding: 0; }
.alm-compare-list li {
  font-size: 14.5px; color: #444; padding: 8px 0 8px 26px; position: relative; line-height: 1.6;
}
.alm-compare-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700;
}

/* ---------- 15. NOTES / ENCADRÉS ---------- */
.alm-note {
  background: var(--sand); border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0; padding: 22px 26px; font-size: 15px;
  color: var(--brown); line-height: 1.7;
}
.alm-gift-callout {
  background: var(--sand); border: 1px solid rgba(232,168,48,.35);
  border-radius: 16px; padding: 32px; display: flex;
  align-items: center; justify-content: space-between; gap: 28px;
}
.alm-gift-callout h3 {
  font-family: var(--alm-font-title); font-size: 22px; font-weight: 800;
  color: var(--black); margin-bottom: 8px;
}
.alm-gift-callout p { font-size: 15px; color: var(--brown); line-height: 1.7; }
@media (max-width: 768px) { .alm-gift-callout { flex-direction: column; text-align: center; } }

/* ---------- 16. SPLIT 2 COLONNES (zones de vol) ---------- */
.alm-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) {
  .alm-split { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 16b. SECTION INTRO : texte + IMAGE À DROITE ----------
   Reprend la structure de la refonte (2 colonnes Beaver Builder 50/50) :
   texte à gauche, photo à droite (module photo aligné au centre).
   Sur la refonte : colonne texte margin 40px, photo centrée, 50 % chacune. */
.alm-intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.alm-intro-text { max-width: 560px; }
.alm-intro-media {
  display: flex; align-items: center; justify-content: center;
}
.alm-intro-figure {
  margin: 0; width: 100%; line-height: 0;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(20,30,80,.16);
}
.alm-intro-figure img {
  width: 100%; height: 400px; object-fit: cover; display: block;
}
@media (max-width: 992px) {
  .alm-intro-split { grid-template-columns: 1fr; gap: 32px; }
  .alm-intro-text { max-width: none; }
  .alm-intro-figure img { height: 300px; }
}
@media (max-width: 640px) {
  .alm-intro-figure img { height: 230px; }
}

/* ---------- 19. FOOTER ---------- */
.alm-footer { background: var(--night); color: #fff; padding: 64px 0 0; margin-top: 0; }
.alm-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 992px) { .alm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 641px) { .alm-footer-grid { grid-template-columns: 1fr; } }

.alm-footer-brand {
  font-family: var(--alm-font-title); font-size: 18px; font-weight: 800;
  letter-spacing: .02em; margin-bottom: 14px; color: #fff;
}
.alm-footer-text { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 16px; max-width: 340px; }
.alm-footer-contact { font-size: 14px; line-height: 1.9; }
.alm-footer-contact a { color: var(--gold); text-decoration: none; }
.alm-footer-contact a:hover { text-decoration: underline; }
.alm-footer-title {
  font-family: var(--alm-font-title); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px;
}
.alm-footer-links { list-style: none; margin: 0; padding: 0; }
.alm-footer-links li { font-size: 14px; color: rgba(255,255,255,.65); padding: 5px 0; }
.alm-footer-links a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.alm-footer-links a:hover { color: #fff; }
.alm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  font-size: 13px; color: rgba(255,255,255,.45); text-align: center;
}

/* Masquer le bloc recherche/commentaires résiduel du thème */
body.alm-page .widget-area,
body.alm-page .sidebar,
body.alm-page #secondary { display: none !important; }
body.alm-page .entry-meta,
body.alm-page .entry-footer,
body.alm-page .post-navigation,
body.alm-page .comments-area { display: none !important; }

/* ---------- 20. ACCESSIBILITÉ ---------- */
.alm-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
*:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 18. NEUTRALISATION DES CONTENEURS GENERATEPRESS ----------
   GeneratePress enferme le contenu dans une chaîne de conteneurs
   (.site.grid-container > .site-content > .content-area > .site-main >
   article > .inside-article > .entry-content) limitée à 913-1350px.
   Résultat : nos sections pleine largeur (et la technique 100vw) se
   décalent et le texte est rogné à gauche.
   FIX : neutraliser TOUTE la chaîne pour que les sections occupent
   naturellement le viewport ; .alm-wrap recentre le contenu à 1350px. */
body.alm-page .site.grid-container,
body.alm-page .site-content,
body.alm-page .content-area,
body.alm-page .site-main,
body.alm-page .inside-article,
body.alm-page .entry-content,
body.alm-page article.type-page {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Le contenu n'a plus besoin de la technique 100vw : full width natif. */
body.alm-page section.alm-full,
body.alm-page .alm-full {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Padding vertical du contenu GeneratePress (éviter le collage header/hero) */
body.alm-page .entry-content { padding-top: 0 !important; padding-bottom: 0 !important; }
body.alm-page .inside-article { padding-top: 0 !important; padding-bottom: 0 !important; }

