/* ==========================================================================
   QUALITÉ TOITURE —
   ========================================================================== */

.btn-float {
    position: fixed !important; /* Force la position */
    bottom: 30px !important;
    right: 30px !important;
    background-color: #c8102e !important; /* Rouge direct pour tester */
    color: #ffffff !important;
    display: flex !important; /* Force l'affichage */
    align-items: center;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: bold;
    z-index: 999999; /* Le met au-dessus de TOUT */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.float-text {
    margin-left: 10px;
    text-transform: uppercase;
}
:root {
  --rouge: #c8102e;
  --rouge-fonce: #9b0a22;
  --rouge-clair: #e63946;
  --noir: #1a1a1a;
  --noir-doux: #2a2a2a;
  --gris-fonce: #3d3d3d;
  --gris: #6b7280;
  --gris-clair: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --texte: #1a1a1a;
  --texte-doux: #555;
  --bordure: #e5e7eb;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--texte);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--rouge); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rouge-fonce); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============== TOPBAR (urgence) ============== */
.topbar {
  background: var(--noir);
  color: white;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar a { color: var(--rouge-clair); font-weight: 600; }
.topbar a:hover { color: white; }
.topbar .urgence-link {
  background: var(--rouge);
  color: white;
  padding: 0.2rem 0.85rem;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.topbar .urgence-link:hover { background: var(--rouge-fonce); color: white; }

/* ============== NAVIGATION ============== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--bordure);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--noir);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo:hover { color: var(--rouge); }
.logo-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--rouge);
  color: white;
  border-radius: 4px;
  font-size: 1.5rem;
}
.logo span { color: var(--rouge); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--noir);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--rouge);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--rouge); }

.nav-cta {
  background: var(--rouge);
  color: white !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}
.nav-cta:hover { background: var(--rouge-fonce); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--noir);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  background: 
    linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
    url('../images/toiture-back.jpeg') center/cover no-repeat;
  color: white;
}

.hero-content { max-width: 800px; }

.hero .eyebrow {
  display: inline-block;
  background: var(--rouge);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero h1 span { color: var(--rouge-clair); }

.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 650px;
}

/* ============== BOUTONS ============== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: var(--rouge);
  color: white;
  border-color: var(--rouge);
}
.btn-primary:hover {
  background: var(--rouge-fonce);
  border-color: var(--rouge-fonce);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}
.btn-noir {
  background: var(--noir);
  color: white;
  border-color: var(--noir);
}
.btn-noir:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: white;
}
.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline:hover {
  background: white;
  color: var(--noir);
}
.btn-secondary {
  background: transparent;
  color: var(--noir);
  border-color: var(--noir);
}
.btn-secondary:hover {
  background: var(--noir);
  color: white;
}
.btn-danger {
  background: var(--rouge);
  color: white;
  border-color: var(--rouge);
}
.btn-danger:hover { background: var(--rouge-fonce); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============== SECTIONS ============== */
section { padding: 4.5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow {
  color: var(--rouge);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

/* ============== STATS / BANDEAU ============== */
.stats {
  background: var(--noir);
  padding: 3rem 0;
  color: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: "Oswald", sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--rouge-clair);
  display: block;
  line-height: 1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ============== SERVICES ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--bordure);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rouge);
}
.service-image {
  height: 200px;
  background: var(--gris-clair);
  position: relative;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-image img { transform: scale(1.05); }
.service-icon {
  position: absolute;
  bottom: -22px;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--rouge);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.4);
}
.service-body {
  padding: 2rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 { margin-bottom: 0.75rem; color: var(--noir); }
.service-body p {
  color: var(--texte-doux);
  margin-bottom: 1rem;
  flex: 1;
}
.service-body ul {
  list-style: none;
  margin-bottom: 1rem;
}
.service-body li {
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
  color: var(--texte);
  font-size: 0.9rem;
}
.service-body li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--rouge);
  font-weight: 700;
}
.service-link {
  margin-top: auto;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  color: var(--rouge);
}
.service-link::after {
  content: " →";
  transition: margin var(--transition);
  display: inline-block;
}
.service-link:hover::after { margin-left: 0.4rem; }

/* ============== RÉALISATIONS / AVANT-APRÈS ============== */
.realisations-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.realisations-filters button {
  background: white;
  border: 2px solid var(--bordure);
  padding: 0.55rem 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  color: var(--noir);
  transition: all var(--transition);
}
.realisations-filters button:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}
.realisations-filters button.active {
  background: var(--rouge);
  border-color: var(--rouge);
  color: white;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.realisation-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--bordure);
}
.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Comparateur avant/après (slider) */
.compare {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #000;
  user-select: none;
  cursor: ew-resize;
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-img.after-img {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.05s linear;
}
.compare-label {
  position: absolute;
  top: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}
.compare-label.avant { left: 12px; }
.compare-label.apres { right: 12px; background: var(--rouge); }
.compare-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.compare-handle::after {
  content: "⇄";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: white;
  color: var(--rouge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.realisation-body {
  padding: 1.25rem;
}
.realisation-tag {
  display: inline-block;
  background: var(--noir);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.realisation-body h3 { margin-bottom: 0.5rem; color: var(--noir); }
.realisation-body .meta {
  color: var(--texte-doux);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ============== URGENCE 24/7 ============== */
.urgence-banner {
  background: var(--rouge);
  background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce));
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.urgence-banner::before {
  content: "⚠";
  position: absolute;
  font-size: 25rem;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.urgence-banner h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); }
.urgence-banner h2 span { display: block; font-size: 0.5em; margin-top: 0.5rem; opacity: 0.9; }
.urgence-tel {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 1.5rem 0;
  display: block;
  color: white;
  letter-spacing: 0.03em;
}
.urgence-tel:hover { color: white; }
.urgence-banner p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ============== POURQUOI NOUS ============== */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--bordure);
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--rouge);
}
.value-card .icon {
  width: 64px;
  height: 64px;
  background: var(--noir);
  color: var(--rouge-clair);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: var(--texte-doux); font-size: 0.92rem; }

/* ============== FORMULAIRES ============== */
.form-card {
  background: white;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--noir);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border: 2px solid var(--bordure);
  border-radius: var(--radius-sm);
  color: var(--texte);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rouge);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .help {
  font-size: 0.8rem;
  color: var(--texte-doux);
  margin-top: 0.3rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Cases à cocher pour services */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-soft);
  border: 2px solid var(--bordure);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: all var(--transition);
}
.checkbox-grid label:hover { border-color: var(--rouge); }
.checkbox-grid input { accent-color: var(--rouge); width: 18px; height: 18px; }
.checkbox-grid label:has(input:checked) {
  border-color: var(--rouge);
  background: rgba(200, 16, 46, 0.08);
  color: var(--rouge);
  font-weight: 700;
}

/* ============== SPLIT GRID (contact / 2 col) ============== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .split-grid { grid-template-columns: 1fr; }
}
.info-card {
  background: var(--noir);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
}
.info-card h3 { color: var(--rouge-clair); margin-bottom: 1.25rem; }
.info-card p { margin-bottom: 0.85rem; color: rgba(255, 255, 255, 0.9); }
.info-card strong {
  color: white;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.info-card a { color: var(--rouge-clair); }
.info-card a:hover { color: white; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bordure);
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ============== À PROPOS ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--rouge);
}

/* ============== ALERTES ============== */
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: var(--bg-soft); color: var(--noir); border: 1px solid var(--bordure); }

/* ============== ADMIN ============== */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 3px solid var(--bordure);
  margin-bottom: 2rem;
  overflow-x: auto;
}
.tab {
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--texte-doux);
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab:hover { color: var(--rouge); }
.tab.active {
  color: var(--rouge);
  border-bottom-color: var(--rouge);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.admin-table {
  width: 100%;
  background: white;
  border: 1px solid var(--bordure);
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--bordure);
}
.admin-table th {
  background: var(--noir);
  color: white;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
}
.admin-table .row-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.admin-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--texte-doux);
  background: white;
  border-radius: var(--radius);
  border: 1px dashed var(--bordure);
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.devis-card, .contact-card {
  background: white;
  border: 1px solid var(--bordure);
  border-left: 4px solid var(--rouge);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.devis-card-header, .contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.devis-card-header h4, .contact-card-header h4 {
  color: var(--noir);
  margin-bottom: 0.25rem;
}
.urgent-badge {
  background: var(--rouge);
  color: white;
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============== MODAL ============== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal-overlay.show { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-content { padding: 2rem; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  line-height: 1;
  z-index: 10;
}
.modal-close:hover { background: var(--rouge); }

/* ============== LOGIN ============== */
.login-card {
  max-width: 420px;
  margin: 5rem auto;
  background: white;
  border: 1px solid var(--bordure);
  border-top: 4px solid var(--rouge);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.login-card h2 { color: var(--rouge); margin-bottom: 0.5rem; }

/* ============== FOOTER ============== */
footer {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-left: 3px solid var(--rouge);
  padding-left: 0.75rem;
}
.footer-grid p, .footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-grid a:hover { color: var(--rouge-clair); }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--bordure);
    display: none;
    align-items: stretch;
  }
  .nav-links.show { display: flex; }
  section { padding: 3rem 0; }
}

/* Conteneur du logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 5px 0; /* Ajoute un peu d'espace au dessus/dessous */
}

/* Taille de l'image seule */
.logo-img {
  height: 95px;    /* Ajustez cette valeur pour agrandir ou rétrécir le logo */
  width: auto;     /* Garde les proportions */
  display: block;
}

/* Optionnel : Changement au survol */
.logo:hover {
  opacity: 0.8;
}