/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --blue: #005CE8;
  --blue-dark: #0040B0;
  --blue-deep: #002A80;
  --black: #0D0D1A;
  --yellow: #FFD600;
  --yellow-dark: #E6C000;
  --white: #ffffff;
  --grey-light: #F4F6FC;
  --grey-mid: #D8DFF0;
  --grey-text: #4a5068;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(0,70,200,0.10);
  --shadow-card: 0 2px 14px rgba(0,70,200,0.08);
  --transition: 0.22s ease;
  --max-width: 1200px;
}

/* ===== UTILITY ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section--alt { background: var(--grey-light); }
.section--dark { background: var(--black); color: var(--white); }
.section--blue { background: var(--blue-dark); color: var(--white); }

.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.tag--white { background: rgba(255,255,255,0.15); color: var(--white); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--black);
}
.section-title--white { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.section-subtitle--white { color: rgba(255,255,255,0.82); }

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); }
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline-dark:hover { background: var(--black); color: var(--white); }
.btn-icon { font-size: 1.1rem; transition: transform var(--transition); }
.btn:hover .btn-icon { transform: translateX(3px); }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 42px; width: auto; }

nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.nav-link:hover { color: var(--yellow); background: rgba(255,214,0,0.08); }
.nav-link:focus-visible { outline: 2px solid var(--yellow); }
.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 2px solid var(--white); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--blue-deep) 60%, var(--blue-dark) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='rgba(255,214,0,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,214,0,0.12);
  border: 1px solid rgba(255,214,0,0.35);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.hero-badge::before { content: '●'; font-size: 0.6rem; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Formulaire hero */
.hero-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.30);
  position: relative;
}
.hero-form-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-bottom: 22px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--grey-mid);
  border-radius: 7px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  cursor: text;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-required { color: #c0392b; margin-left: 2px; }
.form-btn { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }
.form-notice {
  font-size: 0.75rem;
  color: var(--grey-text);
  text-align: center;
  margin-top: 10px;
}

/* Messages de confirmation/erreur */
.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}
.form-message--success { background: #e8f8f0; color: #1a7a47; border: 1px solid #a8dfc0; }
.form-message--error { background: #fdecea; color: #c0392b; border: 1px solid #f5b7b1; }
.form-message.visible { display: block; }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--yellow);
  padding: 24px 0;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ===== SECTION : VISIBILITÉ MOBILE ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.content-block p {
  color: var(--grey-text);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.72;
}
.content-block p strong { color: var(--black); }
.content-block h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin: 28px 0 10px;
}


/* ===== AVANTAGES LIST ===== */
.check-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--grey-text);
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}
.card p {
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.65;
}

/* ===== SECTION PANNEAUX ===== */
.panel-highlight {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--blue);
  padding: 28px 32px;
  margin: 28px 0;
  box-shadow: var(--shadow-card);
}
.panel-highlight h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.panel-highlight p {
  font-size: 0.96rem;
  color: var(--grey-text);
  line-height: 1.68;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.material-card {
  background: var(--white);
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}
.material-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.material-card .mat-icon { font-size: 2rem; margin-bottom: 10px; }
.material-card h4 { font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.material-card p { font-size: 0.82rem; color: var(--grey-text); }

/* ===== SECTEURS ===== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.sector-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: background var(--transition), border-color var(--transition);
}
.sector-card:hover { background: rgba(255,255,255,0.1); border-color: var(--yellow); }
.sector-card .sector-icon { font-size: 1.8rem; margin-bottom: 12px; }
.sector-card h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.sector-card p { font-size: 0.88rem; color: rgba(255,255,255,0.70); line-height: 1.6; }

/* ===== ZONES D'INTERVENTION ===== */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.zone-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--blue);
  transition: transform var(--transition);
}
.zone-card:hover { transform: translateY(-3px); }
.zone-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.zone-card h3 .zone-pin { color: var(--blue); font-size: 1.1rem; }
.zone-card p { font-size: 0.92rem; color: var(--grey-text); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.99rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  gap: 14px;
  transition: background var(--transition);
  font-family: inherit;
}
.faq-question:hover { background: var(--grey-light); }
.faq-question:focus-visible { outline: 2px solid var(--blue); }
.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--yellow); color: var(--black); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.22s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { font-size: 0.94rem; color: var(--grey-text); line-height: 1.72; }
.faq-answer p + p { margin-top: 12px; }

/* ===== SECTION CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.contact-info p { font-size: 0.93rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 16px; }
.contact-points { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
}
.contact-point-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border-radius: 10px;
}
.contact-point-text strong { display: block; font-size: 0.87rem; font-weight: 800; color: var(--white); }
.contact-point-text span { font-size: 0.83rem; color: rgba(255,255,255,0.65); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.25);
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  border-top: 3px solid var(--yellow);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--yellow);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
  cursor: pointer;
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col ul li a:focus-visible { outline: 1px solid var(--yellow); }
.footer-cta-box {
  background: rgba(255,214,0,0.07);
  border: 1px solid rgba(255,214,0,0.22);
  border-radius: var(--radius);
  padding: 22px;
}
.footer-cta-box p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.40);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.40);
  cursor: pointer;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--yellow); }

/* ===== MENTIONS LÉGALES MODALES ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  background: var(--grey-light);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background var(--transition);
}
.modal-close:hover { background: var(--grey-mid); }
.modal-box h2 { font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: 20px; }
.modal-box h3 { font-size: 1rem; font-weight: 700; color: var(--black); margin: 20px 0 8px; }
.modal-box p { font-size: 0.9rem; color: var(--grey-text); line-height: 1.7; margin-bottom: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .hero-subtitle { max-width: 100%; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col--reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  nav { display: none; }
  .hero { padding: 54px 0 44px; }
  .hero-form-box { padding: 26px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-box { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
}
