/* ═══════════════════════════════════════════════════════════════
   Theme: Bauhaus Yellow (bauhaus_yellow)
   Vibe : geometric primary colors — minimalist startup / agency / design / creative
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&family=Inter:wght@400;500;700&display=swap');

:root {
  --t-primary:       #EAB308;
  --t-primary-dark:  #A16207;
  --t-primary-light: #FEF9C3;
  --t-accent:        #1E40AF;
  --t-accent-soft:   #DBEAFE;
  --t-extra:         #DC2626;
  --t-paper:         #FFFFFF;
  --t-ink:           #000000;
  --primary:         #EAB308;
  --primary-dark:    #A16207;
  --primary-light:   #FEF9C3;
  --accent:          #1E40AF;
  --r:               0px;
  --r-lg:            0px;
  --r-full:          0px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #000000;
  background: #FFFFFF;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .hero h1, .cluster-hero h1, .badge {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #A16207;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; margin: 1.4em 0 .5em; }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
a  { color: #A16207; text-decoration: none; transition: color .2s; }
a:hover { color: #1E40AF; }

.hero, .cluster-hero, .hero-photo {
  position: relative;
  padding: 5.5rem 5% 5rem;
  background: #EAB308;
  color: #fff;
  overflow: hidden;
  
}
.hero::after, .cluster-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 49.5%, #1E40AF 49.5%, #1E40AF 50.5%, transparent 50.5%), linear-gradient(45deg, transparent 49.5%, #DC2626 49.5%, #DC2626 50.5%, transparent 50.5%);
  pointer-events: none;
  z-index: 0;
}
.hero > *, .cluster-hero > * { position: relative; z-index: 1; }

.card, .feature-card, .ra-card, .region-card, .usp-card {
  background: #fff;
  border-radius: 0px;
  padding: 2rem 1.75rem;
  box-shadow: none; border: none; background: white;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover, .feature-card:hover, .region-card:hover {
  transform: translateY(-3px);
}

.btn-primary, .btn-cta, .header-cta, button[type="submit"], .a54-sticky-cta-bar a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none;
  min-height: 52px;
  background: #EAB308; color: #000000; border: 2px solid #000000; padding: 1.2rem 2.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.btn-primary:hover, .btn-cta:hover {
  transform: translateY(-2px);
}

section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

*:focus-visible {
  outline: 3px solid #1E40AF;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero, .cluster-hero { padding: 4rem 5% 4rem; }
  .btn-primary, .btn-cta { width: 100%; justify-content: center; }
}

/* ═══ Widget VUD visible loader (Bauhaus Yellow theme) ═══ */
.vud-widget-top-wrap, #devis-section, #widget-top { background: transparent !important; border: none !important; padding: 0 !important; margin: 12px auto !important; min-height: 0 !important; }
.vud-widget-top-wrap::before, #devis-section::before {
  content: '⚡ Chargement du formulaire de devis...';
  display: block;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #1F2937;
  padding: 60px 20px;
  letter-spacing: 0.04em;
}
/* When iframe loads, hide loader */
.vud-widget-top-wrap:has(iframe) ::before,
#devis-section:has(iframe) ::before {
  display: none;
}
.vud-widget-top-wrap iframe, #devis-section iframe {
  border-radius: 2px !important;
  background: #fff !important;
  width: 100% !important;
  min-height: 0 !important;
  border: none !important;
}

/* If just #vecb30ead0bd empty (no inner content), still show loader */
#vecb30ead0bd { min-height: 0; background: transparent; border: none; display: block; }


/* ═══════════════════════════════════════════════════════
   BAUHAUS HARD OVERRIDE 2026-05-22
   styles.css uses var(--rea-primary)=#0f172a !important sur .btn-cta
   → tout reste navy sur navy. On force le combo Bauhaus partout.
   ═══════════════════════════════════════════════════════ */
.btn-cta,
.btn-primary,
.btn.btn-cta,
.btn.btn-primary,
a.btn-cta,
a.btn-primary,
.hero-rea .btn-cta,
.hero-rea .btn-primary,
.hero-rea a.btn-cta,
.hero .btn-cta,
section .btn-cta {
  background: #EAB308 !important;
  background-image: none !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: 4px 4px 0 0 #000 !important;
}
.btn-cta:hover,
.btn-primary:hover,
.hero-rea .btn-cta:hover {
  background: #FACC15 !important;
  color: #000 !important;
  transform: translate(-2px,-2px) !important;
  box-shadow: 6px 6px 0 0 #000 !important;
}

/* btn-outline-light dans hero (Voir par région) — visible sur navy aussi */
.hero-rea .btn-outline-light,
.btn-outline-light {
  background: transparent !important;
  color: #FEF3C7 !important;
  border: 2px solid #FEF3C7 !important;
  font-weight: 700 !important;
}
.hero-rea .btn-outline-light:hover,
.btn-outline-light:hover {
  background: #FEF3C7 !important;
  color: #0f172a !important;
}

/* Hero-rea : adoucir le navy en dark mais cohérent Bauhaus */
.hero-rea {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%) !important;
}
.hero-rea h1 { color: #FEF3C7 !important; }
.hero-rea .lead { color: rgba(254, 243, 199, 0.85) !important; }
.hero-rea h1 span[style*="color:#38bdf8"] { color: #EAB308 !important; }
