/* Site Theme: pompeachaleur-isolation.be — "High-tech minimaliste nordique" */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --theme-bg: #FFFFFF;
  --theme-bg-alt: #F9FAFB;
  --theme-text: #374151;
  --theme-text-light: #6B7280;
  --theme-heading: #111827;
  --theme-accent: #059669;
  --theme-accent-hover: #047857;
  --theme-accent-light: #D1FAE5;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #E5E7EB;
  --theme-font-heading: 'Helvetica Neue', 'Inter', -apple-system, sans-serif;
  --theme-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --theme-radius: 0.5rem;
  --theme-radius-lg: 0.75rem;
  --theme-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --theme-shadow-hover: 0 4px 12px rgba(5, 150, 105, 0.12);
  --theme-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* Hero — clean white with emerald gradient header */
.hero-section {
  background: var(--theme-bg);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--theme-card-border);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-accent), #34D399, var(--theme-accent));
  background-size: 200% 100%;
  animation: emeraldShift 6s ease-in-out infinite;
}

.hero-section h1 {
  background: linear-gradient(135deg, var(--theme-accent), #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  font-weight: 700;
}

@keyframes emeraldShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Cards — minimal with thin emerald borders */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
  transition: transform var(--theme-transition), box-shadow var(--theme-transition), border-color var(--theme-transition);
}

.card:hover,
.bg-white.rounded-lg:hover {
  transform: scale(1.015);
  box-shadow: var(--theme-shadow-hover);
  border-color: var(--theme-accent-light);
}

/* Sections alternating bg */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

/* Buttons — emerald solid */
.btn-primary,
button[type="submit"],
a.bg-emerald-600,
a.bg-green-600,
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color var(--theme-transition), transform var(--theme-transition);
}

.btn-primary:hover,
button[type="submit"]:hover,
a.bg-emerald-600:hover,
a.bg-green-600:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: translateY(-1px);
}

/* Tech schematic grid pattern on hero */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Stat numbers — emerald accent */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-weight: 700;
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  text-decoration-color: transparent;
  transition: text-decoration-color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  text-decoration-color: var(--theme-accent);
}

/* Form inputs — clean */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-accent-light);
  outline: none;
}

/* Footer override — light */
footer {
  background-color: var(--theme-bg-alt) !important;
  color: var(--theme-text) !important;
  border-top: 1px solid var(--theme-card-border);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 2.5rem 1rem; }
  .hero-section h1 { font-size: 1.75rem; }
  .card:hover { transform: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 5rem 2rem; }
  .hero-section h1 { font-size: 3rem; }
}


/* === Nav & Template Color Harmonization === */
nav a[href="#devis-form"] {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border-color: var(--theme-accent) !important;
}
nav a[href="#devis-form"]:hover {
  background-color: var(--theme-accent-hover) !important;
  border-color: var(--theme-accent-hover) !important;
}

