/* site.css : Infini'click, refonte 05/2026 */

/* INTER LOCAL : pas de requete Google Fonts */
@font-face { font-family:'Inter'; src:local('Inter'),local('Inter-Regular'); font-weight:400; font-display:swap; }
@font-face { font-family:'Inter'; src:local('Inter Medium'),local('Inter-Medium'); font-weight:500; font-display:swap; }
@font-face { font-family:'Inter'; src:local('Inter SemiBold'),local('Inter-SemiBold'); font-weight:600; font-display:swap; }
@font-face { font-family:'Inter'; src:local('Inter Bold'),local('Inter-Bold'); font-weight:700; font-display:swap; }
@font-face { font-family:'Inter'; src:local('Inter ExtraBold'),local('Inter-ExtraBold'); font-weight:800; font-display:swap; }

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2744;
  --navy-dk:    #111c33;
  --orange:     #e8622a;
  --alerte:     #a8401f;
  --orange-lt:  rgba(232,98,42,0.10);
  --bg:         #f5f4f0;
  --white:      #ffffff;
  --border:     #e4e2db;
  --text:       #1a2744;
  --muted:      #7a7a72;
  --radius:     6px;
  --max:        1140px;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

html, body { height: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: none; }
a img, a:hover img { border: none; background: transparent; }
a, a:visited { text-decoration: none; color: var(--orange); }
.nav-logo, .nav-logo:visited { color: var(--navy); }
.nav-links a, .nav-links a:visited { color: var(--muted); }
.nav-cta, .nav-cta:visited { color: var(--white); }
footer a, footer a:visited { color: rgba(255,255,255,0.35); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
small { font-size: 12px; }

/* LAYOUT GÉNÉRAL */
#content { width: 100%; min-height: 100%; }
#page    { overflow: auto; }
#contenu { clear: both; }
.conteneur {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 32px;
}

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav ul, nav li { margin: 0; padding: 0; list-style: none; }
nav > ul, .nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo, .nav-logo:visited {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.5px;
  text-decoration: none;
  margin-right: 48px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  flex: 1;
  height: 64px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0 14px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover  { color: var(--navy); }
.nav-links a.actif  { border-bottom-color: var(--orange); color: var(--orange); }
.nav-cta {
  margin-left: auto;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy); color: var(--white); }
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    margin-left: auto;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 9999;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile-item,
.nav-mobile-item:visited {
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--border);
    text-decoration: none;
    transition: color .15s, background .15s;
}
.nav-mobile-item:hover { color: var(--navy); background: var(--bg); }
.nav-mobile-item.actif,
.nav-mobile-item.actif:visited { color: var(--orange); }

/* HERO */
.hero {
  background: var(--navy);
  padding: 80px 32px 88px;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-left { flex: 1; }
.hero-tag {
  display: inline-block;
  background: var(--orange-lt);
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.hero-title {
  font-weight: 800;
  font-size: 52px;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  text-align: left;
  border-bottom: none;
  padding: 0;
}
.hero-title span { color: var(--orange); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* mini mockup hero */
.hero-right { flex-shrink: 0; width: 400px; }
.mockup {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px;
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 10px; }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mockup-screen { background: var(--bg); border-radius: 5px; overflow: hidden; }
.ms-head { background: var(--navy); height: 30px; display: flex; align-items: center; padding: 0 10px; gap: 8px; }
.ms-logo-block { width: 56px; height: 7px; background: var(--orange); border-radius: 2px; }
.ms-nav-items { display: flex; gap: 5px; margin-left: auto; }
.ms-nav-item { width: 28px; height: 5px; background: rgba(255,255,255,0.25); border-radius: 1px; }
.ms-body { padding: 14px 12px; }
.ms-h1 { width: 55%; height: 10px; background: var(--navy); border-radius: 2px; margin-bottom: 10px; }
.ms-line { height: 5px; background: #ccc; border-radius: 1px; margin-bottom: 5px; }
.ms-line.w90 { width: 90%; }
.ms-line.w70 { width: 70%; }
.ms-cards { display: flex; gap: 6px; margin-top: 14px; }
.ms-card { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 7px; }
.ms-card-title { width: 65%; height: 6px; background: var(--orange); border-radius: 1px; margin-bottom: 5px; }
.ms-card-line { height: 4px; background: #ddd; border-radius: 1px; margin-bottom: 3px; }
.ms-card-btn { width: 50%; height: 12px; background: var(--navy); border-radius: 2px; margin-top: 6px; }

/* BOUTONS */
.btn-orange, .btn-orange:visited {
  background: var(--orange);
  color: var(--white) !important;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-orange:hover { background: #d0531f; color: var(--white) !important; }

.btn-ghost, .btn-ghost:visited {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-navy, .btn-navy:visited {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-navy:hover { background: var(--navy-dk); color: var(--white); }

.btn-white, .btn-white:visited {
  background: var(--white);
  color: var(--orange);
  border: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}
.btn-white:hover { background: var(--bg); color: var(--orange); }

/* STATS */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
}
.stat-item {
  flex: 1;
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-weight: 800;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }

/* SECTIONS COMMUNES */
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-weight: 700;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-sub { font-size: 15px; color: var(--muted); margin-bottom: 52px; }

/* SERVICES */
.services {
  background: var(--white);
  padding: 80px 32px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}
.service-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -2px;
}
.service-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-text  { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.service-price { font-size: 13px; color: var(--navy); font-weight: 500; margin-bottom: 20px; }
.service-price strong { color: var(--orange); }
.service-link  { font-size: 13px; font-weight: 500; color: var(--orange); text-decoration: none; }
.service-link:hover { color: var(--navy); }

/* PROCESS */
.process {
  background: var(--bg);
  padding: 80px 32px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; }
.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.process-step.active .step-num { background: var(--navy); }
.step-title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.step-text   { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* PRODUITS */
.products {
  background: var(--white);
  padding: 80px 32px;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.product-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.product-favicon {
  width: 54px; height: 54px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}
.product-name {
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 8px;
}
.product-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 22px; }
/* BLOG */
.blog {
  background: var(--bg);
  padding: 80px 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.blog-thumb {
  height: 160px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.blog-body    { padding: 20px; }
.blog-meta    { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-title   { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.blog-link    { font-size: 13px; font-weight: 500; color: var(--orange); text-decoration: none; }
.blog-link:hover { color: var(--navy); }
.blog-more    { text-align: center; margin-top: 36px; }

/* CTA BAND */
.cta-band { background: var(--orange); padding: 64px 32px; }
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band-title {
  font-weight: 800;
  font-size: 30px;
  color: var(--white);
  letter-spacing: -0.5px;
  max-width: 540px;
  line-height: 1.2;
}
.cta-band-sub { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 10px; }

/* FOOTER */
footer {
  background: var(--navy-dk);
  color: var(--white);
  padding: 56px 32px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}
.footer-logo span { color: var(--orange); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 20px; }
.footer-addr { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-addr a { color: rgba(255,255,255,0.45); }
.footer-addr a:hover { color: var(--white); }
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-col-links a:hover { color: rgba(255,255,255,0.8); }


.footer-bottom { justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 0; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.15s, color 0.15s;
}
.social-btn:hover, .social-btn:visited { background: rgba(255,255,255,0.22); color: var(--white); }
/* footer-bottom = la ligne du bas avec © et réseaux */
.footer-bottom, .footer-bottom > * {
  display: flex;
  align-items: center;
}
.footer-copy { flex: 1; font-size: 12px; color: rgba(255,255,255,0.3); }

.foot-l, .foot-r { font-size: 12px; color: rgba(255,255,255,0.35); }
.foot-l a, .foot-r a { color: rgba(255,255,255,0.35); }
.foot-l a:hover, .foot-r a:hover { color: rgba(255,255,255,0.7); }
.zone-footer-bottom {
  display: flex;
  align-items: center;
  padding-top: 24px;
}
.reseaux-sociaux { display: flex; gap: 10px; }
.reseaux-sociaux a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
}
.reseaux-sociaux a:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* FORMULAIRES */
.form-z { width: 100%; min-height: 60px; height: auto; }
.form-d { width: 100%; min-height: 60px; height: auto; }
.d-haut { margin-top: 20px; }
.form-l { float: left; width: 48%; }
.form-r { float: right; width: 48%; }
input[type=submit] { -webkit-appearance: none; border-radius: 0; }
input[type=text], textarea { -webkit-appearance: none; }
.input, .textarea, .textarea2 {
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 16px;
  font-family: var(--font);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
  margin-top: 4px;
  width: 100%;
}
.textarea  { margin-bottom: 8px; }
.textarea2 { margin-bottom: 8px; }

/* MESSAGES / ERREURS */
.erreur {
  position: absolute; top: 30px; left: 50%;
  transform: translateX(-50%);
  display: none; opacity: 0; z-index: 100;
  width: 420px; height: auto;
  color: var(--white);
  padding: 10px 16px;
  background: #c0392b;
  border-radius: var(--radius);
}
.ok {
  position: absolute; top: 30px; left: 50%;
  transform: translateX(-50%);
  display: none; opacity: 0; z-index: 99;
  width: 420px; height: auto;
  color: var(--white);
  padding: 10px 16px;
  background: #27ae60;
  border-radius: var(--radius);
}
.erreur p, .ok p { display: inline; }

/* CONTENU ÉDITORIAL */
h1 {
  font-size: 28px;
  color: var(--navy);
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 24px;
}
h2 { font-size: 20px; color: var(--orange); margin-bottom: 10px; }
h2 a, h2 a:visited { color: var(--orange); }
h2 a:hover { color: var(--navy); }
h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
p, .texte, .texte li, li { line-height: 1.7; }
.conteneur p { margin-bottom: 12px; }
.conteneur h2, .conteneur h3 { margin-top: 20px; }
.texte ul { margin-left: -16px; }
.texte li { margin-bottom: 6px; }
.result { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }

/* PAGINATION */
#pager { margin: 20px 0; }
#pager ul.np {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-size: 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
#pager ul.np li.encours {
  background: var(--orange);
  width: 32px; height: 32px;
  line-height: 32px;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
}
#pager ul.np li a, #pager ul.np li a:visited {
  background: var(--navy);
  width: 32px; height: 32px;
  line-height: 32px;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  display: block;
  text-decoration: none;
}
#pager ul.np li a:hover { background: var(--orange); }

/* RÉFÉRENCES */
.real img { vertical-align: middle; padding: 0 4px 0 0; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .conteneur { padding: 0 16px 24px; }

  /* Nav mobile */
  nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 10000; }
  #page { padding-top: 64px; }
  .nav-cta { display: none; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 48px 16px 56px; }
  .hero-title { font-size: 36px; }

  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .services { padding: 48px 16px; }
  .services-grid { grid-template-columns: 1fr; }

  .process { padding: 48px 16px; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }

  .products { padding: 48px 16px; }
  .products-grid { grid-template-columns: 1fr; }

  .blog { padding: 48px 16px; }
  .blog-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 40px 16px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band-title { font-size: 24px; }

  footer { padding: 40px 16px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-socials { flex-direction: row !important; }
  .zone-footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

  .form-l, .form-r { float: none; width: 100%; margin-bottom: 8px; }
  .section-inner { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; letter-spacing: -0.5px; }
  .section-title { font-size: 26px; }
  .cta-band-title { font-size: 20px; }
  .stat-item { flex: 1 0 100%; }
}

/* FORMULAIRE DEVIS */
.devis-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.devis-header { text-align: center; margin-bottom: 48px; }
.devis-header h1 {
  font-size: 34px;
  color: var(--navy);
  border: none;
  padding: 0;
  margin: 12px 0 16px;
  text-align: center;
}
.devis-intro { font-size: 15px; color: var(--muted); max-width: 520px; margin: 0 auto; }

.devis-form { display: flex; flex-direction: column; gap: 0; }

.devis-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.devis-section-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 20px;
}
.devis-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.devis-field { display: flex; flex-direction: column; gap: 6px; }
.devis-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.obli { color: var(--orange); }
.obli-form { font-size: 13px; color: var(--muted); }
/* Message de validation affiche en place : la bulle native de Firefox est
   desactivee, sa fermeture consommait le premier clic sur une card */
/* p.devis-erreur et non .devis-erreur : la regle editoriale .conteneur p
   (margin-bottom 12px) a une specificite superieure et l'emporterait sinon */
p.devis-erreur {
  margin: 0;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  color: var(--alerte);
}
/* Sous une grille de cards : pas de gap parent, l'espace vient d'ici */
.radio-grid + p.devis-erreur { margin-top: 6px; }

.input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  width: 100%;
  transition: border-color 0.15s;
}
.input:focus { outline: none; border-color: var(--navy); }
.input-captcha { max-width: 220px; }

.textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  width: 100%;
  resize: vertical;
  transition: border-color 0.15s;
}
.textarea:focus { outline: none; border-color: var(--navy); }

.captcha-code {
  font-family: monospace;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 2px;
}

/* Radio cards : grille (type de projet) */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
/* La radio couvre toute la carte, en transparence totale : elle reste
   pleinement rendue et focusable, donc le navigateur valide le required et
   ancre sa bulle sur la carte. Un display:none rend le champ invisible au
   moteur de validation, qui saute alors le groupe silencieusement. */
.radio-card input[type=radio] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.radio-card:focus-within { border-color: var(--navy); }
.radio-card:hover { border-color: var(--navy); background: var(--white); }
.radio-card.selected { border-color: var(--orange); background: rgba(232,98,42,0.06); }
.radio-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.radio-card.selected .radio-card-title { color: var(--orange); }
.radio-card-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Submit */
.devis-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.btn-lg { padding: 16px 40px; font-size: 15px; }

/* Responsive devis */
@media (max-width: 768px) {
  .devis-page { padding: 32px 0 48px; }
  .devis-section { padding: 20px; }
  .devis-grid-2 { grid-template-columns: 1fr; }
  .radio-grid, .radio-grid.grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .radio-grid, .radio-grid.grid-4 { grid-template-columns: 1fr; }
  .devis-submit { flex-direction: column; align-items: flex-start; }
}

/* RÉFÉRENCES */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.ref-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.ref-card-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.ref-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.ref-card-body { padding: 14px 16px 16px; }
.ref-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.ref-card-titre {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ref-card-pictos { display: flex; gap: 6px; flex-shrink: 0; }
.ref-picto {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
}
.ref-picto-mobile { background: #e8f4ff; color: #185fa5; }
.ref-picto-cb     { background: #fdf3e0; color: #854f0b; }
.ref-card-lien,
.ref-card-lien:visited {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ref-card-lien svg { vertical-align: -1px; margin-right: 3px; }
.ref-card-lien:hover { color: var(--orange); }
.ref-card-type {
  display: block;
  margin-top: 10px;
  padding: 7px 14px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  letter-spacing: 0.3px;
}


@media (max-width: 900px) {
  .references-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .references-grid { grid-template-columns: 1fr; }
}

/* TOAST */
.toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast { min-width: 280px; max-width: 420px; padding: 14px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500; box-shadow: 0 4px 20px rgba(0,0,0,.12); display: flex; align-items: center; gap: 10px; pointer-events: all; animation: toastIn .3s ease forwards; }
.toast.toast-ok  { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.toast.toast-err { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-msg  { flex: 1; }
@keyframes toastIn  { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-8px); } }

/* CARROUSEL HERO */
.hero-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 57.875%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-frame {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.hero-slide-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-position: top;
}
.hero-slide-caption {
  margin-top: 12px;
  padding-left: 4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-slide-titre {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3px;
}
.hero-slide-genre {
  font-size: 11px;
  font-weight: 500;
  color: #e8622a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* MINI-HERO PAGES INTERNES */
.page-hero {
  background: var(--navy);
  margin-bottom: 40px;
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.page-hero-bar {
  width: 3px;
  height: 36px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.page-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  border: none;
  padding: 0;
}
@media (max-width: 768px) {
  .page-hero-inner { padding: 20px 16px; gap: 16px; }
  .page-hero h1 { font-size: 20px; }
}

/* ANIMATIONS AU SCROLL */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.champ-website {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
