/* =========================================
   AC Environnement Brest — style.css
   Complete rewrite — clean, mobile-first
   ========================================= */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #0056b3;
  --primary-d: #003d80;
  --primary-l: #e8f0fb;
  --accent:    #f0a500;
  --white:     #ffffff;
  --light:     #f5f7fa;
  --gray:      #6c757d;
  --dark:      #1a1a2e;
  --text:      #333333;
  --border:    #dee2e6;
  --shadow:    0 4px 24px rgba(0,86,179,.12);
  --shadow-img: 0 8px 32px rgba(0,0,0,.18);
  --radius:    8px;
  --radius-img: 14px;
  --transition: .35s ease;
  --max-w:     1160px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

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

/* === Fade-in animation === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   HEADER / NAV
   ========================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 12px rgba(0,86,179,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-text span { display: block; }
.logo-text .tagline {
  font-size: .72rem;
  font-weight: 400;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .05em;
}

nav ul {
  display: flex;
  gap: 6px;
}

nav ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--primary-l);
  color: var(--primary);
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav ul li a:hover { background: var(--primary-l); color: var(--primary); text-decoration: none; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none !important;
}
.btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-l);
  color: var(--primary-d);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-blue {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-blue:hover {
  background: var(--primary-d);
  border-color: var(--primary-d);
}

/* =========================================
   SECTIONS — shared
   ========================================= */
section { padding: 70px 0; }

.section-label {
  display: inline-block;
  background: var(--primary-l);
  color: var(--primary);
  border-radius: 30px;
  padding: 4px 16px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 12px;
}

.section-label-white {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 40px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

.bg-light { background: var(--light); }

/* =========================================
   HERO — CSS background-image with overlay
   ========================================= */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-d);
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

/* Dark gradient overlay via pseudo-element */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 50, 0.78) 0%,
    rgba(0, 15, 40, 0.90) 60%,
    rgba(0, 5, 20, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 20px 90px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: .85rem;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: .92;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   SERVICES — intro row with accompagnement.jpg
   2-column: image left ~45%, text right
   ========================================= */
.services-intro-row {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 48px;
  align-items: center;
  margin: 48px 0 56px;
  padding: 40px;
  background: var(--light);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.services-intro-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-img);
  flex-shrink: 0;
}

.services-intro-img {
  width: 100%;
  height: 350px;
  max-height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
  transition: transform .5s ease;
}

.services-intro-img-wrap:hover .services-intro-img {
  transform: scale(1.04);
}

/* Subtle gradient shimmer at bottom */
.services-intro-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,86,179,.18), transparent);
  border-radius: 0 0 12px 12px;
  pointer-events: none;
}

.services-intro-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-intro-text p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.services-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  list-style: none;
}

.services-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--text);
}

.services-checklist li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === Services grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-l);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p { font-size: .95rem; color: var(--gray); line-height: 1.6; }

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
}
.service-card .card-link:hover { text-decoration: underline; }

/* =========================================
   BREST BANNER — CSS background-image with
   parallax-style feel + dark overlay
   ========================================= */
.brest-banner-section {
  position: relative;
  height: 350px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  background-color: var(--primary-d);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Dark gradient overlay */
.brest-banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 40, 100, 0.75) 0%,
    rgba(0, 20, 60, 0.55) 60%,
    rgba(0, 10, 30, 0.35) 100%
  );
  z-index: 1;
}

.brest-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 560px;
  padding: 20px 0;
}

.brest-banner-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.brest-banner-content p {
  font-size: 1.05rem;
  opacity: .92;
  margin-bottom: 28px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,.2);
}

/* =========================================
   WHY US
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.why-list { display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.why-item p  { font-size: .92rem; color: var(--gray); }

.why-img-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  border-radius: 16px;
  padding: 50px 40px;
  color: #fff;
  text-align: center;
}

.why-img-block .big-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.why-img-block .big-label {
  font-size: .9rem;
  opacity: .85;
  margin-top: 6px;
}

.stat-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px 16px;
}

.stat-item .si-icon { font-size: 1.3rem; }
.stat-item .si-text { font-size: .9rem; line-height: 1.4; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.stars { color: var(--accent); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { font-size: .95rem; color: var(--text); font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; font-size: .88rem; color: var(--primary); }

/* =========================================
   CTA SECTION — 2-column: text left, image right
   interieur.jpg as <img> in card style
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  padding: 70px 0;
}

.cta-with-image {
  text-align: left;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-text p {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Interior image card — rounded, shadow, hover */
.cta-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  max-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-img);
  box-shadow:
    0 12px 40px rgba(0,0,0,.35),
    0 0 0 4px rgba(255,255,255,.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-img-wrap:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow:
    0 20px 52px rgba(0,0,0,.42),
    0 0 0 4px rgba(255,255,255,.22);
}

.cta-img {
  width: 100%;
  height: 280px;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-img);
  display: block;
  transition: transform .5s ease;
}

.cta-img-wrap:hover .cta-img {
  transform: scale(1.05);
}

/* Gradient overlay at top */
.cta-img-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(0,40,100,.22), transparent);
  z-index: 1;
  border-radius: var(--radius-img) var(--radius-img) 0 0;
  pointer-events: none;
}

/* Label badge on the image */
.cta-img-wrap::after {
  content: "Votre futur interieur";
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(0,30,70,.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: .03em;
  pointer-events: none;
}

/* =========================================
   CONTENT PAGE LAYOUT (service pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  padding: 60px 0 55px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p  { font-size: 1.05rem; opacity: .9; max-width: 620px; margin: 0 auto; }

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding: 70px 0;
}

.content-main h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 14px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin: 24px 0 10px; }
.content-main p  { margin-bottom: 16px; line-height: 1.75; }
.content-main ul { margin: 12px 0 16px 20px; list-style: disc; }
.content-main ul li { margin-bottom: 6px; }

/* Sidebar */
.sidebar { position: sticky; top: 90px; }

.sidebar-card {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.sidebar-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.sidebar-card p  { font-size: .9rem; opacity: .9; margin-bottom: 16px; }

.sidebar-card .phone {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
}
.sidebar-card .phone:hover { text-decoration: underline; }

.sidebar-card-light {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.sidebar-card-light h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.sidebar-card-light ul { display: flex; flex-direction: column; gap: 8px; }
.sidebar-card-light ul li a {
  font-size: .9rem;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-card-light ul li a::before { content: "\2192"; }
.sidebar-card-light ul li a:hover { text-decoration: underline; }

/* =========================================
   FAQ
   ========================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: .98rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}

.faq-q:hover { background: var(--primary-l); }

.faq-q .faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 20px;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* =========================================
   STEPS / PROCESS
   ========================================= */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
}

.step:last-child { padding-bottom: 0; }

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step:last-child::before { display: none; }

.step-content h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-content p  { font-size: .92rem; color: var(--gray); }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 70px 0;
}

.contact-form-wrap {
  background: var(--light);
  border-radius: 12px;
  padding: 36px;
}
.contact-form-wrap h2 { font-size: 1.35rem; font-weight: 800; color: var(--dark); margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,86,179,.1);
}
.form-group textarea { height: 130px; resize: vertical; }

.form-note { font-size: .8rem; color: var(--gray); margin-top: 10px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.info-card {
  background: var(--light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.info-card h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .92rem; color: var(--text); }
.info-card a { color: var(--primary); }
.info-card a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
  background: var(--primary-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
}

/* =========================================
   404 PAGE
   ========================================= */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.error-page h1 { font-size: 1.8rem; margin: 12px 0; color: var(--dark); }
.error-page p  { color: var(--gray); margin-bottom: 30px; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 55px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo-icon { background: var(--primary); }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-col address {
  font-style: normal;
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,.7);
}
.footer-col address a { color: rgba(255,255,255,.85); }
.footer-col address a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* =========================================
   BLOG — Listing page (nos-conseils.html)
   3-column grid, responsive
   ========================================= */
.blog-listing-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.blog-listing-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.blog-listing-hero p {
  font-size: 1.08rem;
  opacity: .9;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.06);
}
.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 20px;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: .78rem;
  color: var(--gray);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card-meta .sep { opacity: .4; }
.blog-card-body h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-body p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition);
  text-decoration: none;
  margin-top: auto;
}
.blog-card-link::after { content: "\2192"; }
.blog-card-link:hover { gap: 10px; text-decoration: none; }

/* =========================================
   BLOG — Article pages
   ========================================= */

/* Article hero with background image + overlay */
.article-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,10,40,.88) 0%, rgba(0,20,60,.6) 50%, rgba(0,30,80,.3) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 0 50px;
  width: 100%;
}
.article-hero-content .breadcrumb {
  font-size: .82rem;
  opacity: .8;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.article-hero-content .breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.article-hero-content .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.article-hero-content .breadcrumb .bc-sep { opacity: .5; }
.article-hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  max-width: 820px;
}
.article-hero-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .85rem;
  opacity: .85;
}
.article-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* Article layout: main + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 56px 0 70px;
  align-items: start;
}

.article-body {
  min-width: 0;
  max-width: 780px;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-l);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 26px 0 10px;
}
.article-body p { margin-bottom: 18px; line-height: 1.8; font-size: 1.02rem; }
.article-body ul, .article-body ol {
  margin: 10px 0 20px 22px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; line-height: 1.7; font-size: .98rem; }
.article-body strong { color: var(--dark); }

/* Mid-content image */
.article-mid-img-wrap {
  margin: 36px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  position: relative;
}
.article-mid-img-wrap img {
  width: 100%;
  max-width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.article-mid-caption {
  font-size: .82rem;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Info box */
.article-infobox {
  background: var(--primary-l);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-infobox strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.article-infobox p { margin-bottom: 0; font-size: .95rem; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 90px; }

.article-sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 24px;
  text-align: center;
}
.article-sidebar-cta h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.article-sidebar-cta p { font-size: .88rem; opacity: .9; margin-bottom: 20px; line-height: 1.6; }
.article-sidebar-cta .btn-white {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  width: 100%;
  text-align: center;
}
.article-sidebar-cta .btn-white:hover { background: var(--primary-l); color: var(--primary-d); text-decoration: none; }

.article-sidebar-related {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
}
.article-sidebar-related h3 {
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dark);
  margin-bottom: 16px;
}
.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-item a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  text-decoration: none;
}
.related-item a:hover { text-decoration: underline; }
.related-item span { font-size: .75rem; color: var(--gray); }

/* Article bottom related articles block */
.article-related-section {
  background: var(--light);
  padding: 50px 0;
  margin-top: 0;
}
.article-related-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.related-card-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  background: var(--primary-l);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}
.related-card h3 { font-size: .95rem; font-weight: 700; color: var(--dark); line-height: 1.4; margin: 0; }
.related-card p { font-size: .85rem; color: var(--gray); line-height: 1.5; margin: 0; }
.related-card a.card-read {
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}
.related-card a.card-read::after { content: "\2192"; }
.related-card a.card-read:hover { text-decoration: underline; }

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* Tablet */
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .why-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Services intro row: stack vertically */
  .services-intro-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .services-intro-img {
    height: 240px;
  }

  /* CTA with image: stack vertically */
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-img-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Brest banner */
  .brest-banner-section { height: 300px; }
}

/* Mobile */
@media (max-width: 600px) {
  section { padding: 50px 0; }

  /* Hero */
  .hero { min-height: 420px; }
  .hero-content { padding: 70px 20px 60px; }
  .hero-btns { flex-direction: column; align-items: center; }

  /* Services intro */
  .services-intro-row { padding: 20px; }
  .services-intro-img { height: 200px; }

  /* Brest banner */
  .brest-banner-section { height: 250px; }
  .brest-banner-content h2 { font-size: 1.35rem; }
  .brest-banner-content p { font-size: .92rem; }

  /* CTA */
  .cta-section { padding: 50px 0; }
  .cta-img-wrap { width: 100%; max-width: none; }
  .cta-img { height: 200px; }
  .cta-btns { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero { min-height: 320px; }
  .article-hero-content h1 { font-size: 1.45rem; }
  .article-mid-img-wrap img { height: 220px; }
  .related-grid { grid-template-columns: 1fr; }
}
