:root {
  --blue: #5D8099;
  --blue-a11y: #3d6478;
  --dark: #172A45;
  --white: #FFFFFF;
  --text: #292929;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* ── FOCUS VISIBLE (WCAG 2.4.7) ── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 200;
  padding: 0 48px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(93, 128, 153, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Petites majuscules avec première lettre légèrement plus grande */
.nav-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #3d6478;
  line-height: 1;
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  color: var(--dark);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #3d6478;
}

.btn-rdv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3d6478;
  color: #fff !important;
  padding: 10px 18px;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-rdv:hover {
  background: var(--dark);
  transform: translateX(2px);
}

/* ── BURGER ── */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 199;
  padding: 16px 24px 24px;
  box-shadow: 0 4px 20px rgba(23, 42, 69, 0.12);
  border-top: 1px solid rgba(93, 128, 153, 0.12);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  border-bottom: 1px solid rgba(93, 128, 153, 0.1);
}

.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu ul li a:hover {
  color: var(--blue);
}

.mobile-menu .btn-rdv {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* ── HERO ── */
/* Total height = nav-h + 410px of visible content below nav */
#hero {
  height: calc(var(--nav-h) + 410px);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px 40px;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.15;
  color: #3d6478;
  margin-bottom: 8px;
}

.hero-location {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #2d4f63;
  opacity: 1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  color: #172A45;
  max-width: 640px;
  margin-bottom: 28px;
}

/* ── SECTIONS STANDARDS 410px ── */
section.std {
  height: 410px;
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}

#consultation,
#faq,
#infos {
  scroll-margin-top: var(--nav-h);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #3d6478;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ── À PROPOS ── */
#apropos {
  background: #3d6478;
}

.apropos-card {
  max-width: 800px;
  background: var(--white);
  margin: 0 auto;
  padding: 48px 56px;
  text-align: center;
}

#apropos .apropos-card h2 {
  color: #3d6478;
  margin-bottom: 20px;
  text-align: center;
}

.apropos-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.apropos-card p:last-child {
  margin-bottom: 0;
}

/* ── CONSULTATION ── */
#consultation {
  height: auto;
  min-height: 410px;
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid rgba(93, 128, 153, 0.12);
  display: flex;
  align-items: flex-start;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(93, 128, 153, 0.14);
  border-top: 3px solid #3d6478;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(93, 128, 153, 0.15);
  transform: translateY(-4px);
}

.card-bubble {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
  background: #000;
}

.card-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #3d6478;
  margin-bottom: 14px;
}

.card ul {
  list-style: none;
  text-align: left;
}

.card ul li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px solid rgba(93, 128, 153, 0.08);
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3d6478;
  opacity: 0.7;
}

/* ── TARIFS ── */
#tarifs {
  background: #3d6478;
}

.tarif-card {
  width: 610px;
  height: 275px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

#tarifs .tarif-card h2 {
  color: #3d6478;
  margin-bottom: 6px;
}

.tarif-price-line {
  font-size: 20px;
  font-weight: 500;
  color: #3d6478;
  margin-bottom: 4px;
}

.tarif-dur {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 14px;
}

.tarif-note {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── FAQ ── */
#faq {
  background: #fff;
  border-top: 1px solid rgba(93, 128, 153, 0.12);
  height: auto;
  min-height: 410px;
  padding: 56px 0;
  display: flex;
  align-items: flex-start;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid rgba(93, 128, 153, 0.18);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #3d6478;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.5;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--dark);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #3d6478;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
  color: #3d6478;
}

.faq-item.open .faq-icon {
  background: #3d6478;
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-a p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

/* ── INFOS ── */
#infos {
  background: #172A45;
  padding: 56px 0;
}

#infos h2 {
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}

.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.info-col h3 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.info-col p,
.info-col address {
  font-size: 14px;
  line-height: 1.9;
  color: #fff;
  font-style: normal;
}

.info-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s;
}

.info-col a:hover {
  color: #fff;
}

.infos-map {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  filter: grayscale(20%);
}

/* ── FOOTER ── */
footer {
  background: #172A45;
  padding: 20px 48px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.03em;
}

footer a {
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
  margin: 0 8px;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.7;
}

/* ── RESPONSIVE ── */
@media(max-width:1200px) {
  .nav-links {
    gap: 16px;
  }
}

@media(max-width:900px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  nav .btn-rdv {
    display: none;
  }

  .burger {
    display: flex;
  }

  #hero {
    height: auto;
    min-height: unset;
    align-items: center;
    padding-top: var(--nav-h);
  }

  .hero-bg {
    background-size: cover;
    background-position: center center;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.7);
  }

  .hero-content {
    padding: 40px 20px 40px;
  }

  h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 17px;
    max-width: 100%;
  }

  section.std {
    height: auto;
    min-height: unset;
    padding: 48px 0;
  }

  .container {
    padding: 0 20px;
  }

  .apropos-card {
    padding: 32px 24px;
    text-align: left;
  }

  #apropos .apropos-card h2 {
    text-align: center;
  }

  .infos-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .infos-map {
    height: 220px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .tarif-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 32px 20px;
  }

  footer {
    padding: 16px 20px;
  }

  footer p {
    font-size: 11px;
  }
}

@media(max-width:480px) {
  h1 {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  h2 {
    font-size: 28px;
  }

  .infos-map {
    height: 180px;
  }
}