/* ===========================================================================
   AWA Constructions Métalliques — Design System
   Indigo #1E0F48 · Oswald (titres) · Inter (corps)
   =========================================================================== */

:root {
  --indigo:      #1E0F48;
  --indigo-700:  #2A1A63;
  --indigo-600:  #38256f;
  --indigo-300:  #8b7ec0;
  --ink:         #0E0E16;
  --ink-soft:    #1c1c28;
  --paper:       #F5F4F1;
  --paper-2:     #ECEAE4;
  --white:       #ffffff;
  --steel:       #6c6f7e;
  --steel-2:     #9a9daa;
  --line:        rgba(20, 16, 50, .12);
  --line-light:  rgba(255, 255, 255, .16);

  --maxw: 1200px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px -24px rgba(20, 16, 50, .35);
  --shadow-sm: 0 8px 24px -14px rgba(20, 16, 50, .35);

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--indigo-300); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--indigo); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.container.narrow { max-width: 860px; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.center { text-align: center; }

/* ---- Typo ---- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .22em;
  font-size: .78rem; font-weight: 500; color: var(--indigo);
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--indigo); display: inline-block; }
.kicker-light { color: #c9c0ec; }
.kicker-light::before { background: #c9c0ec; }

.section-title { margin-bottom: .4rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem); flex-wrap: wrap;
}
.section-intro { color: var(--steel); max-width: 38ch; font-size: 1.02rem; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 500; font-size: .95rem; padding: .95rem 1.7rem; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  cursor: pointer; line-height: 1; white-space: nowrap;
  position: relative; overflow: hidden;
}
/* brillance qui balaie le bouton au survol */
.btn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.28) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform .65s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn-sm { padding: .7rem 1.25rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--indigo-700); box-shadow: 0 14px 34px -16px rgba(30,15,72,.7); }
.btn-light { background: #fff; color: var(--indigo); }
.btn-light:hover { background: #f0edff; }
.btn-outline { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

.link-more {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  font-size: .85rem; font-weight: 500; color: var(--indigo);
  display: inline-flex; align-items: center; gap: .4rem;
}
.icon { width: 22px; height: 22px; flex: none; }
.icon.sm { width: 16px; height: 16px; }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s, padding .35s;
  padding-block: 1.1rem;
}
.site-header.scrolled {
  background: rgba(14,14,22,.92); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06); padding-block: .65rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand-logo { width: 168px; height: auto; display: block; }
.main-nav ul { display: flex; gap: .35rem; }
.main-nav a {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em;
  font-size: .92rem; font-weight: 400; color: rgba(255,255,255,.85);
  padding: .55rem .9rem; border-radius: 999px; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: .45rem; color: #fff; white-space: nowrap;
  font-family: var(--font-head); letter-spacing: .04em; font-size: .95rem;
}
.phone-link .icon { width: 18px; height: 18px; color: var(--indigo-300); }
.phone-link:hover { color: var(--indigo-300); }
/* Sous 1200px : on masque le téléphone du header pour éviter l'encombrement (reste dans le menu mobile + footer) */
@media (max-width: 1200px) { .header-cta .phone-link { display: none; } }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.mobile-nav { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--indigo); color: #fff; overflow: hidden; padding-top: 6rem;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, var(--indigo) 0%, rgba(30,15,72,.95) 42%, rgba(30,15,72,.72) 66%, rgba(14,14,22,.5) 100%),
    linear-gradient(0deg, rgba(14,14,22,.75), transparent 48%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-block: 4rem; }
.hero-title { margin: .4rem 0 1.4rem; }
.hero-title .hl { color: #b9abe8; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.88); max-width: 54ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-points .icon { color: #b9abe8; }

/* ---- Stats band ---- */
.stats-band { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.6rem, 3vw, 2.6rem) 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; line-height: 1; }
.stat-label { display: block; margin-top: .5rem; color: var(--steel-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---- Intro section ---- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.intro-badge {
  position: absolute; right: -18px; bottom: -22px; background: var(--indigo); color: #fff;
  border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow); line-height: 1.05;
}
.intro-badge-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; }
.intro-badge span:last-child { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #cdc3ef; }
.intro-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.check-list { display: grid; gap: .7rem; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink-soft); }
.check-list .icon { color: var(--indigo); margin-top: 3px; }
.check-list.big li { font-size: 1.05rem; }

/* ---- Marquee ---- */
.marquee { background: var(--indigo); color: #fff; overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: inline-flex; gap: 1.6rem; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: 1.4rem; font-weight: 500; }
.marquee-track span:nth-child(even) { color: var(--indigo-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Services grid ---- */
.services-section { background: var(--paper-2); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card-media { position: relative; aspect-ratio: 3/2.1; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.07); }
.service-card-icon {
  position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px;
  background: rgba(30,15,72,.92); color: #fff; border-radius: 50%;
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.service-card-icon .icon { width: 22px; height: 22px; }
.service-card-body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.service-card-body h3 { color: var(--indigo); }
.service-card-body p { font-size: .92rem; color: var(--steel); flex: 1; }
.service-card .link-more { margin-top: .3rem; }
.link-more .icon { transition: transform .25s var(--ease); }
.service-card:hover .link-more { color: var(--indigo-700); }
.service-card:hover .link-more .icon { transform: translateX(5px); }

/* ---- Process ---- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process-step { padding: 2rem 1.6rem; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--indigo); box-shadow: var(--shadow-sm); }
.process-n { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--paper-2); line-height: 1; display: block; margin-bottom: .6rem; -webkit-text-stroke: 1px var(--indigo-300); color: transparent; }
.process-step h3 { color: var(--indigo); margin-bottom: .5rem; }
.process-step p { font-size: .94rem; color: var(--steel); }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2.1; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.2rem .9rem; color: #fff;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem;
  background: linear-gradient(0deg, rgba(14,14,22,.78), transparent);
}

/* ---- Réalisations (page portfolio) ---- */
.real-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; justify-content: center; }
.real-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.real-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.real-media { position: relative; aspect-ratio: 3/2.05; overflow: hidden; }
.real-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.real-card:hover .real-media img { transform: scale(1.06); }
.real-tag { position: absolute; left: 12px; top: 12px; background: rgba(30,15,72,.94); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; padding: .35rem .8rem; border-radius: 999px; }
.real-card figcaption { padding: 1.3rem 1.5rem 1.6rem; }
.real-card figcaption h2 { color: var(--indigo); font-size: 1.35rem; margin-bottom: .5rem; }
.real-card figcaption p { color: var(--steel); font-size: .94rem; }

/* ---- Testimonials ---- */
.testi-section { background: var(--paper-2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi { background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.testi-stars { color: #e8a92e; letter-spacing: .15em; font-size: 1.05rem; }
.testi blockquote { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.6; }
.testi figcaption { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--indigo); }

/* ---- Regions ---- */
.region-chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.region-chips a {
  display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line);
  padding: .6rem 1.1rem; border-radius: 999px; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .04em; font-size: .85rem; transition: .25s var(--ease);
}
.region-chips a:hover { background: var(--indigo); color: #fff; transform: translateY(-2px); border-color: var(--indigo); }
.region-chips a:hover .icon { color: #fff; }
.region-chips .icon { color: var(--indigo); }

.region-canton-block { margin-bottom: 2.8rem; }
.region-canton-title { color: var(--indigo); font-size: 1.4rem; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.region-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; }
.region-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
  display: flex; flex-direction: column; gap: .2rem; position: relative; transition: .25s var(--ease);
}
.region-card:hover { border-color: var(--indigo); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.region-card-name { font-family: var(--font-head); text-transform: uppercase; font-size: 1.15rem; color: var(--indigo); }
.region-card-zip { font-size: .8rem; color: var(--steel-2); letter-spacing: .05em; }
.region-card-go { position: absolute; right: 1rem; top: 1.1rem; color: var(--indigo-300); transition: transform .25s; }
.region-card:hover .region-card-go { transform: translateX(4px); }

/* ---- Page hero (inner) ---- */
.page-hero { background: var(--indigo); color: #fff; padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(2.6rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0, rgba(139,126,192,.28), transparent 55%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; }
.page-hero-lead { color: rgba(255,255,255,.85); max-width: 60ch; margin-top: 1.1rem; font-size: 1.1rem; }

/* ---- Breadcrumb (dégage la hauteur du header fixe ; continu avec le hero indigo) ---- */
.breadcrumb { background: var(--indigo); padding: calc(71px + .9rem) 0 .8rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li[aria-current] { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.32); }

/* ---- Compétences rows ---- */
.comp-list { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.comp-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.comp-row.rev .comp-row-media { order: 2; }
.comp-row-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.comp-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; margin-bottom: 1rem; }
.comp-row-body h2 { color: var(--indigo); margin-bottom: .8rem; }
.comp-row-body > p { color: var(--ink-soft); margin-bottom: .6rem; }

/* ---- Service detail ---- */
.service-hero { position: relative; min-height: clamp(340px, 48vh, 520px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.service-hero-media { position: absolute; inset: 0; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,50,.95) 0%, rgba(30,15,72,.7) 45%, rgba(30,15,72,.35) 100%); }
.service-hero-inner { position: relative; z-index: 1; padding-block: 3rem; max-width: 720px; }
.service-hero-inner h1 { margin: .3rem 0 1rem; }
.service-hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 1.6rem; max-width: 54ch; }

.service-body-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.service-main > p { color: var(--ink-soft); margin-bottom: 1.2rem; font-size: 1.05rem; }
.service-main h2 { color: var(--indigo); margin: 2rem 0 1rem; font-size: 1.7rem; }
.service-aside { display: grid; gap: 1.2rem; position: sticky; top: 90px; }
.aside-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.aside-card.alt { background: var(--indigo); color: #fff; border: none; }
.aside-card h3 { color: var(--indigo); margin-bottom: .8rem; }
.aside-card.alt h3 { color: #fff; }
.aside-card p { font-size: .95rem; color: var(--steel); margin-bottom: 1rem; }
.aside-card .phone-link { color: var(--indigo); justify-content: center; margin-top: 1rem; width: 100%; }
.aside-card.alt .phone-link { color: #fff; }
.aside-card .phone-link.big { font-size: 1.25rem; }
.aside-card .phone-link.big .icon { width: 22px; height: 22px; }
.aside-links { display: grid; gap: .55rem; }
.aside-links a { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.9); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; padding: .35rem 0; }
.aside-links a:hover { color: #fff; padding-left: .3rem; }
.aside-links .icon { color: var(--indigo-300); }
.aside-facts { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.aside-facts li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--ink-soft); }
.aside-facts .icon { color: var(--indigo); }

/* ---- FAQ ---- */
.faq-section { background: var(--paper-2); }
.faq-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.faq-intro { color: var(--steel); max-width: 60ch; margin: .2rem 0 2rem; font-size: 1.05rem; }
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--indigo-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.35rem 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .02em; font-size: 1.12rem; color: var(--indigo);
}
.faq-item summary:hover { background: var(--paper); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.7rem; color: var(--indigo-300); transition: transform .3s; line-height: 1; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); font-size: 1.02rem; }

/* ---- Section texte SEO ---- */
.seo-text-section { background: #fff; }
.seo-text { margin-top: 1.4rem; }
.seo-text p { color: var(--ink-soft); margin-bottom: 1.2rem; font-size: 1.06rem; }
.seo-text strong { color: var(--indigo); font-weight: 600; }

/* ---- City page ---- */
.city-hero { position: relative; color: #fff; padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(2.6rem, 5vw, 4rem); overflow: hidden;
  background: linear-gradient(120deg, var(--indigo) 0%, var(--indigo-700) 100%); }
.city-hero-overlay { position: absolute; inset: 0; background-image:
  linear-gradient(135deg, transparent 40%, rgba(139,126,192,.18) 100%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.city-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.city-hero-inner .page-hero-lead { margin-bottom: .4rem; }
.city-hero-inner .hero-actions { margin-top: 2rem; margin-bottom: .5rem; }
.city-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.city-main > p { color: var(--ink-soft); margin-bottom: 1.2rem; font-size: 1.05rem; }
.city-sub { color: var(--indigo); margin: 2rem 0 1.2rem; font-size: 1.45rem; }
.city-services { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.8rem; }
.city-service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; display: grid; gap: .4rem; transition: .25s var(--ease); }
.city-service:hover { border-color: var(--indigo); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.city-service-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--indigo); display: grid; place-items: center; }
.city-service-name { font-family: var(--font-head); text-transform: uppercase; color: var(--indigo); font-size: 1.1rem; }
.city-service-desc { font-size: .88rem; color: var(--steel); }
.city-cta-text { background: var(--paper-2); border-left: 3px solid var(--indigo); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); }
.city-cta-text a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nearby-section { background: var(--paper-2); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h2, .contact-form h2 { color: var(--indigo); margin-bottom: 1.4rem; font-size: 1.7rem; }
.contact-list { display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { color: var(--indigo); margin-top: 3px; }
.contact-list .ci-label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--steel-2); margin-bottom: .15rem; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--indigo); }
.contact-fax { margin-top: 1.4rem; color: var(--steel); font-size: .9rem; }
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--ink-soft); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: var(--paper); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(30,15,72,.12); background: #fff; }
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--steel-2); margin-top: 1rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { display: none; margin-top: 1rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.form-status.show { display: block; }
.form-status.success { background: #e7f6ec; color: #1c6b3a; border: 1px solid #a9dcb9; }
.form-status.error { background: #fdeaea; color: #a32626; border: 1px solid #f0b4b4; }
.map-section { line-height: 0; position: relative; min-height: 320px; background: var(--paper-2); }
.map-section iframe { width: 100%; height: 440px; border: none; filter: grayscale(.2) contrast(1.05); background: var(--paper-2); display: block; }
.map-consent {
  position: absolute; inset: 0; z-index: 1; background: var(--paper-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center; padding: 1.5rem; line-height: 1.5;
}
.map-consent p { color: var(--steel); max-width: 42ch; margin: 0; }

/* ---- CTA band (empilée par défaut, en ligne dès 860px) ---- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.cta-band-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
@media (min-width: 860px) {
  .cta-band-inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 2rem; }
}

/* ---- Footer ---- */
.site-footer { background: var(--indigo); color: rgba(255,255,255,.78); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { width: 180px; margin-bottom: 1.2rem; }
.footer-tagline { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; color: #cdc3ef; font-size: 1.05rem; line-height: 1.3; margin-bottom: 1.2rem; max-width: 28ch; }
.footer-nap { font-size: .92rem; line-height: 1.7; }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; letter-spacing: .04em; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .92rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: .25rem; }
.footer-cities ul { display: block; columns: 2; column-gap: 1.4rem; }
.footer-cities li { break-inside: avoid; margin-bottom: .55rem; }
.footer-cities a { display: inline-block; }
.footer-contact li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .2rem; }
.footer-contact .icon { color: var(--indigo-300); width: 18px; height: 18px; margin-top: 3px; }
.footer-hours { font-size: .85rem; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; flex-wrap: wrap; padding-block: 1.4rem; font-size: .82rem; }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }
.footer-credit { width: 100%; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; margin-top: .4rem; }
.footer-credit a { color: #cdc3ef; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ---- Bandeau cookies ---- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--ink); color: #fff; border-top: 2px solid var(--indigo-300);
  box-shadow: 0 -10px 36px rgba(0,0,0,.35); animation: cookieUp .45s var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: none; } }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1rem; flex-wrap: wrap; }
.cookie-text { font-size: .9rem; color: rgba(255,255,255,.85); max-width: 72ch; margin: 0; }
.cookie-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: .7rem; flex-shrink: 0; }
.cookie-refuse { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.cookie-refuse:hover { background: rgba(255,255,255,.12); }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* ---- Legal / error ---- */
.legal-section h1 { color: var(--indigo); margin-bottom: 1.2rem; }
.legal-section h2 { color: var(--indigo); font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
.legal-section p { margin-bottom: 1rem; color: var(--ink-soft); }
.legal-section a { color: var(--indigo); text-decoration: underline; }
.legal-section ul { margin: 0 0 1rem 1.2rem; display: grid; gap: .5rem; }
.legal-section li { color: var(--ink-soft); list-style: disc; }
.legal-intro { font-size: 1.1rem; color: var(--steel); border-left: 3px solid var(--indigo); padding-left: 1rem; }
.legal-date { font-size: .85rem; color: var(--steel-2); margin-top: 2rem; font-style: italic; }
.error-section { padding-block: clamp(6rem, 12vw, 9rem); }
.error-section h1 { color: var(--indigo); margin: .5rem 0 1rem; }
.error-section p { color: var(--steel); margin-bottom: 2rem; }

/* ---- Reveal au scroll : activé seulement si JS (classe .js-anim) ; sinon contenu visible ---- */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================================
   Responsive
   =========================================================================== */
/* Très grand écran : on élargit le cadre et on agrandit légèrement la typo */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
  body { font-size: 18px; }
}
@media (max-width: 1024px) {
  .services-grid, .process-grid, .real-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    display: flex; flex-direction: column; gap: .4rem; position: fixed; inset: 0; z-index: 105;
    background: var(--indigo); padding: 6rem 1.6rem 2rem; transform: translateX(100%);
    transition: transform .4s var(--ease); overflow-y: auto;
  }
  .mobile-nav.open { transform: none; }
  .mobile-nav ul { display: grid; gap: .3rem; margin-bottom: 1.5rem; }
  .mobile-nav a { font-family: var(--font-head); text-transform: uppercase; font-size: 1.5rem; color: #fff; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-nav .btn { margin-top: .5rem; }
  .mobile-nav .phone-link.big { margin-top: 1.2rem; font-size: 1.3rem; justify-content: center; }
  .intro-grid, .comp-row, .comp-row.rev .comp-row-media, .service-body-grid, .city-grid, .contact-grid { grid-template-columns: 1fr; }
  .comp-row.rev .comp-row-media { order: 0; }
  .service-aside { position: static; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .gallery-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .city-services { grid-template-columns: 1fr; }
  .intro-badge { right: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid, .process-grid, .gallery-grid, .testi-grid, .real-grid, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cities ul { columns: 1; }
  .hero { min-height: 92svh; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .btn { align-self: flex-start; }
  .region-card-grid { grid-template-columns: 1fr 1fr; }
  .map-section iframe { height: 320px; }
}
/* Très petits téléphones (≤380px) — pas de débordement, marges réduites */
@media (max-width: 380px) {
  :root { --gap: 1.2rem; }
  .container { padding-inline: 1rem; }
  h1 { font-size: 2.05rem; }
  .btn { padding: .85rem 1.3rem; font-size: .9rem; }
  .hero-actions .btn, .cta-band-actions .btn { width: 100%; }
  .region-card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .intro-badge { right: 8px; bottom: -16px; padding: .8rem 1rem; }
  .intro-badge-num { font-size: 2rem; }
}
