/* Site Theme: extension-maison-maconnerie.be — "Architectural line art" */
@import url('https://fonts.googleapis.com/css2?family=Barlow: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: #111111;
  --theme-accent: #D97706;
  --theme-accent-hover: #B45309;
  --theme-accent-light: #FEF3C7;
  --theme-line: #111111;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #E5E7EB;
  --theme-font-heading: 'Barlow', -apple-system, sans-serif;
  --theme-font-body: 'Barlow', -apple-system, sans-serif;
  --theme-radius: 0;
  --theme-radius-lg: 0;
  --theme-shadow: none;
  --theme-shadow-hover: 0 0 0 1px var(--theme-accent);
  --theme-transition: 0.3s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Hero — photo-first, dark overlay for text contrast */
.hero-section {
  background: #111827;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: none;
}

/* Disable pseudo-element overlays — photo hero doesn't need them */
.hero-section::before,
.hero-section::after {
  display: none;
}

@keyframes lineDrawHouse {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

.hero-section h1 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

/* No underline on photo hero h1 */
.hero-section h1::after {
  display: none;
}

/* Cards — line-art minimal, border only */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 0;
  box-shadow: none;
  transition: all var(--theme-transition);
  position: relative;
}

.card:hover,
.bg-white.rounded-lg:hover {
  border-color: var(--theme-accent);
  box-shadow: var(--theme-shadow-hover);
}

/* Corner accent on cards */
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--theme-accent);
  border-style: solid;
  opacity: 0;
  transition: opacity var(--theme-transition);
}

.card::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.card::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

/* Buttons — outlined then filled */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: transparent !important;
  color: var(--theme-accent) !important;
  border: 2px solid var(--theme-accent) !important;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  transition: all var(--theme-transition);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
}

/* h2 with thin stroke line */
h2 {
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--theme-accent);
  margin-top: 0.5rem;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-weight: 300;
  font-size: 3rem;
}

/* Links — turquoise */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  border-bottom-color: var(--theme-accent);
}

/* Form inputs — fine borders */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: 0;
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: none;
  outline: 1px solid var(--theme-accent);
  outline-offset: -1px;
}

/* hr — thin stroke */
hr {
  border: none;
  height: 1px;
  background: var(--theme-card-border);
}

/* Footer */
footer {
  background-color: var(--theme-heading) !important;
  border-top: 1px solid var(--theme-card-border);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; }
  .hero-section h1 { font-size: 1.75rem; }
  .hero-section::after { display: none; }
  .card::before, .card::after { display: none; }
}

@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;
}

