/* Site Theme: toiture-facades-renov.be — "Industrial chic" */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --theme-bg: #FAFAFA;
  --theme-bg-alt: #F0EFED;
  --theme-bg-dark: #1A1A1A;
  --theme-text: #374151;
  --theme-text-light: #6B7280;
  --theme-heading: #111111;
  --theme-accent: #D97706;
  --theme-accent-hover: #B45309;
  --theme-accent-light: #FEF3C7;
  --theme-concrete: #6B7280;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #D1D5DB;
  --theme-font-heading: 'Oswald', Impact, sans-serif;
  --theme-font-body: 'Roboto', -apple-system, sans-serif;
  --theme-radius: 0.125rem;
  --theme-radius-lg: 0.25rem;
  --theme-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  --theme-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
  --theme-transition: 0.2s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Hero — full-width dark industrial overlay */
.hero-section {
  background: var(--theme-bg-dark);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  color: #fff;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='100' height='100' fill='none'/%3E%3Cline x1='0' y1='50' x2='100' y2='50' stroke='%23333' stroke-width='0.3'/%3E%3Cline x1='50' y1='0' x2='50' y2='100' stroke='%23333' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--theme-accent);
}

.hero-section h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* Gritty texture overlay on certain sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='%23D1D5DB' fill-opacity='0.3'/%3E%3C/svg%3E");
  background-size: 4px 4px;
}

/* Cards — sharp geometric */
.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);
  position: relative;
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  transform: translateY(-2px);
}

/* Red accent bar on card left */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--theme-accent);
  opacity: 0;
  transition: opacity var(--theme-transition);
}

.card:hover::after {
  opacity: 1;
}

/* Buttons — brick red industrial */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-family: var(--theme-font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

/* Industrial diagonal stripe */
@keyframes diagonalStripe {
  0% { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

.hero-section .badge,
.hero-section .tag {
  background: repeating-linear-gradient(
    45deg,
    var(--theme-accent),
    var(--theme-accent) 5px,
    var(--theme-accent-hover) 5px,
    var(--theme-accent-hover) 10px
  );
  background-size: 14px 14px;
  animation: diagonalStripe 1s linear infinite;
  color: #fff;
  padding: 0.25rem 0.75rem;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-family: var(--theme-font-heading);
  font-weight: 700;
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  text-decoration: none;
  transition: color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: var(--theme-accent-hover);
}

/* Form inputs */
input, select, textarea {
  border: 2px 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 2px var(--theme-accent-light);
  outline: none;
}

/* Footer */
footer {
  background-color: var(--theme-bg-dark) !important;
  border-top: 3px solid var(--theme-accent);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; }
  .hero-section h1 { font-size: 2rem; }
  .card:hover { transform: none; }
  .card::after { display: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 2rem; }
  .hero-section h1 { font-size: 3.5rem; }
}


/* === 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;
}

