/* GODAF — couche de finition visuelle */
:root {
  --ui-ink: #17212b;
  --ui-muted: #65717c;
  --ui-paper: #ffffff;
  --ui-soft: #f4f6f8;
  --ui-line: #e4e8ec;
  --ui-orange-dark: #a94700;
  --ui-radius: 16px;
  --ui-shadow: 0 14px 38px rgba(18, 31, 43, .08);
}
html { scroll-padding-top: 92px; }
body {
  color: var(--ui-ink);
  background: var(--ui-paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: #fff; background: #b84e00; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #f47721;
  outline-offset: 3px;
}

/* Navigation */
nav#mainNav {
  padding: 15px clamp(20px, 5vw, 76px);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
nav#mainNav.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid rgba(23,33,43,.08) !important;
  box-shadow: 0 8px 28px rgba(17,29,40,.08);
  --white: #17212b;
  --gray: #53606c;
}
nav#mainNav.scrolled .nav-links a { color: #3f4b56; }
nav#mainNav.scrolled .nav-links a:hover { color: #a94700; }
.nav-logo-icon, .footer-logo-icon { border-radius: 11px; }
.nav-cta, .btn-primary, .btn-outline, .btn-dark, .btn-ghost-dark,
.nav-mobile-cta, .pg-cta a, .of-btn, .qx-btn {
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.nav-cta:hover, .btn-primary:hover, .btn-dark:hover, .pg-cta a:hover, .of-btn:hover, .qx-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(119,57,9,.18);
}
.nav-mobile-menu {
  box-shadow: 0 18px 28px rgba(17,29,40,.13);
}
.nav-mobile-menu a, .nav-mobile-menu summary { letter-spacing: .04em; }

/* Accueil et titres */
.hero { min-height: min(880px, 100svh); }
.hero-bg {
  background:
    linear-gradient(90deg, rgba(5,17,22,.78) 0%, rgba(5,17,22,.4) 58%, rgba(5,17,22,.06) 100%),
    linear-gradient(180deg, rgba(5,17,22,.16) 0%, rgba(5,17,22,.05) 52%, rgba(5,17,22,.72) 100%);
}
.hero-content { max-width: 1320px; padding-left: clamp(22px, 6vw, 84px); padding-right: clamp(22px, 6vw, 84px); }
.hero-title { max-width: 1050px; }
.hero-title .ht-solid, .hero-title .ht-outline { font-size: clamp(42px, 8.1vw, 108px); }
.hero-sub { max-width: 590px; }
.section-header { max-width: 920px; margin-left: auto; margin-right: auto; margin-bottom: clamp(32px, 5vw, 54px); }
.section-label, .ceo-label, .careers-eyebrow { letter-spacing: .16em; }
.section-title {
  color: var(--ui-ink);
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -.035em;
  line-height: 1.1;
  text-transform: none;
}
.section-title span { color: var(--ui-orange-dark); }
.section-sub { color: var(--ui-muted); font-size: 16px; line-height: 1.75; }
.group-band { gap: 22px; }
.group-band-divs { flex-wrap: wrap; justify-content: center; }

/* Services et cartes */
.services-section, .contact-section { background: #fff; }
.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}
.service-card {
  min-width: 0;
  padding: 0 26px 28px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: #fff;
  box-shadow: 0 5px 20px rgba(18,31,43,.045);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  background: #fff;
  border-color: rgba(244,119,33,.4);
  box-shadow: var(--ui-shadow);
  transform: translateY(-4px);
}
.service-card::before { display: none; }
.svc-photo {
  height: 178px;
  margin: 0 -26px 22px;
  border-radius: var(--ui-radius) var(--ui-radius) 0 0;
}
.svc-icon { margin-bottom: 14px; }
.svc-num { color: var(--ui-orange-dark); font-weight: 700; }
.svc-title {
  color: var(--ui-ink);
  font-size: 18px;
  letter-spacing: -.015em;
  line-height: 1.3;
  text-transform: none;
}
.svc-desc { color: #5f6b76; font-size: 14px; line-height: 1.7; }
.svc-learn { color: var(--ui-orange-dark); opacity: 1; transform: none; }
.projects-section { background: #f3f5f7; }
.projects-grid { gap: 16px; }
.project-card, .project-card.featured { border-radius: var(--ui-radius); }
.project-overlay { border-radius: inherit; }
.project-tag { color: #ffad69; }
.project-name { letter-spacing: -.015em; text-transform: none; }
.projects-cta { margin-top: 34px; }
.why-section { background: #f7f8fa; }
.why-section::before { opacity: .55; }
.why-inner { gap: clamp(36px, 6vw, 80px); }
.why-pillar { border-bottom-color: #e2e6ea; }
.pillar-title { color: var(--ui-ink); font-size: 17px; text-transform: none; }
.pillar-text { color: #5e6a75; font-size: 14px; }
.why-image-main { border-radius: 20px; box-shadow: var(--ui-shadow); }
.why-image-badge { border-radius: 16px; }
.partners-section { background: #f3f5f7; }
.partner-logo { border-right: 0; }
.partner-name { color: #66717b; }
.partner-logo:hover .partner-name { color: var(--ui-orange-dark); }

/* PDG et carrières */
.ceo-section { border: 0; background: #fff; }
.ceo-inner { border-radius: 22px; box-shadow: var(--ui-shadow); }
.ceo-portrait { background: linear-gradient(145deg, #f47721, #c45100); }
.ceo-content { background: #fff; }
.ceo-heading { letter-spacing: -.025em; }
.careers-section {
  background: linear-gradient(115deg, #ff922f 0%, #f47721 58%, #df5b00 100%);
}
.careers-title { letter-spacing: -.035em; line-height: 1.04; }
.careers-section .btn-dark { background: #17212b; color: #fff; }
.careers-section .btn-dark:hover { background: #263847; }
.careers-section .btn-ghost-dark { border-color: rgba(23,33,43,.5); color: #17212b; }
.careers-section .btn-ghost-dark:hover { background: rgba(255,255,255,.18); }

/* Contact et pied de page */
.contact-inner { gap: clamp(38px, 6vw, 80px); }
.contact-item { border-bottom-color: var(--ui-line); }
.ci-icon { border-radius: 12px; background: #fff7f0; }
.ci-label { color: var(--ui-orange-dark); }
.ci-value { color: var(--ui-ink); }
footer { border-top: 3px solid #f47721; }
.footer-col ul a, .footer-brand-desc { color: #c4cbd1; }
.footer-col ul a:hover, .footer-legal a:hover { color: #ffad69; }
.footer-copy, .footer-copy strong, .footer-legal a { color: #aeb8c0; }
.footer-group-link { color: #ffad69; }
.footer-social .social-link { border-radius: 10px; }
.footer-legal { gap: 10px 16px; }

/* Pages intérieures et mentions légales */
.pg-hero { border-bottom-width: 5px; }
.pg-hero-in { max-width: 1180px; }
.pg-hero h1 { letter-spacing: -.04em; line-height: 1.06; }
.pg-crumb, .pg-crumb a { color: #d9e0e2; }
.pg-sec { padding: clamp(48px, 7vw, 82px) clamp(18px, 5vw, 64px); }
.pg-in { max-width: 1180px; }
.pg-sec h2 {
  color: var(--ui-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -.03em;
  line-height: 1.14;
  text-transform: none;
}
.pg-sec h2 span { color: var(--ui-orange-dark); }
.pg-sec p.t, .pg-sec p, .pg-sec li { line-height: 1.75; }
.pg-sec p.t { color: #4d5964; }
.pg-grid { gap: 18px; }
.pg-card {
  padding: 25px;
  border: 1px solid var(--ui-line);
  border-top: 3px solid #f47721;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(18,31,43,.055);
}
.pg-card h3 {
  color: var(--ui-ink);
  font-size: 19px;
  letter-spacing: -.01em;
  line-height: 1.3;
  text-transform: none;
}
.pg-card p { color: #56616b; }
.pg-list li { border-radius: 9px; line-height: 1.6; }
.pg-steps { gap: 12px; }
.pg-step {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
}
.pg-cta { padding: clamp(42px, 6vw, 68px) 20px; }
.pg-cta h2 { letter-spacing: -.025em; line-height: 1.15; text-transform: none; }
.pg-cta p { line-height: 1.7; }
.pg-cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; background: #17212b; color: #fff; text-decoration: none; font-weight: 700; }
.pg-cta a:hover { background: #2b3b49; color: #fff; }
.pg-legal { max-width: 900px; }
.pg-legal h3 { letter-spacing: -.02em; }
.legal-index a { border-radius: 12px; box-shadow: 0 4px 14px rgba(18,31,43,.04); }
.legal-doc { padding-top: 26px; }
.legal-choice { border-radius: 999px; }
.cr-hero { min-height: 570px; }
.of-card { border-color: var(--ui-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(18,31,43,.06); }
.of-card h3 { color: var(--ui-ink); }
.of-btn { background: #17212b; }
.of-btn:hover { background: #f47721; color: #17212b; }

/* Fenêtre service, cookie et barre mobile */
.svc-panel { border-radius: 20px 0 0 20px; }
.svc-panel-header { background: #fff; }
.svc-panel-footer { box-shadow: 0 -8px 24px rgba(18,31,43,.06); }
.sp-caps li, .sp-approach { border-radius: 9px; }
.ck { border-radius: 16px; }
.ck button { border-radius: 999px; }
.mbar { box-shadow: 0 -8px 24px rgba(0,0,0,.16); }
.mbar a { padding-top: 12px; padding-bottom: 12px; }

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .services-grid { gap: 14px; }
  .why-image-badge { left: 14px; bottom: 14px; }
  .footer-top { gap: 34px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  nav#mainNav { padding: 11px 18px; }
  nav#mainNav.scrolled { padding-top: 8px; padding-bottom: 8px; }
  .hero { min-height: 690px; min-height: 100svh; }
  .hero-content { padding: 115px 20px 90px; }
  .hero-title { margin-bottom: 20px; }
  .hero-title .ht-solid, .hero-title .ht-outline { font-size: clamp(39px, 12vw, 64px); }
  .hero-sub { font-size: 16px !important; }
  .hero-actions { align-items: stretch; }
  .section-title { font-size: clamp(28px, 8vw, 38px); }
  .section-sub { font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { padding: 0 20px 22px; }
  .svc-photo { height: 190px; margin: 0 -20px 20px; }
  .svc-icon { margin-bottom: 10px; }
  .project-card, .project-card.featured { min-height: 260px; }
  .careers-stats { gap: 20px; }
  .careers-stat .num { font-size: 34px; }
  .contact-form { border-radius: 16px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }
  .pg-hero { padding-left: 20px; padding-right: 20px; }
  .pg-card { padding: 21px; }
  .pg-step { padding: 18px; }
  .svc-panel { border-radius: 0; }
  .mbar a { font-size: 11px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Contraste conservé dans les sections sombres */
.stats-section .section-title, .divisions-band .section-title,
footer .section-title, .video-section .section-title,
.pg-sec.dark .section-title { color: #fff; }
.stats-section .section-title span, .divisions-band .section-title span,
footer .section-title span, .video-section .section-title span,
.pg-sec.dark .section-title span { color: #ffad69; }
.stats-section .section-sub, .divisions-band .section-sub,
footer .section-sub, .video-section .section-sub,
.pg-sec.dark .section-sub { color: #c4cbd1; }
.pg-sec.dark h2 { color: #fff; }
.pg-sec.dark h2 span { color: #ffad69; }

/* Photos rétablies sur les pages sectorielles */
.ph-one {
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e4e8ec;
  border-radius: 20px;
  background: #f4f6f8;
  box-shadow: 0 14px 38px rgba(18,31,43,.08);
}
.ph-one img {
  display: block;
  width: 100%;
  height: clamp(250px, 36vw, 440px);
  max-height: none;
  object-fit: cover;
}
@media (max-width: 640px) {
  .ph-one { border-radius: 14px; }
  .ph-one img { height: 230px; }
}

/* Masquer les icônes sociales tant que GODAF n'a pas fourni ses profils officiels. */
.social-side,
.footer-soc { display: none !important; }
