@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@700;800;900&family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --or:         #e8b830;
  --or-fonce:   #c99a1a;
  --marine:     #0d2560;
  --marine-deep:#071540;
  --bleu:       #1565c0;
  --bleu-clair: #2196f3;
  --fond:       #f0f4fb;
  --blanc:      #ffffff;
  --texte:      #0d2560;
  --gris:       #5a6e8a;
  --font-titre: 'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-para:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-para); color: var(--texte); overflow-x: hidden; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--marine-deep);
  color: #aec6e8; font-size: 12px; padding: 7px 0;
}
.topbar .inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar .left { display: flex; align-items: center; gap: 24px; }
.topbar .left span { display: flex; align-items: center; gap: 6px; }
.topbar .left span i { color: var(--or); font-size: 11px; }
.topbar .left a { color: var(--or); text-decoration: none; font-weight: 600; }
.topbar .right { display: flex; align-items: center; gap: 8px; }
.topbar .right span { font-weight: 700; margin-right: 6px; color: #fff; letter-spacing: 1px; }
.topbar .right a { color: #7aadd4; font-size: 13px; transition: color .2s; text-decoration: none; }
.topbar .right a:hover { color: var(--or); }

/* ===== NAVBAR ===== */
nav {
  background: #fff;
  box-shadow: 0 2px 20px rgba(13,37,96,0.1);
  position: sticky; top: 0; z-index: 200;
  transition: box-shadow .3s;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-titre); font-size: 22px; font-weight: 900;
  color: var(--marine); text-decoration: none;
  display: flex; align-items: center; gap: 10px; letter-spacing: 0.5px;
}
.logo-icon {
  width: 46px; height: 46px; background: var(--marine); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; position: relative; overflow: hidden; flex-shrink: 0;
}
.logo-icon::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--or);
}
.logo-text .l1 { display: block; font-size: 13px; font-weight: 900; color: var(--marine); letter-spacing: 1.5px; line-height: 1; }
.logo-text .l2 { display: block; font-size: 19px; font-weight: 900; color: var(--bleu-clair); letter-spacing: 2px; line-height: 1.1; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  color: var(--texte); text-decoration: none;
  padding-bottom: 4px; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--or); transform: scaleX(0); transition: transform .3s;
}
.nav-links a.active,
.nav-links a:hover { color: var(--bleu); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 10px; }
.nav-phone .icon {
  width: 40px; height: 40px; background: var(--or); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px;
}
.nav-phone .info small { display: block; font-size: 10px; color: #888; font-weight: 600; text-transform: uppercase; }
.nav-phone .info strong { font-size: 13px; font-family: var(--font-body); color: var(--marine); font-weight: 700; }
.btn-devis {
  background: var(--marine); color: #fff; padding: 11px 22px; border-radius: 6px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
  border: 2px solid var(--marine); transition: all .25s; white-space: nowrap;
}
.btn-devis:hover { background: var(--or); border-color: var(--or); color: var(--marine); }

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

/* ===== HERO INTERNE (sous-pages) ===== */
.hero-inner {
  background: linear-gradient(130deg, var(--marine-deep) 0%, #0d2d6e 55%, #163fa8 100%);
  padding: 80px 0 90px; position: relative; overflow: hidden;
  text-align: center;
}
.hero-inner::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%;
}
.hero-inner svg { display: block; }
.hero-inner-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1400&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.12;
}
.hero-inner .inner { max-width: 800px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.hero-inner .breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 18px;
}
.hero-inner .breadcrumb a { color: var(--or); text-decoration: none; }
.hero-inner .breadcrumb i { font-size: 10px; }
.hero-inner h1 {
  font-family: var(--font-titre); font-size: 60px; font-weight: 900; color: #fff;
  text-transform: uppercase; letter-spacing: 1px; line-height: 1.05; margin-bottom: 16px;
}
.hero-inner h1 span { color: var(--or); }
.hero-inner p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.7; max-width: 600px; margin: 0 auto; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; }

/* ===== SECTION COMMUNE ===== */
.section-tag {
  display: inline-block; background: var(--or); color: var(--marine-deep);
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 3px; margin-bottom: 14px;
}
.section-head { text-align: center; margin-bottom: 54px; }
.section-head h2 {
  font-family: var(--font-titre); font-size: 40px; font-weight: 900; color: var(--marine);
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px;
}
.section-head p { font-size: 14px; color: var(--gris); max-width: 520px; margin: 0 auto; line-height: 1.75; }

/* ===== BOUTONS ===== */
.btn-primaire {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--marine); color: #fff; padding: 12px 28px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
  transition: all .25s;
}
.btn-primaire:hover { background: var(--or); color: var(--marine); transform: translateY(-2px); }
.btn-secondaire {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--marine); color: var(--marine); padding: 11px 26px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
  transition: all .25s;
}
.btn-secondaire:hover { background: var(--marine); color: #fff; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(130deg, var(--marine-deep) 0%, var(--marine) 50%, var(--bleu) 100%);
  padding: 70px 0; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-bar .inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1;
}
.stat-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 28px 20px;
  display: flex; align-items: center; gap: 18px;
  transition: transform .3s, background .3s;
}
.stat-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.stat-icon {
  width: 54px; height: 54px; background: rgba(232,184,48,0.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--or); font-size: 22px;
  border: 1px solid rgba(232,184,48,0.3); flex-shrink: 0;
}
.stat-info h3 { font-family: var(--font-titre); font-size: 34px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-info p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* ===== FOOTER ===== */
footer { background: var(--marine-deep); padding: 80px 0 0; }
.footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
}
.footer-brand .logo-f { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .logo-icon-f {
  width: 50px; height: 50px; background: var(--or); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--marine-deep); font-size: 22px;
}
.footer-brand .lf1 { font-family: var(--font-titre); font-size: 15px; font-weight: 900; color: #fff; letter-spacing: 1px; display: block; }
.footer-brand .lf2 { font-family: var(--font-titre); font-size: 20px; font-weight: 900; color: var(--or); letter-spacing: 2px; display: block; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 14px; transition: all .2s; text-decoration: none;
}
.footer-socials a:hover { background: var(--or); border-color: var(--or); color: var(--marine-deep); }
.footer-col h4 {
  font-family: var(--font-body); font-size: 14px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid rgba(232,184,48,0.4); display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color .2s; display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a::before { content: '›'; color: var(--or); font-size: 16px; }
.footer-col ul li a:hover { color: var(--or); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--or); font-size: 14px; margin-top: 2px; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-bottom {
  max-width: 1240px; margin: 60px auto 0; padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--or); text-decoration: none; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--or); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner h1 { font-size: 38px; }
  .stats-bar .inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .topbar .left { display: none; }
  .hero-inner h1 { font-size: 30px; }
  .stats-bar .inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-phone { display: none; }
}

/* ===== FOOTER EXTRA ===== */
.footer-brand p { font-size:13px; color:rgba(255,255,255,0.55); line-height:1.75; margin:16px 0 24px; }
.logo-f { display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.logo-icon-f { width:46px; height:46px; background:var(--or); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--marine-deep); font-size:20px; }
.lf1 { display:block; font-size:13px; font-weight:900; color:#fff; letter-spacing:1.5px; font-family:var(--font-titre); }
.lf2 { display:block; font-size:19px; font-weight:900; color:var(--bleu-clair); letter-spacing:2px; font-family:var(--font-titre); }
.footer-socials { display:flex; gap:10px; }
.footer-socials a { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.6); display:flex; align-items:center; justify-content:center; font-size:14px; text-decoration:none; transition:all .2s; }
.footer-socials a:hover { background:var(--or); color:var(--marine-deep); }
.footer-col h4 { font-family:var(--font-body); font-size:14px; font-weight:800; color:#fff; letter-spacing:1px; text-transform:uppercase; margin-bottom:18px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul li a { color:rgba(255,255,255,0.55); text-decoration:none; font-size:13px; transition:color .2s; display:flex; align-items:center; gap:6px; }
.footer-col ul li a::before { content:'›'; color:var(--or); font-weight:900; }
.footer-col ul li a:hover { color:var(--or); }
.footer-contact-item { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; font-size:13px; color:rgba(255,255,255,0.6); }
.footer-contact-item i { color:var(--or); margin-top:2px; width:14px; flex-shrink:0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); margin-top:60px; padding:24px; text-align:center; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; max-width:1240px; margin-left:auto; margin-right:auto; }
.footer-bottom p { font-size:12px; color:rgba(255,255,255,0.4); }
.footer-bottom a { color:var(--or); text-decoration:none; }
.footer-bottom-links { display:flex; gap:20px; }
.footer-bottom-links a { font-size:12px; color:rgba(255,255,255,0.4); text-decoration:none; transition:color .2s; }
.footer-bottom-links a:hover { color:var(--or); }
@media(max-width:960px){ .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns:1fr; } }

/* ===== LOGO IMAGE ===== */
.logo-img { height: 52px; width: auto; object-fit: contain; }
.logo-img-footer { height: 48px; width: auto; object-fit: contain; }

/* ===== FLASH MESSAGES ===== */
.flash { padding:12px 20px; border-radius:8px; margin-bottom:20px; font-size:14px; font-weight:600; }
.flash-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.flash-error { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
