/* =========================================================
   BRUNO DE MENTEN — Taques de cheminées
   Feuille de style principale
   ========================================================= */

:root {
  --navy: #0f2456;
  --navy-deep: #050a20;
  --gold: #ba9b80;
  --gold-dark: #a3835f;
  --cream: #f6f4f0;
  --grey-bg: #f2f0ec;
  --footer-dark: #14171c;
  --text-dark: #1c2333;
  --text-body: #3d4250;
  --white: #ffffff;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75em;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ============ HEADER ============ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.logo .logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}
.logo .logo-main span { color: var(--gold); font-style: italic; font-weight: 400; }
.logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--white);
}
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 11px; }
.nav-toggle::after { bottom: 0; }

/* ============ HERO GÉNÉRIQUE (pages intérieures) ============ */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  opacity: 0.55;
}
.page-hero h1 {
  position: relative;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  padding: 0 20px;
}

/* ============ HERO ACCUEIL ============ */
.home-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  opacity: 0.5;
}
.home-hero .hero-content {
  position: relative;
  color: var(--white);
  max-width: 760px;
  padding: 0 24px;
}
.home-hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 700;
}

/* ============ SECTION SPLIT (image / texte) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.split .split-media { background-size: cover; background-position: center; min-height: 420px; }
.split .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split .split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px;
}
.split .split-text p:last-child { margin-bottom: 0; }

/* ============ SECTION SERVICES (fond navy) ============ */
.section-navy {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 70px 0;
}
.section-navy h2 { color: var(--white); }
.section-navy .eyebrow { color: var(--gold); }
.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.services-head .services-copy { max-width: 620px; }
.gallery-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.gallery-cards figure { margin: 0; background: var(--white); padding: 20px 20px 30px; text-align: center; }
.gallery-cards img { width: 100%; height: 260px; object-fit: cover; }

/* ============ BANDEAU FOND IMAGE (Depuis 1990) ============ */
.section-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.section-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,10,32,0.85) 0%, rgba(5,10,32,0.35) 70%);
}
.section-banner .container { position: relative; }
.section-banner .eyebrow { color: var(--gold); }
.section-banner h2 { color: var(--white); max-width: 560px; }

/* ============ CONTENU STANDARD (pages intérieures) ============ */
.content-section { padding: 70px 0; }
.content-section.alt { background: var(--grey-bg); }
.content-section hr.divider {
  border: none;
  border-top: 1px dashed #d8b98a;
  margin: 50px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro-grid ul { padding-left: 20px; margin: 0; }
.intro-grid li { margin-bottom: 12px; }

/* ---- Grille de catégories (icônes rondes + libellé) ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px 20px;
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
}
.category-grid a { display: block; color: var(--text-dark); }
.category-grid img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 2px solid var(--grey-bg);
  transition: border-color 0.2s;
}
.category-grid a:hover img { border-color: var(--gold); }
.category-grid span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.category-grid a:hover span { color: var(--gold-dark); }

/* ---- Fiches modèles (image / texte alternés) ---- */
.model-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid #e7e3da;
  scroll-margin-top: 110px;
}
.model-row:last-child { border-bottom: none; }
.model-row img { width: 100%; }
.model-row h3 { font-size: 1.4rem; }

/* ---- Etapes / listes taques 1 et 2 blasons (page choisir) ---- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 20px;
  text-align: center;
}
.mini-grid.four { grid-template-columns: repeat(4, 1fr); }
.mini-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 12px; }
.mini-grid h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-heading-tan { color: var(--gold-dark); text-align: center; margin-bottom: 30px; }

.bronze-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.bronze-grid ul { padding-left: 20px; }
.bronze-crests { display: flex; gap: 20px; margin-top: 24px; }
.bronze-crests img { width: 45%; }
.bronze-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CTA NAVY (bas de page) ============ */
.cta-bar {
  background: var(--navy);
  padding: 45px 0;
}
.cta-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-bar h2 { color: var(--white); font-size: 1.5rem; margin: 0; }

/* ============ FOOTER ============ */
.site-footer-bottom {
  background: var(--footer-dark);
  color: rgba(255,255,255,0.7);
  padding: 20px 0;
  font-size: 0.82rem;
}
.site-footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-links a { margin-right: 18px; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--gold); }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e0dcd0;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 40px 22px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.6rem;
  color: var(--gold-dark);
  transition: transform 0.25s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 0 24px; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
}
.contact-form-wrap { padding: 70px 60px 70px 0; }
.contact-sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 60px 45px;
}
.contact-sidebar h3 { color: var(--white); font-size: 1.3rem; }
.contact-sidebar h4 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 34px;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.contact-sidebar p { font-weight: 600; font-size: 1.05rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9d3c4;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.8rem; color: #7b7f8c; margin-top: -6px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .split, .intro-grid, .bronze-grid, .contact-grid, .model-row { grid-template-columns: 1fr; }
  .split .split-text { padding: 40px 24px; }
  .contact-form-wrap { padding: 40px 24px; }
  .contact-sidebar { padding: 40px 24px; }
  .gallery-cards { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-grid, .mini-grid.four { grid-template-columns: repeat(2, 1fr); }
  .model-row img { order: -1; }
  .form-row { grid-template-columns: 1fr; }
  .cta-bar .container { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ MENU MOBILE ============ */
.main-nav.mobile-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 10px 24px 24px;
}
.main-nav.mobile-open ul { flex-direction: column; gap: 0; }
.main-nav.mobile-open li { border-top: 1px solid rgba(255,255,255,0.1); }
.main-nav.mobile-open a { display: block; padding: 14px 0; border: none; }
