:root {
  --blue: #4274c6;
  --blue-deep: #2f5aa3;
  --teal: #7fa6b7;
  --mist: #eff2f7;
  --ink: #16233a;
  --text: #475569;
  --line: #e2e8f0;
  --gradient: linear-gradient(115deg, #3e6fc4 0%, #5585c2 45%, #7fa6b7 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(22, 35, 58, 0.04), 0 12px 40px -12px rgba(22, 35, 58, 0.14);
  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: var(--blue);
}

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 10px 30px -10px rgba(16, 32, 70, 0.45);
}

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.nav .nav-cta {
  opacity: 1;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
}

.scrolled .nav .nav-cta {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s;
}

/* Hero */

.hero {
  position: relative;
  background: var(--gradient);
  color: #fff;
  padding: 9.5rem 0 9rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(30, 60, 140, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 2.25rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
}

.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(10, 25, 60, 0.6);
}

.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
}

.wave-top {
  top: -1px;
  bottom: auto;
  height: 70px;
}

/* À propos */

.about {
  padding: 5rem 0 7rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-intro {
  position: sticky;
  top: 7rem;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.about h2,
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.about-intro p {
  font-size: 1.08rem;
  margin: 0 0 1rem;
}

.about-intro .muted {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.specialties {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.specialties li {
  position: relative;
  padding: 1.75rem 1.6rem 1.6rem;
  background: var(--mist);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.specialties li:hover {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.specialties li.wide {
  grid-column: 1 / -1;
}

.num {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

.specialties h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.specialties p {
  margin: 0;
  font-size: 0.95rem;
}

/* Lieux de consultation */

.locations {
  position: relative;
  background: var(--mist);
  padding: 8rem 0 9rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.location {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.location + .location {
  margin-top: 1.75rem;
}

.map {
  position: relative;
  min-height: 380px;
  background: #dfe6ef;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}

.location-body {
  padding: 2.75rem 3rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.location h3 {
  margin: 0.85rem 0 1.5rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.hours {
  margin: 0 0 2rem;
  font-size: 0.93rem;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.details h4 {
  margin-bottom: 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a0b3;
}

.details address {
  margin-bottom: 0.6rem;
  font-style: normal;
  color: var(--ink);
}

.link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.phone {
  display: block;
  margin-top: 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover {
  color: var(--blue);
}

/* Contact */

.contact {
  position: relative;
  background: var(--gradient);
  color: #fff;
  padding: 9rem 0 6rem;
  overflow: hidden;
}

.contact .section-label {
  color: rgba(255, 255, 255, 0.75);
}

.contact h2 {
  color: #fff;
}

.contact .section-head p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-card span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-card .online {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.contact-card .online:hover {
  text-decoration: underline;
}

.contact-card .contact-phone {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.contact-card .contact-phone:hover {
  color: #fff;
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: #171717;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.contact-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.contact-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

.hero-photo.reveal { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    padding: 7.5rem 0 7rem;
  }

  .hero-inner,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-photo {
    justify-self: start;
    width: min(100% - 1.5rem, 400px);
  }

  .about-intro {
    position: static;
  }

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

  .map {
    min-height: 260px;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 0.85rem 1rem;
    opacity: 1;
  }

  .nav .nav-cta {
    margin-top: 0.25rem;
    border: 0;
    background: var(--blue);
    color: #fff;
    text-align: center;
  }

  .open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

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

  .location-body {
    padding: 2rem 1.5rem;
  }

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

  .wave { height: 50px; }
  .wave-top { height: 40px; }

  .locations { padding: 6rem 0 7rem; }
  .contact { padding: 7rem 0 4.5rem; }
}
