/* ============================================================
   RAM-CI — Feuille de style principale
   Palette issue du logo : bleu acier #1E7FB8 + gris #8C9296
   ============================================================ */

:root {
  --blue: #1E7FB8;
  --blue-2: #3BA6E0;
  --blue-soft: #E3F1F9;
  --navy: #0A2331;
  --navy-2: #0F3247;
  --ink: #1A2E3A;
  --body: #4A5B66;
  --gray: #8C9296;
  --tint: #F3F7FA;
  --line: #DFE9F0;
  --white: #FFFFFF;
  --radius: 14px;
  --cut: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  --shadow-sm: 0 2px 10px rgba(10, 35, 49, .07);
  --shadow-md: 0 12px 34px rgba(10, 35, 49, .12);
  --shadow-lg: 0 24px 60px rgba(10, 35, 49, .18);
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.accent { color: var(--blue); }

.ico { width: 22px; height: 22px; flex: none; }
.ico-xs { width: 15px; height: 15px; }
.ico-btn { width: 17px; height: 17px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  padding: .78rem 1.5rem; border: 2px solid transparent; border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 22px rgba(30, 127, 184, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(30, 127, 184, .48); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy); color: #B9C6CE; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; gap: 1rem; }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar a, .topbar-hours { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: .8rem; }
.topbar .ico-xs { color: var(--blue-2); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; justify-content: space-between; padding: .65rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: .02em; }
.brand-text strong .dot { color: var(--blue); }
.brand-text small { font-size: .62rem; color: var(--gray); text-transform: uppercase; letter-spacing: .14em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink);
  position: relative; padding: .3rem 0;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue); transition: width .25s ease; border-radius: 2px;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--blue); }
.btn-nav { padding: .6rem 1.2rem; font-size: .85rem; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Héros ---------- */
.hero, .page-hero {
  position: relative; background: linear-gradient(150deg, var(--navy) 55%, var(--navy-2));
  color: #C7D5DD; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 166, 224, .22), transparent 65%);
  top: -220px; right: -120px;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%);
}
.hero-panel { position: absolute; transform: skewX(-14deg); border-radius: 8px; }
.hero-panel-1 { width: 220px; height: 460px; right: 6%; top: -80px; background: linear-gradient(180deg, rgba(59,166,224,.14), transparent); }
.hero-panel-2 { width: 120px; height: 380px; right: 24%; bottom: -120px; background: linear-gradient(180deg, transparent, rgba(140,146,150,.14)); }
.hero-in {
  position: relative; display: grid; grid-template-columns: 1.05fr .85fr; gap: 3.5rem;
  align-items: center; padding: 5.5rem 0 6rem;
}
.hero h1 { color: #fff; margin: .9rem 0 1.1rem; }
.hero-sub { font-size: 1.08rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 2rem; }
.hero-points { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .9rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; color: #A9BCC7; }
.hero-points .ico { width: 18px; height: 18px; color: var(--blue-2); }

.kicker {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; color: var(--blue);
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ''; width: 26px; height: 3px; background: var(--blue); transform: skewX(-30deg); border-radius: 2px; }
.kicker-light { color: var(--blue-2); }

.hero-visual { position: relative; }
.hero-frame {
  clip-path: var(--cut); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(200deg, rgba(30,127,184,.16), transparent 45%);
}
.hero-frame img { width: 100%; height: 470px; object-fit: cover; }
.hero-card {
  position: absolute; left: -26px; bottom: 26px; background: #fff; color: var(--ink);
  border-radius: 12px; padding: .95rem 1.25rem; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: .15rem; max-width: 260px;
  border-left: 4px solid var(--blue);
  transition: transform .25s ease;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); font-weight: 600; }
.hero-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.hero-card-link { font-size: .78rem; color: var(--gray); display: inline-flex; align-items: center; gap: .3rem; margin-top: .25rem; }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--blue); color: #EAF5FC; overflow: hidden; padding: .8rem 0; }
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem; white-space: nowrap; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
}
.marquee-track em { font-style: normal; font-size: .6rem; opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5.2rem 0; }
.section-tint { background: var(--tint); }
.section-dark { background: linear-gradient(150deg, var(--navy) 55%, var(--navy-2)); color: #AFC2CC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 620px; margin-bottom: 3rem; }
.section-head h2 { margin-top: .8rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; clip-path: var(--cut); position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { margin: 1.1rem 0 .5rem; }
.service-card p { font-size: .92rem; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.service-icon .ico { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }

/* ---------- À propos ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; min-height: 430px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-main { clip-path: var(--cut); width: 78%; }
.about-img-main img { height: 400px; width: 100%; object-fit: cover; }
.about-img-small {
  position: absolute; right: 0; bottom: -30px; width: 46%;
  border: 6px solid #fff;
}
.about-img-small img { height: 200px; width: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: 18px; right: 8%; background: var(--navy); color: #fff;
  border-radius: 12px; padding: .8rem 1rem; display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-md);
}
.about-badge .ico { color: #FFC93C; }
.about-badge span { display: flex; flex-direction: column; line-height: 1.2; font-size: .78rem; }
.about-badge strong { font-family: var(--font-head); font-size: .95rem; }
.about-copy h2 { margin: .8rem 0 1.1rem; }
.about-copy > p { margin-bottom: 1.6rem; }
.about-mini { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.about-mini-item {
  display: flex; gap: .9rem; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: .95rem 1.1rem;
}
.about-mini-item .ico { color: var(--blue); margin-top: .15rem; }
.about-mini-item div { display: flex; flex-direction: column; gap: .1rem; }
.about-mini-item strong { font-family: var(--font-head); font-size: .92rem; color: var(--ink); }
.about-mini-item span { font-size: .85rem; }

/* ---------- Approche ---------- */
.section-head-light .kicker { color: var(--blue-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step {
  position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius); padding: 2.1rem 1.7rem; overflow: hidden;
  transition: background .3s ease, transform .3s ease;
}
.step:hover { background: rgba(255, 255, 255, .07); transform: translateY(-6px); }
.step-num {
  position: absolute; top: .6rem; right: 1rem;
  font-family: var(--font-head); font-weight: 800; font-size: 3.4rem;
  color: rgba(255, 255, 255, .06);
}
.step-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(59, 166, 224, .14); color: var(--blue-2); margin-bottom: 1.1rem;
}
.step-icon .ico { width: 26px; height: 26px; }
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .92rem; }

/* ---------- Réalisations ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.projects-grid-full { grid-template-columns: repeat(3, 1fr); }
.projects-grid-3 { grid-template-columns: repeat(3, 1fr); }
.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.projects-grid-full .project-card, .projects-grid-3 .project-card { aspect-ratio: 4 / 3.4; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.07); }
.project-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem; gap: .2rem; color: #fff;
  background: linear-gradient(to top, rgba(7, 26, 38, .92) 8%, rgba(7, 26, 38, .25) 45%, transparent 70%);
}
.project-cat {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
  color: var(--blue-2);
}
.project-title { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; }
.project-loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: #BDD2DD; }
.project-card.is-hidden { display: none; }

/* ---------- Filtres ---------- */
.filters { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.filter-chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--body);
  font-family: var(--font-head); font-weight: 500; font-size: .87rem;
  padding: .5rem 1.2rem; border-radius: 999px; transition: all .22s ease;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty-note { text-align: center; padding: 3rem 0; color: var(--gray); }

/* ---------- Bande CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 20%, var(--blue-2));
  color: #fff; padding: 3.6rem 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); top: -160px; right: 8%;
}
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { opacity: .92; }
.cta-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.cta-phone { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.cta-phone:hover { text-decoration: underline; }

/* ---------- Pages internes ---------- */
.page-hero { padding: 4.6rem 0 4.2rem; }
.page-hero-slim { padding: 3.4rem 0 3rem; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-top: .9rem; }
.page-hero-sub { margin-top: .8rem; max-width: 36rem; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; color: #8FA6B2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--blue-2); }

/* ---------- Détail projet ---------- */
.project-detail { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.6rem; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); clip-path: var(--cut); }
.gallery-main img { width: 100%; height: 520px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .8rem; margin-top: .9rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 96px; height: 72px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 2.5px solid transparent; opacity: .75; transition: all .22s ease; background: none;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--blue); opacity: 1; }
.project-meta {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem;
}
.project-meta h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.project-meta > p { font-size: .95rem; margin-bottom: 1.4rem; }
.meta-list { display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.meta-list li { display: flex; gap: .85rem; align-items: flex-start; }
.meta-list .ico { color: var(--blue); margin-top: .2rem; }
.meta-list strong { display: block; font-family: var(--font-head); font-size: .85rem; color: var(--ink); }
.meta-list span { font-size: .9rem; }

/* ---------- Mission / Vision / Valeurs ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.mission-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 2.3rem 2rem; clip-path: var(--cut);
}
.mission-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(59, 166, 224, .16); color: var(--blue-2); margin-bottom: 1.2rem;
}
.mission-icon .ico { width: 26px; height: 26px; }
.mission-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; text-align: center; transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card .service-icon { margin: 0 auto; }
.value-card h3 { margin: 1.1rem 0 .5rem; }
.value-card p { font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 3.4rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card h3 { margin: .9rem 0 .3rem; font-size: 1.02rem; }
.contact-card p { font-size: .9rem; }
.contact-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: stretch; }
.contact-form-wrap {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem;
}
.contact-form-wrap h2 { font-size: 1.45rem; margin-bottom: 1.4rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .95rem;
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 127, 184, .13);
}
.contact-form textarea { resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.form-errors {
  background: #FDEDED; border: 1px solid #F5C6C6; color: #B03A3A;
  border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-size: .9rem;
}
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Flash ---------- */
.flash {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
  z-index: 200; padding: .9rem 1.6rem; border-radius: 12px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-md); animation: flash-in .4s ease; max-width: 90%;
}
.flash-success { background: #0E7A4F; color: #fff; }
.flash-error { background: #B03A3A; color: #fff; }
@keyframes flash-in { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #9FB3BE; position: relative; }
.footer-angle { height: 6px; background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--gray)); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2.6rem;
  padding: 3.8rem 0 2.6rem;
}
.footer-logo { height: 84px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #C9D8E0; transition: all .22s ease;
}
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-social .ico { width: 18px; height: 18px; }
.footer-col h4 {
  color: #fff; font-size: .95rem; margin-bottom: 1.1rem;
  padding-bottom: .55rem; position: relative;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2.5px; background: var(--blue); border-radius: 2px; }
.footer-col ul { display: grid; gap: .55rem; font-size: .88rem; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .ico { width: 17px; height: 17px; color: var(--blue-2); margin-top: .2rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; font-size: .8rem; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom strong { color: #fff; }

/* ---------- WhatsApp ---------- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s ease;
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab .ico { width: 28px; height: 28px; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.d-1 { transition-delay: .08s; }
.d-2 { transition-delay: .16s; }
.d-3 { transition-delay: .24s; }
.d-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0 4.5rem; }
  .hero-visual { max-width: 560px; }
  .hero-frame img { height: 380px; }
  .services-grid, .values-grid, .projects-grid-full, .projects-grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-split, .project-detail, .mission-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 540px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-main img { height: 420px; }
}
@media (max-width: 720px) {
  .topbar-hours, .topbar-social { display: none; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 84vw);
    background: var(--navy); flex-direction: column; align-items: flex-start;
    padding: 5.4rem 2rem 2rem; gap: 1.4rem; z-index: 95;
    transform: translateX(100%); transition: transform .3s ease;
    box-shadow: -18px 0 50px rgba(0, 0, 0, .3);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a:not(.btn) { color: #fff; font-size: 1.05rem; }
  .burger { z-index: 100; }
  .burger.is-open span { background: #fff; }
  .services-grid, .values-grid, .projects-grid, .projects-grid-full, .projects-grid-3, .steps, .contact-cards, .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.6rem 0; }
  .hero-card { left: 0; max-width: 230px; }
  .about-img-main { width: 100%; }
  .about-img-small { display: none; }
  .about-badge { right: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .gallery-main img { height: 300px; }
  .gallery-main, .hero-frame, .service-card, .mission-card { clip-path: none; }
}
