/* Site Theme: nettoyage-toit-gouttieres.be — "Nature recovery" */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --theme-bg: #FAFDF7;
  --theme-bg-alt: #F0F5EB;
  --theme-text: #374151;
  --theme-text-light: #6B7280;
  --theme-heading: #14532D;
  --theme-accent: #0891B2;
  --theme-accent-hover: #0E7490;
  --theme-accent-light: #CFFAFE;
  --theme-earth: #78350F;
  --theme-earth-light: #D4A574;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #D1E7D9;
  --theme-font-heading: 'Quicksand', -apple-system, sans-serif;
  --theme-font-body: 'Quicksand', -apple-system, sans-serif;
  --theme-radius: 1rem;
  --theme-radius-lg: 1.25rem;
  --theme-shadow: 0 2px 8px rgba(22, 101, 52, 0.06);
  --theme-shadow-hover: 0 6px 20px rgba(22, 101, 52, 0.12);
  --theme-transition: 0.3s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 500;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 700;
  line-height: 1.25;
}

/* Hero — nature recovery green gradient */
.hero-section {
  background: linear-gradient(160deg, #166534 0%, #15803D 40%, #22C55E 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  color: #fff;
  border-radius: 0 0 2rem 2rem;
}

/* Organic blob shapes */
.hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
  animation: morphBlob 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 40% 60% 70% 30% / 60% 40% 30% 70%;
  animation: morphBlob 10s ease-in-out infinite reverse;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%; }
  25% { border-radius: 40% 60% 70% 30% / 60% 40% 30% 70%; }
  50% { border-radius: 50% 50% 40% 60% / 40% 70% 50% 60%; }
  75% { border-radius: 70% 30% 60% 40% / 50% 50% 60% 40%; }
}

.hero-section h1 {
  color: #fff;
  font-size: 2.5rem;
}

/* Before/After counter concept */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-weight: 700;
  animation: countUp 0.5s ease-out;
}

/* Cards — organic rounded */
.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: all var(--theme-transition);
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  transform: translateY(-4px);
  border-color: var(--theme-accent-light);
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
  border-radius: 2rem;
  margin: 0.5rem;
}

/* Buttons — forest green */
.btn-primary,
button[type="submit"],
.cta-button {
  background: linear-gradient(135deg, var(--theme-accent), var(--theme-accent-hover)) !important;
  color: #fff !important;
  border: none;
  border-radius: 2rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.3);
}

/* Earth brown accents */
.badge, .tag {
  background-color: var(--theme-earth-light);
  color: var(--theme-earth);
  border-radius: 1rem;
  font-weight: 600;
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  transition: color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: var(--theme-accent-hover);
}

/* Form inputs */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  transition: all 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 */
footer {
  background-color: var(--theme-heading) !important;
  border-radius: 2rem 2rem 0 0;
  margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; border-radius: 0 0 1.5rem 1.5rem; }
  .hero-section h1 { font-size: 1.75rem; }
  .card:hover { transform: none; }
  section:nth-child(even) { border-radius: 1rem; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 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;
}

