:root {
  --ink: #101522;
  --muted: #5d6678;
  --line: #dce2ec;
  --panel: #f6f8fb;
  --white: #ffffff;
  --blue: #062b63;
  --blue-2: #0a56b3;
  --aqua: #11a7c7;
  --amber: #f2b641;
  --shadow: 0 20px 50px rgba(14, 29, 52, 0.12);
  --radius: 8px;
  --max: 1180px;
  --wide: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(189, 199, 216, 0.78);
  box-shadow: 0 10px 30px rgba(14, 29, 52, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(320px, auto) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 70px);
  width: 100%;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 54px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand img {
  width: 116px;
  height: auto;
}

.brand span {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(34px, 4vw, 76px);
  min-width: 0;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(26px, 3vw, 48px);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--blue-2);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
}

.header-call span {
  color: currentColor;
  font-size: 0.95rem;
}

.phone-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(430px, 0.9fr) minmax(280px, 0.46fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 28px clamp(20px, 3vw, 46px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 42px clamp(28px, 4vw, 62px) 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 48%, rgba(41, 120, 210, 0.16) 0%, rgba(41, 120, 210, 0.04) 18%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(135deg, #143f7a 0%, #0b2a57 58%, #081c3e 100%);
  color: var(--white);
}

@media (min-width: 769px) {
  #accueil {
    scroll-margin-top: 72px;
  }

  .hero .btn-secondary {
    display: none;
  }

  .header-call,
  .contact-phone a {
    pointer-events: none;
    cursor: default;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--aqua), var(--amber));
}

.hero-heading,
.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-heading {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 1180px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-content .eyebrow {
  font-size: 1.05rem;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.08;
  white-space: nowrap;
}

.hero h1::after {
  content: "";
  display: block;
  width: 126px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--aqua);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(17, 167, 199, 0.38);
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #e9f2ff;
  font-size: 1.26rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 580px;
  margin: 18px 0 0;
  color: #cad5e6;
  font-size: 1.05rem;
}

.hero-map {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: 0;
  justify-self: center;
  transform: translateX(-1%);
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 34px 72px rgba(0, 0, 0, 0.22));
}

.hero-map::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -1;
  background: radial-gradient(circle, rgba(61, 146, 255, 0.12) 0%, rgba(61, 146, 255, 0.04) 35%, rgba(0, 0, 0, 0) 68%);
  filter: blur(14px);
  pointer-events: none;
}

.hero-map svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-france {
  width: 100%;
}

.map-france .france-fill {
  fill: rgba(15, 45, 92, 0.72);
}

.map-france .france-divider {
  stroke: rgba(180, 205, 240, 0.22);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  transition: fill 180ms ease, stroke 180ms ease;
}

.map-france .france-stroke {
  fill: none;
  stroke: rgba(180, 205, 240, 0.32);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.map-france .gironde {
  fill: #1dc9e8;
  stroke: rgba(215, 250, 255, 0.7);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 10px rgba(29, 201, 232, 0.28))
    drop-shadow(0 0 26px rgba(29, 201, 232, 0.18));
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue-2);
  box-shadow: 0 12px 30px rgba(10, 86, 179, 0.25);
}

.hero .btn-primary {
  background: var(--aqua);
  color: #061423;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.hero-panel div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--aqua);
}

.panel-icon svg {
  width: 34px;
  height: 34px;
}

.panel-text {
  display: grid;
  gap: 7px;
}

.panel-label {
  display: block;
  margin-bottom: 7px;
  color: #9fdcf0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) clamp(20px, 4vw, 32px);
}

.intro,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 74px);
}

.section-heading {
  max-width: 520px;
}

.section-heading.wide {
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.intro-text p,
.section-heading p,
.proof-content p,
.contact-info p {
  margin: 0 0 18px;
  font-size: 1.03rem;
}

.services {
  max-width: none;
  background: var(--panel);
}

.services > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card,
.project-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 220px;
  padding: 38px 30px 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-2);
  border-radius: var(--radius) var(--radius) 0 0;
}

.project-item {
  min-height: 268px;
  padding: 26px;
}

.service-card h3,
.service-card p {
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

.service-card h3 {
  margin: 0;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(17, 167, 199, 0.42);
  box-shadow: 0 18px 44px rgba(14, 29, 52, 0.12), 0 0 0 1px rgba(17, 167, 199, 0.08);
}

.service-card p,
.project-item p {
  margin: 22px 0 0;
}

.project-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof {
  align-items: start;
}

blockquote {
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--blue);
  border-left: 4px solid var(--aqua);
  font-size: 1.35rem;
  font-weight: 900;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(14, 29, 52, 0.05);
}

.proof-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--aqua);
  border: 1px solid rgba(17, 167, 199, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 167, 199, 0.07);
}

.proof-icon svg {
  width: 22px;
  height: 22px;
}

.proof-item strong {
  display: block;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.proof-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.projects {
  max-width: none;
  color: var(--white);
  background: var(--ink);
}

.projects .section-heading,
.projects .project-list {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.projects h2,
.projects h3 {
  color: var(--white);
}

.projects p {
  color: #bac5d4;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.project-item {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.project-item span {
  color: var(--aqua);
}

.contact {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, var(--panel), var(--white));
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 74px);
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}

.contact-info {
  max-width: 520px;
}

.contact-response {
  color: var(--blue);
  font-weight: 900;
}

.contact-info h2 + p {
  margin-top: 28px;
}

.contact-phone {
  display: grid;
  gap: 6px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(17, 167, 199, 0.18);
  border-radius: var(--radius);
  background: rgba(17, 167, 199, 0.06);
}

.contact-phone span,
.contact-phone strong {
  color: var(--ink);
  font-size: 1rem;
}

.contact-phone strong {
  font-weight: 900;
}

.contact-phone a {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--blue);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.required-mark {
  color: var(--blue);
}

.label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  width: fit-content;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7e4;
  border-radius: var(--radius);
  background: #fbfcfe;
  padding: 13px 14px;
  color: var(--ink);
}

.autocomplete {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 220px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #cfd7e4;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(6, 25, 54, 0.16);
}

.autocomplete-list[hidden] {
  display: none;
}

.autocomplete-list li {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.autocomplete-list li:hover,
.autocomplete-list li.is-active {
  color: var(--blue);
  background: rgba(17, 167, 199, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.form-required-note {
  margin: -2px 0 0;
  color: #6c7687;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-reassurance > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.form-reassurance svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--blue);
  fill: currentColor;
  stroke: none;
}

.contact-phone-reassurance {
  max-width: 100%;
  margin-top: 0;
}

.contact-phone + .contact-phone-reassurance {
  margin-top: 36px;
}

.contact-phone-reassurance > span {
  flex: 1 1 0;
}

.form-reassurance > span > span {
  display: block;
  line-height: 1.18;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 22px clamp(20px, 4vw, 56px) 18px;
  color: #c7d3e5;
  background: var(--blue);
  font-size: 0.9rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 10px 32px;
  align-items: center;
  width: 100%;
  margin: 0;
}

.footer-nav,
.footer-bottom {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}

.footer-nav-top {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.footer-brand-main,
.footer-brand-sub {
  justify-self: start;
}

.footer-contact-main,
.footer-contact-sub {
  justify-self: end;
}

.footer-nav a,
.footer-contact-main,
.footer-contact-sub {
  color: #dbe6f5;
  font-weight: 800;
}

.footer-nav a:hover,
.footer-contact-main:hover,
.footer-contact-sub:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: 100%;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aebbd0;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-legal-row p:first-child {
  justify-self: start;
  text-align: left;
}

.footer-legal-row p:last-child {
  grid-column: 2;
  justify-self: center;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
  }

  .header-actions {
    display: grid;
    justify-content: start;
    gap: 14px;
  }

  .header-call {
    justify-self: start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0;
    border-bottom: 0;
  }

  .hero,
  .intro,
  .proof,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-heading {
    max-width: 760px;
  }

  .hero h1 {
    font-size: 2.15rem;
    white-space: normal;
  }

  .hero-map {
    justify-self: center;
    max-width: 520px;
  }

  .service-grid,
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info,
  .contact-form {
    max-width: none;
  }
}

@media (max-width: 768px) {
  #apropos,
  #prestations,
  #realisations,
  #contact {
    scroll-margin-top: 112px;
  }

  .header-inner {
    gap: 16px;
    padding: 14px clamp(18px, 5vw, 28px);
  }

  .brand {
    justify-content: center;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 14px;
    width: 100%;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: clamp(12px, 4vw, 22px);
    text-align: center;
  }

  .header-call {
    display: none;
    align-self: center;
    justify-self: center;
    max-width: min(100%, 280px);
    width: auto;
    padding-inline: clamp(16px, 6vw, 26px);
  }

  .intro {
    justify-items: center;
    text-align: center;
  }

  .intro .section-heading,
  .intro-text {
    max-width: 620px;
    margin-inline: auto;
  }

  .services,
  .proof,
  .projects,
  .contact-inner {
    text-align: center;
  }

  .contact-inner {
    justify-items: center;
    padding-inline: clamp(16px, 5vw, 24px);
  }

  .services .section-heading,
  .projects .section-heading,
  .proof-content,
  .contact-info {
    max-width: 620px;
    margin-inline: auto;
  }

  .proof-list {
    max-width: 620px;
    margin-inline: auto;
  }

  .proof-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  blockquote {
    padding-left: 0;
    border-left: 0;
  }

  .contact-phone {
    justify-items: center;
  }

  .contact-phone a {
    justify-content: center;
  }

  .contact-phone-reassurance {
    width: 100%;
    max-width: 520px;
    justify-content: center;
    justify-items: center;
    gap: 12px 18px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .contact-phone-reassurance > span {
    flex: 0 1 auto;
    min-width: 0;
  }

  .contact-form {
    width: min(100%, 560px);
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0;
  }

  .header-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px clamp(16px, 5vw, 24px);
  }

  .brand img {
    width: 104px;
  }

  .brand span {
    display: none;
    max-width: none;
    font-size: 0.82rem;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .header-call {
    font-size: 0.86rem;
  }

  .hero {
    padding: 46px 20px 34px;
  }

  .hero-heading {
    text-align: left;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero h1::after {
    margin-left: 0;
  }

  .hero-map {
    max-width: 360px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .service-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-item {
    min-height: auto;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .footer-nav {
    grid-row: 3;
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-nav-top {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-brand-main,
  .footer-brand-sub,
  .footer-contact-main,
  .footer-contact-sub {
    justify-self: center;
    width: 100%;
    text-align: center;
  }

  .footer-brand-main {
    grid-row: 1;
  }

  .footer-brand-sub {
    grid-row: 2;
    font-size: 0.82rem;
  }

  .footer-contact-main {
    grid-row: 3;
    margin-top: 4px;
  }

  .footer-contact-sub {
    grid-row: 4;
  }

  .footer-legal-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-legal-row p:first-child,
  .footer-legal-row p:last-child {
    grid-column: auto;
    justify-self: center;
    text-align: center;
  }

  .footer-legal-row p:first-child {
    order: 2;
  }

  .footer-legal-row p:last-child {
    order: 1;
  }
}
