/* ============================================================
   THEME "WARM WOOD" — amenagement-combles-france.fr
   Brun bois doré + vert nature sur fond crème chaleureux
   ============================================================ */

:root {
  --primary: #92400e;
  --primary-dark: #78350f;
  --primary-light: #fef3c7;
  --accent: #65a30d;
  --accent-dark: #4d7c0f;
  --accent-light: #ecfccb;
  --bg: #fafaf9;
  --bg-alt: #f5f5f4;
  --bg-card: #ffffff;
  --text: #292524;
  --text-mute: #57534e;
  --border: #e7e5e4;
  --shadow-sm: 0 1px 3px rgba(120,53,15,0.06);
  --shadow-md: 0 4px 16px rgba(120,53,15,0.10);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
header {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
header nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
header .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.15rem; }
header .logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 3px 10px rgba(146,64,14,0.25);
}
header .logo:hover { opacity: 0.85; }
header nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
header nav a { color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 6px; font-weight: 500; font-size: 0.95rem; transition: all 0.2s; }
header nav a:hover { background: var(--primary-light); color: var(--primary-dark); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
  color: #fff;
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(101,163,13,0.25), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(254,243,199,0.20), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .badge-pill {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: #fef3c7; font-weight: 800; }
.hero h1 strong { color: #fef3c7; font-weight: 800; }
.hero h1 mark { background: var(--accent); color: #fff; padding: 2px 10px; border-radius: 6px; }
.hero .lead {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 620px;
  margin: 0 0 30px;
  line-height: 1.55;
}

/* ============ BUTTONS ============ */
.btn-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(101,163,13,0.35);
}
.btn-cta:hover, .btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(101,163,13,0.5);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; box-shadow: none; }

/* ============ SECTIONS ============ */
section { padding: 70px 0; background: var(--bg); }
section.alt { background: var(--bg-alt); }
section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
section h2 em { font-style: normal; color: var(--primary); font-weight: 800; }
section .section-intro {
  font-size: 1.05rem;
  color: var(--text-mute);
  max-width: 720px;
  margin: 0 0 36px;
  line-height: 1.6;
}

/* ============ CARDS ============ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--bg-card);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.card .num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--primary-light);
  border-radius: 999px;
}
.card h3 { color: var(--text); font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.card p { color: var(--text-mute); font-size: 0.95rem; margin: 0; line-height: 1.55; }

/* ============ SERVICE CARDS ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; height: 200px; object-fit: cover; display: block; background: #f5f5f4; }
.service-card > div { padding: 20px; }
.service-card h3 { color: var(--text); font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; }
.service-card p { color: var(--text-mute); font-size: 0.92rem; margin: 0; line-height: 1.5; }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.gallery-grid figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-grid figure img { width: 100%; height: 220px; object-fit: cover; display: block; background: #f5f5f4; }
.gallery-grid figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border-top: 1px solid var(--border);
}

/* ============ HERO FORM WRAP ============ */
.hero-form-wrap { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 0; margin-top: 32px; }
.vud-form-wrapper { background: #fff !important; }
/* Header du form (premier div avec gradient) : laisse le color:#fff inline gagner */
.vud-form-wrapper > div:first-child,
.vud-form-wrapper > div:first-child h2,
.vud-form-wrapper > div:first-child div { color: #fff !important; }
/* Contenu du form (étapes, labels) : couleur texte standard */
.vud-form-wrapper form { color: var(--text); }
.vud-form-wrapper form h3 { color: #111 !important; }
.vud-form-wrapper form label { color: #111 !important; }
.vud-form-wrapper form .vud-radio-label > div > div:first-child { color: #111 !important; }

/* ============ FOOTER ============ */
footer {
  background: #1c1917;
  color: rgba(255,255,255,0.75);
  padding: 50px 0 24px;
  margin-top: 60px;
  border-top: 4px solid var(--accent);
}
footer a { color: #ecfccb; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer h3, footer h4, footer strong { color: #fff; font-weight: 700; margin: 0 0 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.88rem; opacity: 0.7; text-align: center; }

/* ============ HERO ACTIONS ============ */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 2rem; }
  section { padding: 50px 0; }
  header nav ul { display: none; }
  header nav { flex-wrap: nowrap; }
}

/* ============ MISC ============ */
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
strong { color: var(--text); }
mark { background: var(--accent-light); color: var(--text); padding: 0 4px; }
::selection { background: var(--primary-light); color: var(--primary-dark); }

/* hero-photo bg â€” gpt-image-1 generated 2026-05-14 */
.hero, section.hero {
    background-image:
        linear-gradient(135deg, rgba(15,23,42,.78), rgba(2,132,199,.45)),
        url('/images/local/hero.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
}
