/* =====================================================================
   ALL IN WEDDING — Composants spécifiques (refonte 2026)
   Chargé APRÈS demos.css. Utilise les variables de la charte AIW.
   ===================================================================== */

/* ----- Logo image dans la nav (fond blanc du JPG fondu dans la navbar) ----- */
.demo-nav__logo a { display: inline-flex; align-items: center; gap: 0.5rem; }
.demo-nav__logo img { display: block; height: 62px; width: auto; }
.demo-nav { padding-top: 0.35rem; padding-bottom: 0.35rem; }

/* ----- Bouton « Devis gratuit » de la nav : bouton bleu, texte blanc ----- */
.demo-nav__contact-btn {
  background: var(--demo-cta);
  color: #fff;
  border: 1px solid var(--demo-cta);
  border-radius: 0;
  padding: 0.55rem 1.15rem;
  text-transform: uppercase;
  letter-spacing: var(--letter-wide);
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}
.demo-nav__contact-btn:hover,
.demo-nav__contact-btn.active {
  background: var(--demo-cta-hover);
  border-color: var(--demo-cta-hover);
  color: #fff;
}

/* ----- Téléphone dans la nav ----- */
.aiw-nav__phone {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--demo-link);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.aiw-nav__phone:hover { color: var(--demo-accent-2); }
.aiw-nav__phone svg { width: 15px; height: 15px; fill: currentColor; }

/* ----- Accents typographiques ----- */
.aiw-script { font-family: var(--font-display); font-style: italic; color: var(--demo-brown); }
.demo-section__title { color: var(--demo-ink); }
.demo-company-name { color: var(--demo-link); }

/* ----- Prose riche (pages texte) ----- */
.aiw-prose { max-width: 720px; margin: 0 auto; }
.aiw-prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2rem); color: var(--demo-ink); margin: 2.5rem 0 0.75rem; }
.aiw-prose h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--demo-brown); margin: 1.75rem 0 0.5rem; }
.aiw-prose p { margin: 0 0 1rem; }
.aiw-prose ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.aiw-prose ul li { margin-bottom: 0.4rem; }
.aiw-prose strong { color: var(--demo-ink); }
/* Liens texte de la prose — sans toucher aux boutons (.demo-btn) */
.aiw-prose a:not(.demo-btn) { color: var(--demo-link); }
.aiw-prose a:not(.demo-btn):hover { color: var(--demo-accent-2); }

/* ----- Sur-titre éditorial ----- */
.aiw-kicker {
  text-transform: uppercase;
  letter-spacing: var(--letter-wide);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--demo-link);
  margin: 0 0 0.75rem;
  text-align: center;
}

/* ----- Formules de services (3 cartes) ----- */
.aiw-formules { display: grid; gap: 1.5rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.aiw-formule {
  background: var(--demo-bg);
  border: 1px solid var(--demo-border);
  border-top: 3px solid var(--demo-accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(74,58,46,0.05);
}
.aiw-formule h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--demo-ink); margin: 0 0 0.5rem; }
.aiw-formule__tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--demo-link); font-weight: 600; margin: 0 0 0.75rem; }
.aiw-formule ul { padding-left: 1.1rem; margin: 0.75rem 0 1.25rem; }
.aiw-formule ul li { margin-bottom: 0.35rem; font-size: 0.95rem; }
.aiw-formule .demo-btn { margin-top: auto; align-self: center; }
@media (min-width: 860px) { .aiw-formules { grid-template-columns: repeat(3, 1fr); } }

/* ----- Chiffres clés (cartes) ----- */
.aiw-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; list-style: none; margin: 2.5rem 0 0; padding: 0; text-align: center; }
.aiw-stats li {
  background: #fff;
  border: 1px solid var(--demo-border);
  border-radius: var(--radius);
  padding: 1.75rem 1rem;
  box-shadow: 0 8px 24px rgba(74,58,46,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
}
.aiw-stats li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--demo-cta), var(--demo-cta-hover));
}
.aiw-stats__num { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; color: var(--demo-link); line-height: 1; }
.aiw-stats__label { display: block; font-size: 0.9rem; color: var(--demo-ink-soft); line-height: 1.4; }
/* Drapeaux */
.aiw-stats__flags { display: flex; gap: 0.5rem; justify-content: center; align-items: center; min-height: clamp(2.2rem, 5vw, 3rem); }
.aiw-flag { width: 46px; height: 31px; border-radius: 0; overflow: hidden; display: block; box-shadow: 0 2px 8px rgba(0,0,0,0.18); transition: transform var(--transition); }
.aiw-flag svg { display: block; width: 100%; height: 100%; }
.aiw-stats li:hover .aiw-flag { transform: translateY(-2px); }
@media (min-width: 720px) { .aiw-stats { grid-template-columns: repeat(4, 1fr); } }

/* ----- Valeurs ----- */
.aiw-values { display: grid; gap: 1.25rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.aiw-values li { background: var(--demo-bg); border: 1px solid var(--demo-border); border-radius: var(--radius); padding: 1.25rem 1.25rem; }
.aiw-values strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--demo-brown); margin-bottom: 0.25rem; }
@media (min-width: 720px) { .aiw-values { grid-template-columns: repeat(3, 1fr); } }

/* ----- Index des réalisations (cartes histoires) ----- */
.aiw-stories { display: grid; gap: 1.75rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.aiw-story-card { background: var(--demo-bg); border: 1px solid var(--demo-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.aiw-story-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(74,58,46,0.12); }
.aiw-story-card__media { aspect-ratio: 4/3; overflow: hidden; }
.aiw-story-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.aiw-story-card:hover .aiw-story-card__media img { transform: scale(1.05); }
.aiw-story-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.aiw-story-card__couple { font-size: 0.78rem; text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--demo-link); font-weight: 600; margin: 0 0 0.15rem; }
.aiw-story-card__place { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--demo-muted); margin: 0 0 0.55rem; }
.aiw-story-card__place svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
.aiw-story-card__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--demo-ink); margin: 0 0 0.6rem; line-height: 1.2; }
.aiw-story-card__title a { color: inherit; text-decoration: none; }
.aiw-story-card__title a:hover { color: var(--demo-link); }
.aiw-story-card__excerpt { font-size: 0.95rem; color: var(--demo-ink-soft); margin: 0 0 1rem; }
.aiw-story-card__link { margin-top: auto; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--demo-link); text-decoration: none; }
.aiw-story-card__link:hover { color: var(--demo-accent-2); }
@media (min-width: 680px) { .aiw-stories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aiw-stories { grid-template-columns: repeat(3, 1fr); } }

/* ----- Page histoire : méta + galerie + vidéo ----- */
.aiw-story-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; list-style: none; margin: 0 0 2rem; padding: 1rem 0; border-top: 1px solid var(--demo-border); border-bottom: 1px solid var(--demo-border); font-size: 0.9rem; color: var(--demo-ink-soft); }
.aiw-story-meta strong { color: var(--demo-ink); }
.aiw-video { position: relative; margin: 2rem auto; max-width: 900px; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 14px 40px rgba(74,58,46,0.18); }
.aiw-video video { display: block; width: 100%; height: auto; }

/* ----- Bloc prestataires / backlinks ----- */
.aiw-prestataires { background: var(--demo-mint); border: 1px solid var(--demo-border); border-radius: var(--radius); padding: 1.75rem 1.75rem; margin: 2.5rem 0; }
.aiw-prestataires h2 { margin-top: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--demo-ink); }
.aiw-prestataires ul { list-style: none; margin: 1rem 0 0; padding: 0; columns: 1; }
.aiw-prestataires li { padding: 0.4rem 0; border-bottom: 1px dashed rgba(96,75,60,0.18); font-size: 0.95rem; break-inside: avoid; }
.aiw-prestataires .role { color: var(--demo-ink-soft); }
.aiw-prestataires a { color: var(--demo-link); text-decoration: none; font-weight: 600; }
.aiw-prestataires a:hover { color: var(--demo-accent-2); text-decoration: underline; }
@media (min-width: 720px) { .aiw-prestataires ul { columns: 2; column-gap: 2.5rem; } }

/* ----- Zone d'intervention : villes ----- */
.aiw-zone-cities { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.aiw-zone-cities li { background: var(--demo-mint); border: 1px solid var(--demo-border); border-radius: 999px; padding: 0.35rem 0.95rem; font-size: 0.85rem; color: var(--demo-ink-soft); }

/* ----- FAQ (SEO) ----- */
.aiw-faq { max-width: 760px; margin: 2rem auto 0; }
.aiw-faq details { border: 1px solid var(--demo-border); border-radius: var(--radius); padding: 0 1.25rem; margin-bottom: 0.85rem; background: var(--demo-bg); }
.aiw-faq summary { cursor: pointer; font-weight: 600; color: var(--demo-ink); padding: 1rem 0; list-style: none; position: relative; padding-right: 1.5rem; }
.aiw-faq summary::-webkit-details-marker { display: none; }
.aiw-faq summary::after { content: "+"; position: absolute; right: 0; color: var(--demo-link); font-size: 1.3rem; line-height: 1; }
.aiw-faq details[open] summary::after { content: "\2013"; }
.aiw-faq details p { margin: 0 0 1rem; color: var(--demo-ink-soft); }

/* ----- Bande CTA pleine largeur ----- */
.aiw-cta-band { background: linear-gradient(135deg, var(--demo-accent) 0%, var(--demo-accent-2) 100%); color: #fff; text-align: center; border: none; }
.aiw-cta-band .demo-section__title, .aiw-cta-band .demo-section__lead { color: #fff; }
.aiw-cta-band .demo-btn--primary { background: #fff; color: var(--demo-ink); border-color: #fff; }
.aiw-cta-band .demo-btn--primary:hover { background: var(--demo-mint); border-color: var(--demo-mint); color: var(--demo-ink); }

/* ----- Intro 2 colonnes (texte + image) ----- */
.aiw-split { display: grid; gap: 2.5rem; align-items: center; }
.aiw-split > img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: 0 12px 36px rgba(74,58,46,0.12); }
@media (min-width: 820px) {
  .aiw-split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .aiw-split > img { height: 100%; min-height: 380px; max-height: 540px; object-fit: cover; align-self: center; }
  .aiw-split > .aiw-prose { align-self: center; max-width: 560px; }
  .aiw-split--reverse > :first-child { order: 2; }
}

/* ----- Galerie réalisations carrée (page histoire) ----- */
.aiw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
.aiw-grid img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); display: block; cursor: pointer; }
@media (min-width: 640px) { .aiw-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .aiw-grid { grid-template-columns: repeat(4, 1fr); } }

/* ----- Logo nav plus petit sur mobile ----- */
@media (max-width: 768px) {
  .demo-nav__logo img { height: 46px; }
  .aiw-nav__phone { font-size: 0.8rem; }
  /* Menu mobile : bouton Devis gratuit + téléphone centrés */
  .demo-nav__panel { align-items: center; text-align: center; }
  .demo-nav__contact-btn { align-self: center; display: inline-block; text-align: center; }
  .aiw-nav__phone { align-self: center; justify-content: center; }
}

/* Footer : zone d'intervention avec liens intégrés */
.demo-footer__zone a { color: var(--demo-link); text-decoration: underline; text-underline-offset: 2px; }
.demo-footer__zone a:hover { color: var(--demo-accent-2); text-decoration: underline; }

/* Footer : icônes réseaux sociaux */
.demo-footer__social { display: flex; gap: 1rem; justify-content: center; align-items: center; margin: 0.85rem 0; }
.demo-footer__social a { color: var(--demo-muted); display: inline-flex; transition: color var(--transition), transform var(--transition); }
.demo-footer__social a:hover { color: var(--demo-link); transform: translateY(-2px); }
.demo-footer__social svg { width: 22px; height: 22px; fill: currentColor; display: block; }

/* ----- Desktop : logo à gauche, menu centré, sur UNE seule ligne ----- */
@media (min-width: 769px) {
  .demo-nav__inner { flex-wrap: nowrap; max-width: 1280px; gap: 1.25rem; }
  .demo-nav__panel { flex: 1 1 auto; flex-wrap: nowrap; justify-content: center; gap: 1.6rem; }
  .demo-nav__links { flex-wrap: nowrap; gap: 0 1.5rem; }
  .demo-nav__links a { font-size: 0.86rem; letter-spacing: 0.06em; white-space: nowrap; padding: 0.5rem 0; }
  .aiw-nav__phone { font-size: 0.86rem; white-space: nowrap; }
  .demo-nav__contact-btn { white-space: nowrap; }
}
@media (min-width: 769px) and (max-width: 1120px) {
  .demo-nav__panel { gap: 1rem; }
  .demo-nav__links { gap: 0 1rem; }
  .demo-nav__links a { font-size: 0.8rem; letter-spacing: 0.03em; }
  .demo-nav__logo img { height: 54px; }
}

/* Accessibilité : visuellement masqué */
.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; }

/* ----- Boutons sur les bannières (hero) : lisibilité maximale sur photo ----- */
.demo-hero__actions .demo-btn--primary {
  background: var(--demo-cta);
  color: #fff;
  border-color: var(--demo-cta);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.demo-hero__actions .demo-btn--primary:hover {
  background: var(--demo-cta-hover);
  border-color: var(--demo-cta-hover);
  color: #fff;
}
.demo-hero__actions .demo-btn:not(.demo-btn--primary) {
  color: #fff;
  border-color: #fff;
  background: rgba(40, 32, 26, 0.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}
.demo-hero__actions .demo-btn:not(.demo-btn--primary):hover {
  background: #fff;
  color: var(--demo-ink);
  border-color: #fff;
}

/* ----- Bouton « retour en haut » ----- */
.aiw-totop {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--demo-cta);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.aiw-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.aiw-totop:hover { background: var(--demo-cta-hover); }
.aiw-totop svg { width: 24px; height: 24px; fill: currentColor; }

/* =====================================================================
   ANIMATIONS — apparition au scroll + micro-interactions
   ===================================================================== */

/* Apparition au scroll (la classe .aiw-reveal est posée par aiw.js) */
.aiw-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.aiw-reveal.is-visible { opacity: 1; transform: none; }

/* L'image d'un bloc 2 colonnes arrive en zoom-out doux */
.aiw-split > img.aiw-reveal { transform: translateY(26px) scale(1.04); }
.aiw-split > img.aiw-reveal.is-visible { transform: none; }

/* Micro-interactions : boutons */
.demo-btn {
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.demo-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,191,220,0.32); }
.demo-nav__contact-btn:hover { transform: translateY(-1px); }

/* Cartes de formules : survol vivant */
.aiw-formule { transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition); }
.aiw-formule:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(74,58,46,0.14); border-top-color: var(--demo-accent-2); }

/* Puces de zones : survol turquoise */
.aiw-zone-cities li { transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
.aiw-zone-cities li:hover { background: var(--demo-accent); border-color: var(--demo-accent); color: #fff; transform: translateY(-2px); }
.aiw-zone-cities li:has(a):hover a { color: #fff; }

/* Chiffres clés : léger zoom au survol */
.aiw-stats li { transition: transform var(--transition); }
.aiw-stats li:hover { transform: translateY(-3px); }

/* Valeurs : survol */
.aiw-values li { transition: transform var(--transition), box-shadow var(--transition); }
.aiw-values li:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(74,58,46,0.10); }

/* Images de galerie (pages histoires) : zoom doux au survol */
.aiw-grid img { transition: transform 0.5s ease, box-shadow 0.4s ease; }
.aiw-grid img:hover { transform: scale(1.04); box-shadow: 0 12px 30px rgba(74,58,46,0.2); }

/* Liens de menu : soulignement animé depuis la gauche */
.demo-nav__links a { position: relative; }
.demo-nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--demo-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.demo-nav__links a:hover::after, .demo-nav__links a.active::after { transform: scaleX(1); }

/* Indice de défilement animé sur les bannières plein écran */
.demo-hero__actions { position: relative; }

/* Respect de l'accessibilité : on coupe tout si l'utilisateur préfère moins d'animations */
@media (prefers-reduced-motion: reduce) {
  .aiw-reveal, .aiw-split > img.aiw-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .demo-hero__bg-slide.is-active { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ----- Légende d'image cliquable ----- */
.aiw-prose figure { margin: 1.75rem 0; }
.aiw-figcaption { text-align: center; font-size: 0.85rem; font-style: italic; color: var(--demo-muted); margin-top: 0.6rem; }
.aiw-figcaption a { color: var(--demo-link); text-decoration: none; }
.aiw-figcaption a:hover { color: var(--demo-accent-2); text-decoration: underline; }
/* Liens dans la section Valeurs (ex. « hongrois* ») */
.aiw-values a { color: var(--demo-link); text-decoration: none; font-weight: 600; }
.aiw-values a:hover { color: var(--demo-accent-2); text-decoration: underline; }

/* ----- Bandeau bleu pied de page : légal (gauche) · social (centre) · contact (droite) ----- */
.aiw-footerbar {
  margin: 1.5rem -1.5rem -2rem;
  background: linear-gradient(90deg, var(--demo-cta), var(--demo-cta-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.6rem;
}
.aiw-footerbar p { margin: 0; font-size: 0.85rem; line-height: 1.4; }
.aiw-footerbar a { color: #fff; text-decoration: none; }
.aiw-footerbar a:hover { text-decoration: underline; }
.aiw-footerbar__legal { flex: 1 1 0; text-align: left; }
.aiw-footerbar__contact { flex: 1 1 0; text-align: right; }
.aiw-footerbar__social { flex: 0 0 auto; display: flex; gap: 0.9rem; justify-content: center; align-items: center; }
.aiw-footerbar__social a { display: inline-flex; transition: transform var(--transition); }
.aiw-footerbar__social a:hover { transform: translateY(-2px); text-decoration: none; }
.aiw-footerbar__social svg { width: 20px; height: 20px; fill: #fff; display: block; }
@media (max-width: 768px) {
  .aiw-footerbar { flex-direction: column; text-align: center; gap: 0.75rem; padding: 1.1rem 1.25rem; }
  .aiw-footerbar__legal, .aiw-footerbar__contact { flex: none; text-align: center; }
}

/* ----- Ancre « hongrois » : surbrillance pulsée à l'arrivée ----- */
#hongrois { scroll-margin-top: 6rem; padding: 0.4rem 0.75rem; margin-left: -0.75rem; border-radius: var(--radius); }
.aiw-flash { animation: aiw-flash 2.2s ease both; }
@keyframes aiw-flash {
  0%   { background: var(--demo-accent-soft); box-shadow: 0 0 0 2px var(--demo-accent); }
  20%  { background: transparent; box-shadow: 0 0 0 0 transparent; }
  40%  { background: var(--demo-accent-soft); box-shadow: 0 0 0 2px var(--demo-accent); }
  60%  { background: transparent; box-shadow: 0 0 0 0 transparent; }
  80%  { background: var(--demo-accent-soft); box-shadow: 0 0 0 2px var(--demo-accent); }
  100% { background: transparent; box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .aiw-flash { animation: none; background: var(--demo-mint); }
}

/* Variante 4 colonnes (page Organisation mariage : « Une même philosophie ») */
@media (min-width: 560px) { .aiw-values--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .aiw-values--4 { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   PAGE CONTACT — portrait + formulaire agrandi
   ===================================================================== */
.aiw-contact-section { padding: 3rem 1.5rem 4.5rem; background: linear-gradient(180deg, var(--demo-mint) 0%, #ffffff 55%); }
.aiw-contact-wrap { max-width: 1120px; margin: 0 auto; }
.aiw-contact-intro { text-align: center; max-width: 700px; margin: 0 auto; }
.aiw-contact { display: grid; gap: 2rem; margin-top: 2.5rem; align-items: start; }
@media (min-width: 880px) { .aiw-contact { grid-template-columns: 0.82fr 1.18fr; gap: 2.5rem; } }

/* Carte aside : portrait + infos */
.aiw-contact__aside { background: #fff; border: 1px solid var(--demo-border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 38px rgba(74,58,46,0.10); }
.aiw-contact__portrait { width: 100%; height: auto; display: block; }
.aiw-contact__info { padding: 1.5rem 1.5rem 1.75rem; }
.aiw-contact__name { font-family: var(--font-display); font-size: 1.6rem; color: var(--demo-ink); margin: 0; line-height: 1.1; }
.aiw-contact__role { font-size: 0.76rem; text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--demo-link); font-weight: 600; margin: 0.3rem 0 1.1rem; }
.aiw-contact__list { list-style: none; margin: 0; padding: 0; }
.aiw-contact__list li { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0; border-bottom: 1px solid var(--demo-border); font-size: 0.95rem; color: var(--demo-ink-soft); line-height: 1.5; }
.aiw-contact__list li:last-child { border-bottom: none; }
.aiw-contact__list span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--demo-muted); font-weight: 600; }
.aiw-contact__list a { color: var(--demo-link); text-decoration: none; font-weight: 600; }
.aiw-contact__list a:hover { color: var(--demo-accent-2); }
.aiw-contact__social { display: flex; gap: 0.9rem; margin-top: 1.2rem; }
.aiw-contact__social a { color: var(--demo-muted); display: inline-flex; transition: color 0.3s ease, transform 0.3s ease; }
.aiw-contact__social a:hover { color: var(--demo-link); transform: translateY(-2px); }
.aiw-contact__social svg { width: 22px; height: 22px; fill: currentColor; display: block; }

/* Formulaire agrandi */
.aiw-form { background: #fff; border: 1px solid var(--demo-border); border-radius: var(--radius); padding: 2rem; box-shadow: 0 14px 38px rgba(74,58,46,0.10); }
@media (min-width: 880px) { .aiw-form { padding: 2.75rem; } }
.aiw-form__field { margin-bottom: 1.2rem; }
.aiw-form__row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .aiw-form__row { grid-template-columns: 1fr 1fr; } }
.aiw-form label { display: block; font-weight: 600; color: var(--demo-ink); margin-bottom: 0.45rem; font-size: 0.95rem; }
.aiw-form .required { color: #d9534f; }
.aiw-form input, .aiw-form textarea {
  width: 100%; box-sizing: border-box; padding: 0.9rem 1.05rem;
  border: 1px solid var(--demo-border); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; color: var(--demo-ink); background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.aiw-form input::placeholder, .aiw-form textarea::placeholder { color: #c2b4a8; }
.aiw-form input:focus, .aiw-form textarea:focus { outline: none; border-color: var(--demo-accent); box-shadow: 0 0 0 3px rgba(31,191,220,0.16); }
.aiw-form textarea { resize: vertical; min-height: 160px; }
.aiw-form__submit { width: 100%; margin-top: 0.4rem; }
.aiw-form__note { font-size: 0.8rem; color: var(--demo-muted); margin: 0.95rem 0 0; }
.aiw-form__note a { color: var(--demo-link); }

/* --- Téléphone international (intl-tel-input) --- */
.aiw-form .iti { width: 100%; display: block; }
.aiw-form .iti input { width: 100%; }
.aiw-form .iti__country-list { text-align: left; }

/* --- Case "On ne sait pas encore" --- */
.aiw-form__check {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.55rem; font-size: 0.9rem; font-weight: 400;
  color: var(--demo-muted); cursor: pointer;
}
.aiw-form__check input { width: auto; margin: 0; padding: 0; accent-color: var(--demo-accent); cursor: pointer; }

/* --- Case de consentement RGPD du formulaire --- */
.aiw-form__consent { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.2rem 0 1rem; font-size: 0.82rem; font-weight: 400; color: var(--demo-ink-soft); line-height: 1.45; cursor: pointer; }
.aiw-form__consent input { width: auto; margin: 0.15rem 0 0; flex: none; accent-color: var(--demo-cta); cursor: pointer; }
.aiw-form__consent a { color: var(--demo-link); }

/* --- Bandeau de consentement cookies (RGPD / Consent Mode v2) --- */
.aiw-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--demo-border); border-radius: 14px; box-shadow: 0 14px 44px rgba(74,58,46,0.20); padding: 1rem 1.25rem; z-index: 2000; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; animation: aiw-consent-in 0.35s ease both; }
@keyframes aiw-consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.aiw-consent__txt { margin: 0; flex: 1 1 320px; font-size: 0.84rem; color: var(--demo-ink-soft); line-height: 1.5; }
.aiw-consent__txt a { color: var(--demo-link); }
.aiw-consent__btns { display: flex; gap: 0.6rem; flex: 0 0 auto; }
.aiw-consent__btn { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.6rem 1.3rem; border-radius: 8px; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease; }
.aiw-consent__btn--accept { background: var(--demo-cta); color: #fff; border: 1px solid var(--demo-cta); }
.aiw-consent__btn--accept:hover { background: var(--demo-cta-hover); border-color: var(--demo-cta-hover); }
.aiw-consent__btn--refuse { background: #fff; color: var(--demo-ink); border: 1px solid var(--demo-border); }
.aiw-consent__btn--refuse:hover { border-color: var(--demo-ink-soft); }
@media (prefers-reduced-motion: reduce) { .aiw-consent { animation: none; } }
@media (max-width: 560px) { .aiw-consent__btns { width: 100%; } .aiw-consent__btn { flex: 1; } }

/* --- Message d'erreur de champ (caché tant qu'aucune erreur n'est détectée) --- */
.aiw-form__error { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: #c0392b; }
.aiw-form__error[hidden] { display: none; }
.aiw-form input.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.14); }

/* --- Image de bannière en <img> (LCP) : remplit le slide, recadrage cover --- */
.demo-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Checklist "fait pour vous si" (pages formules) : cartes + pastille coche --- */
.aiw-checklist {
  list-style: none;
  margin: 1.1rem 0 1.9rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.aiw-checklist li {
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 3.2rem;
  background: var(--demo-bg-card);
  border: 1px solid var(--demo-border);
  border-radius: 12px;
  font-weight: 500;
  color: var(--demo-ink);
  line-height: 1.4;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.aiw-checklist li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--demo-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 0.95rem 0.95rem no-repeat;
  box-shadow: 0 2px 6px rgba(14,127,147,0.35);
}
.aiw-checklist li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(74,58,46,0.10);
  border-color: var(--demo-cta);
}
@media (prefers-reduced-motion: reduce) {
  .aiw-checklist li { transition: none; }
  .aiw-checklist li:hover { transform: none; }
}

/* --- Barre de progression de lecture (sur la bordure basse du header) --- */
.aiw-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}
.aiw-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--demo-cta);
  transition: transform 0.1s linear;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .aiw-progress span { transition: none; }
}

/* ===== Sélecteur de langue (FR / EN) ===== */
.aiw-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.aiw-lang a, .aiw-lang span {
  display: inline-block;
  padding: 0.22rem 0.42rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--demo-muted);
  transition: color 0.18s ease, background 0.18s ease;
}
.aiw-lang a:hover { color: var(--demo-link); }
.aiw-lang [aria-current="true"] { color: #fff; background: var(--demo-cta); cursor: default; }
.aiw-lang__sep { color: #d9cfc4; padding: 0 0.05rem; }

/* PC : pastille fixe discrète en bas à gauche */
.aiw-lang--fixed {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 14px rgba(74,58,46,0.18);
  border: 1px solid var(--demo-border);
  border-radius: 999px;
  padding: 0.3rem 0.45rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@media (max-width: 768px) { .aiw-lang--fixed { display: none; } }

/* Mobile/tablette : dans la navbar, à gauche du logo (slot .demo-nav__spacer) */
.aiw-lang--nav { display: none; }
@media (max-width: 768px) {
  .demo-nav__spacer { width: auto; flex: 0 0 auto; min-width: 44px; }
  .aiw-lang--nav { display: inline-flex; }
  .aiw-lang--nav a, .aiw-lang--nav span { padding: 0.2rem 0.32rem; font-size: 0.74rem; }
}

/* ===== Ajustements UX mobile/tablette (2026-06-05) ===== */
/* Navbar : un peu plus d'air vertical sur mobile + tablette */
@media (max-width: 1120px) {
  .demo-nav { padding-top: 0.55rem; padding-bottom: 0.55rem; }
}
@media (max-width: 768px) {
  /* Blocs split (organisation / wedding-planning) : titres + bouton centrés */
  .aiw-split .aiw-prose { text-align: center; }
  .aiw-split .aiw-prose .aiw-checklist { text-align: left; }
  /* h3 "fait pour vous si" : tenir sur une ligne */
  .aiw-split .aiw-prose h3 { font-size: 1.05rem; }
  /* À propos : sous-titres du parcours centrés */
  #parcours .aiw-prose h2 { text-align: center; }
  /* Contact : éviter tout débordement qui décale le bloc vers la droite */
  .aiw-contact > * { min-width: 0; }
  .aiw-form, .aiw-form__row, .aiw-form__field { min-width: 0; }
  .h-captcha { max-width: 100%; overflow: hidden; }
  /* Navbar : bouton "Devis gratuit" centré + menu plus aéré */
  .demo-nav__contact-btn { margin-left: 0; }
  .demo-nav__panel { gap: 1.1rem; padding-top: 1.45rem; padding-bottom: 1.45rem; }
}
