/* ========================================================================
   FERLAND INVESTISSEMENT - DIVISION CONSTRUCTION
   Site web officiel | Design moderne épuré | Noir/Blanc/Bois
   ======================================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.7; color: #2a2a2a; background: #faf8f5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- COLOR PALETTE & VARIABLES ---------- */
:root {
  --noir: #1a1a1a;
  --noir-doux: #2a2a2a;
  --blanc: #ffffff;
  --creme: #faf8f5;
  --creme-fonce: #f0ebe3;
  --bois: #b8935a;
  --bois-fonce: #8a6a3d;
  --gris-texte: #555555;
  --gris-leger: #e8e4dc;
  --ombre: 0 4px 20px rgba(0,0,0,0.08);
  --ombre-forte: 0 10px 40px rgba(0,0,0,0.15);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- TYPOGRAPHIE ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; line-height: 1.2; color: var(--noir);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 1rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--gris-texte); }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--noir-doux); font-weight: 300; }

/* ---------- CONTENEURS ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

/* ---------- UTILITAIRES ---------- */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }
.section-label {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bois); font-weight: 600;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.15rem; color: var(--gris-texte); max-width: 700px; margin: 0 auto 3rem; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.2rem; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 2px; transition: all .35s var(--transition);
  cursor: pointer;
}
.btn-primary { background: var(--noir); color: var(--blanc); }
.btn-primary:hover { background: var(--bois); color: var(--blanc); transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.btn-outline { background: transparent; color: var(--noir); border: 1.5px solid var(--noir); }
.btn-outline:hover { background: var(--noir); color: var(--blanc); }
.btn-light { background: transparent; color: var(--blanc); border: 1.5px solid var(--blanc); }
.btn-light:hover { background: var(--blanc); color: var(--noir); }
.btn-arrow::after { content: '→'; transition: transform .3s ease; }
.btn-arrow:hover::after { transform: translateX(5px); }

/* ---------- BARRE SUPÉRIEURE ---------- */
.topbar {
  background: var(--noir); color: var(--blanc);
  padding: 0.6rem 0; font-size: 0.85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 2rem; align-items: center; }
.topbar-info span, .topbar-info .topbar-link { display: inline-flex; align-items: center; gap: 0.4rem; opacity: 0.9; color: var(--blanc); text-decoration: none; transition: opacity .2s ease, color .2s ease; }
.topbar-info .topbar-link:hover { opacity: 1; color: var(--bois); }
.topbar-info .topbar-link i { transition: color .2s ease; }
.topbar-info .topbar-link:hover i { color: var(--bois); }
.topbar-rbq { color: var(--bois); font-weight: 500; }
@media (max-width: 768px) { .topbar-info { gap: 1rem; font-size: 0.75rem; } }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-leger);
  transition: all .3s ease;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 2rem; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--noir); letter-spacing: -0.01em; }
.logo-sub { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bois); font-weight: 500; margin-top: 2px; }
.nav-menu { display: flex; gap: 2.5rem; align-items: center; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--noir-doux); position: relative; padding: 0.5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--bois); transition: width .3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { background: var(--noir); color: var(--blanc) !important; padding: 0.7rem 1.5rem; border-radius: 2px; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-cta:hover { background: var(--bois); }
.nav-cta::after { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav-toggle span { width: 25px; height: 2px; background: var(--noir); transition: all .3s ease; }

@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: var(--blanc); flex-direction: column; justify-content: center; align-items: flex-start; padding: 2rem; gap: 1.5rem; box-shadow: var(--ombre-forte); transition: right .35s ease; }
  .nav-menu.active { right: 0; }
  .nav-menu .nav-link { font-size: 1.1rem; }
  .nav-menu .nav-cta { margin-top: 1rem; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: var(--blanc); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.55) 100%),
    repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(184,147,90,0.03) 100px, rgba(184,147,90,0.03) 101px);
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; right: -10%; width: 60%; height: 100%;
  background: radial-gradient(circle at center, rgba(184,147,90,0.15) 0%, transparent 60%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 780px; }
.hero-label { display: inline-block; padding: 0.5rem 1.2rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 2px; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 2rem; color: var(--bois); }
.hero h1 { color: var(--blanc); margin-bottom: 1.5rem; font-weight: 500; }
.hero h1 .accent { color: var(--bois); font-style: italic; }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 620px; font-weight: 300; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 3rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-number { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--bois); line-height: 1; }
.hero-meta-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 0.3rem; }

/* ---------- EN-TÊTE DE PAGE (pages intérieures) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--noir) 0%, #2a2a2a 100%);
  color: var(--blanc); padding: 7rem 0 5rem; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(184,147,90,0.04) 100px, rgba(184,147,90,0.04) 101px);
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--blanc); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 700px; }
.breadcrumb { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--bois); letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--blanc); }

/* ---------- GRILLES ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 968px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 1024px) and (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CARTES SERVICES ---------- */
.service-card {
  background: var(--blanc); padding: 2.5rem; border: 1px solid var(--gris-leger);
  transition: all .4s var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--bois); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--ombre-forte); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; background: var(--creme-fonce);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; color: var(--bois); font-size: 1.8rem;
  transition: all .3s ease;
}
.service-card:hover .service-icon { background: var(--bois); color: var(--blanc); }
.service-card h3 { margin-bottom: 0.8rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-link { color: var(--noir); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--noir); padding-bottom: 2px; }
.service-link:hover { color: var(--bois); border-color: var(--bois); }

/* ---------- CARTES AVANTAGES ---------- */
.feature { text-align: center; padding: 2rem 1rem; }
.feature-icon {
  width: 70px; height: 70px; margin: 0 auto 1.5rem;
  background: var(--blanc); border: 2px solid var(--bois);
  display: flex; align-items: center; justify-content: center;
  color: var(--bois); font-size: 1.8rem;
  transition: all .3s ease;
}
.feature:hover .feature-icon { background: var(--bois); color: var(--blanc); transform: scale(1.05); }
.feature h4 { margin-bottom: 0.6rem; }
.feature p { font-size: 0.95rem; }

/* ---------- SECTION À PROPOS / IMAGE + TEXTE ---------- */
.about-image {
  aspect-ratio: 4/5; background: linear-gradient(135deg, var(--creme-fonce) 0%, var(--gris-leger) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-image.has-image::after { display: none; }
.about-badge {
  position: absolute; bottom: 2rem; left: 2rem;
  background: var(--noir); color: var(--blanc);
  padding: 1.5rem 2rem; z-index: 2;
}
.about-badge .number { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--bois); line-height: 1; }
.about-badge .label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-feature { display: flex; gap: 1rem; align-items: flex-start; }
.about-feature::before { content: '✓'; color: var(--bois); font-size: 1.2rem; font-weight: bold; flex-shrink: 0; }
.about-feature strong { display: block; color: var(--noir); margin-bottom: 0.2rem; }

/* ---------- BANDEAU CTA ---------- */
.cta-band {
  background: var(--noir); color: var(--blanc); padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(184,147,90,0.15) 0%, transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--blanc); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- SECTION TERRITOIRE ---------- */
.territory {
  background: var(--creme-fonce); padding: 5rem 0; text-align: center;
}
.territory-cities { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.territory-city { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--noir-doux); position: relative; padding: 0.3rem 0; }
.territory-city::after { content: '•'; color: var(--bois); position: absolute; right: -1.25rem; top: 0.3rem; }
.territory-city:last-child::after { display: none; }

/* ---------- TÉMOIGNAGES ---------- */
.testimonial-card {
  background: var(--blanc); padding: 3rem 2.5rem; border: 1px solid var(--gris-leger);
  position: relative; transition: all .3s ease;
}
.testimonial-card:hover { box-shadow: var(--ombre); }
.testimonial-card::before {
  content: '"'; position: absolute; top: -10px; left: 20px;
  font-family: 'Playfair Display', serif; font-size: 6rem; color: var(--bois);
  line-height: 1; opacity: 0.3;
}
.testimonial-stars { color: var(--bois); margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 1.05rem; color: var(--noir-doux); font-style: italic; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--gris-leger); }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--creme-fonce); display: flex; align-items: center; justify-content: center; color: var(--bois); font-weight: 600; font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.testimonial-author-info strong { display: block; color: var(--noir); }
.testimonial-author-info span { font-size: 0.85rem; color: var(--gris-texte); }

/* ---------- GALERIE RÉALISATIONS ---------- */
.gallery-filters { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.gallery-filter { padding: 0.6rem 1.3rem; background: transparent; border: 1px solid var(--gris-leger); color: var(--noir-doux); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; transition: all .3s ease; }
.gallery-filter:hover, .gallery-filter.active { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 968px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  aspect-ratio: 4/3;
  background-color: var(--creme-fonce);
  background-image: linear-gradient(135deg, var(--creme-fonce) 0%, var(--gris-leger) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative; overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .4s ease;
}
/* Placeholder text retiré - toutes les galeries ont des images maintenant */
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 60%);
  color: var(--blanc); padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-overlay h4 { color: var(--blanc); margin-bottom: 0.3rem; }
.gallery-overlay span { color: var(--bois); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- BLOGUE ---------- */
.blog-card { background: var(--blanc); border: 1px solid var(--gris-leger); transition: all .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.blog-image { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--creme-fonce) 0%, var(--gris-leger) 100%); display: flex; align-items: center; justify-content: center; position: relative; }
/* Placeholder text retiré - toutes les images d'articles sont en place */
.blog-image.has-image::before { display: none; }
.blog-content { padding: 2rem; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--bois); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.blog-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; transition: color .3s ease; }
.blog-card:hover h3 { color: var(--bois); }
.blog-card p { font-size: 0.95rem; margin-bottom: 1.2rem; }
.blog-card a.service-link { padding-bottom: 2px; font-size: 0.8rem; }

/* ---------- FORMULAIRE CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
@media (max-width: 968px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info-card { background: var(--noir); color: var(--blanc); padding: 3rem; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px; background: radial-gradient(circle, rgba(184,147,90,0.2) 0%, transparent 70%); }
.contact-info-card h3 { color: var(--blanc); margin-bottom: 1.5rem; }
.contact-info-card p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; position: relative; }
.contact-detail-icon { width: 40px; height: 40px; background: rgba(184,147,90,0.15); color: var(--bois); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-detail strong { display: block; color: var(--blanc); margin-bottom: 0.2rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-detail span, .contact-detail a { color: rgba(255,255,255,0.9); font-size: 1rem; }
.contact-detail a:hover { color: var(--bois); }

.contact-form { background: var(--blanc); padding: 3rem; border: 1px solid var(--gris-leger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--noir); font-weight: 600; margin-bottom: 0.5rem; }
.form-group label .required { color: var(--bois); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; font-family: inherit; font-size: 0.95rem;
  background: var(--creme); border: 1px solid var(--gris-leger); color: var(--noir);
  transition: all .3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--bois); background: var(--blanc);
  box-shadow: 0 0 0 3px rgba(184,147,90,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.8rem; color: var(--gris-texte); margin-top: 1rem; }

/* ---------- FOOTER ---------- */
footer { background: var(--noir); color: rgba(255,255,255,0.85); padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (max-width: 968px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-main { color: var(--blanc); font-size: 1.6rem; }
.footer-brand .logo-sub { color: var(--bois); }
.footer-brand p { margin: 1.2rem 0; font-size: 0.95rem; line-height: 1.7; }
.footer h4 { color: var(--blanc); font-family: 'Inter', sans-serif; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; font-weight: 600; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--bois); }
.footer-contact p { font-size: 0.95rem; margin-bottom: 0.8rem; color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--bois); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.08); color: var(--blanc); display: flex; align-items: center; justify-content: center; transition: all .3s ease; font-size: 1rem; }
.footer-social a:hover { background: var(--bois); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-certifications { display: flex; gap: 1.5rem; font-size: 0.8rem; color: var(--bois); letter-spacing: 0.05em; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; animation: fadeInUp .8s ease forwards; }
.fade-in.delay-1 { animation-delay: .15s; }
.fade-in.delay-2 { animation-delay: .3s; }
.fade-in.delay-3 { animation-delay: .45s; }

/* ---------- VALEURS (page À propos) ---------- */
.value-card { padding: 2rem; background: var(--blanc); border-left: 3px solid var(--bois); transition: all .3s ease; }
.value-card:hover { transform: translateX(5px); box-shadow: var(--ombre); }
.value-card h3 { color: var(--noir); margin-bottom: 0.8rem; font-size: 1.3rem; }

/* ---------- SERVICES DÉTAIL ---------- */
.service-detail { padding: 5rem 0; border-bottom: 1px solid var(--gris-leger); }
.service-detail:nth-child(even) { background: var(--creme-fonce); }
.service-detail .grid-2 { gap: 4rem; }
.service-detail ul.features-list { margin: 1.5rem 0; }
.service-detail ul.features-list li { padding: 0.6rem 0 0.6rem 2rem; position: relative; color: var(--noir-doux); }
.service-detail ul.features-list li::before { content: '✓'; position: absolute; left: 0; color: var(--bois); font-weight: bold; font-size: 1.2rem; }

/* ---------- LIENS D'ANCRAGE ---------- */
.anchor-offset { padding-top: 80px; margin-top: -80px; }

/* ---------- ARTICLES DE BLOGUE (pages individuelles) ---------- */
.article-hero { aspect-ratio: 21/9; background-size: cover; background-position: center; position: relative; margin-bottom: 3rem; }
.article-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(250,248,245,1) 100%); }
.article-body { max-width: 800px; margin: 0 auto; padding: 0 2rem 4rem; }
.article-body .article-meta { margin-bottom: 2rem; }
.article-body h2 { font-size: 1.75rem; margin: 3rem 0 1rem; color: var(--noir); border-left: 3px solid var(--bois); padding-left: 1rem; }
.article-body h3 { font-size: 1.3rem; margin: 2rem 0 0.8rem; color: var(--noir); }
.article-body p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.2rem; color: var(--noir-doux); }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body ul li, .article-body ol li { margin-bottom: 0.6rem; line-height: 1.7; color: var(--noir-doux); }
.article-body ul li { list-style: none; position: relative; padding-left: 1.5rem; }
.article-body ul li::before { content: '▸'; color: var(--bois); position: absolute; left: 0; font-weight: bold; }
.article-body blockquote { margin: 2rem 0; padding: 1.5rem 2rem; background: var(--creme-fonce); border-left: 4px solid var(--bois); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.15rem; color: var(--noir); }
.article-body .callout { margin: 2rem 0; padding: 1.5rem 2rem; background: var(--noir); color: var(--blanc); position: relative; }
.article-body .callout strong { color: var(--bois); display: block; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; font-style: normal; }
.article-body .callout p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.article-footer { max-width: 800px; margin: 2rem auto; padding: 2rem; background: var(--creme-fonce); text-align: center; }
.article-footer h3 { margin-bottom: 0.5rem; }
.article-footer p { margin-bottom: 1.5rem; }
.related-articles { background: var(--creme-fonce); padding: 5rem 0; }
.related-articles .section-header { margin-bottom: 3rem; }
.article-tag { display: inline-block; padding: 0.3rem 0.8rem; background: var(--bois); color: var(--blanc); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-right: 0.5rem; font-weight: 600; }

/* ---------- PAGES PROJET (RÉALISATIONS) ---------- */
.project-hero { aspect-ratio: 21/10; background-size: cover; background-position: center; position: relative; }
.project-meta-grid { max-width: 1100px; margin: -6rem auto 4rem; background: var(--blanc); padding: 2.5rem 3rem; position: relative; z-index: 2; box-shadow: var(--ombre); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 768px) { .project-meta-grid { grid-template-columns: repeat(2, 1fr); margin-top: -4rem; padding: 2rem; } }
.project-meta-item { border-left: 2px solid var(--bois); padding-left: 1rem; }
.project-meta-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gris-texte); font-weight: 600; margin-bottom: 0.3rem; }
.project-meta-value { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--noir); font-weight: 600; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0; }
@media (max-width: 768px) { .project-gallery { grid-template-columns: 1fr; } }
.project-gallery .gallery-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--creme-fonce); transition: transform .3s ease; cursor: pointer; }
.project-gallery .gallery-img:hover { transform: scale(1.02); }
.project-gallery .gallery-img.wide { grid-column: span 2; }
@media (max-width: 768px) { .project-gallery .gallery-img.wide { grid-column: span 1; } }
.project-specs { background: var(--creme-fonce); padding: 2.5rem; margin: 3rem 0; }
.project-specs h3 { margin-bottom: 1.5rem; }
.project-specs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 600px) { .project-specs-list { grid-template-columns: 1fr; } }
.project-specs-list div { padding: 0.8rem 0; border-bottom: 1px solid var(--gris-leger); }
.project-specs-list strong { display: block; color: var(--noir); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.2rem; }
.project-specs-list span { color: var(--gris-texte); }
.gallery-item-link { display: block; position: relative; }
.gallery-item-link::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 50px; height: 50px; background: var(--bois); color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: transform .3s ease; z-index: 3; }
.gallery-item-link:hover::after { transform: translate(-50%, -50%) scale(1); }

/* ---------- NUMÉRO DE DEMANDE CLIENT ---------- */
.reference-number-box {
  background: linear-gradient(135deg, var(--noir) 0%, #2a2a2a 100%);
  color: var(--blanc); padding: 1.5rem 1.75rem; margin-bottom: 2rem;
  position: relative; overflow: hidden;
  border-left: 4px solid var(--bois);
}
.reference-number-box::before {
  content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(184,147,90,0.25) 0%, transparent 70%);
}
.reference-number-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bois); font-weight: 600; margin-bottom: 0.5rem; position: relative;
}
.reference-number-value {
  font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 600;
  color: var(--blanc); letter-spacing: 0.08em; position: relative;
  line-height: 1.2;
}
.reference-number-note {
  font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.6rem;
  font-style: italic; position: relative;
}

/* ---------- ZONE DE TÉLÉVERSEMENT DE FICHIERS ---------- */
.file-upload-zone {
  border: 2px dashed var(--gris-leger); background: var(--creme);
  padding: 2rem 1.5rem; text-align: center; transition: all .3s ease;
  cursor: pointer; border-radius: 2px;
}
.file-upload-zone:hover, .file-upload-zone.dragover {
  border-color: var(--bois); background: var(--creme-fonce);
}
.file-upload-label { cursor: pointer; display: block; }
.file-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.file-list:empty { display: none; }
.file-item {
  background: var(--blanc); border: 1px solid var(--gris-leger); padding: 0.7rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.9rem; text-align: left;
}
.file-item-info { display: flex; align-items: center; gap: 0.8rem; flex: 1; min-width: 0; }
.file-item-info i { color: var(--bois); font-size: 1.1rem; flex-shrink: 0; }
.file-item-name { color: var(--noir); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.file-item-size { color: var(--gris-texte); font-size: 0.8rem; flex-shrink: 0; }
.file-item-remove {
  background: none; border: none; color: var(--gris-texte); cursor: pointer;
  padding: 0.3rem 0.5rem; transition: color .2s ease; flex-shrink: 0;
}
.file-item-remove:hover { color: #d64545; }
