:root {
  --navy: #0d1b2e;
  --navy-2: #152640;
  --gold: #b8955b;
  --sand: #f4efe6;
  --sand-2: #ebe2d4;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #697386;
  --shadow: 0 22px 60px rgba(13, 27, 46, .14);
  --radius: 26px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fffaf3;
  line-height: 1.7;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 82px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184,149,91,.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: var(--gold);
}

.brand strong {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.4px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  height: 1px;
  background: var(--gold);
  left: 0;
  right: 0;
  bottom: 0;
}

.header-cta {
  background: var(--navy);
  color: white;
  padding: 13px 20px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.hero {
  min-height: 86vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,27,46,.78) 0%, rgba(13,27,46,.42) 46%, rgba(13,27,46,.18) 100%),
    linear-gradient(0deg, rgba(13,27,46,.5), transparent 45%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 150px 7vw 80px;
  color: white;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 12px;
  margin: 0 0 16px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  font-weight: 600;
  color: var(--navy);
}

.hero h1 {
  color: white;
  font-size: clamp(52px, 7vw, 96px);
  margin: 0 0 24px;
}

.hero p:not(.eyebrow) {
  font-size: 20px;
  max-width: 640px;
  color: rgba(255,255,255,.88);
}

.hero-actions,
.action-row,
.appointment-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(13,27,46,.18);
}

.btn.primary {
  background: var(--gold);
  color: white;
}

.btn.secondary {
  background: white;
  color: var(--navy);
}

.btn.ghost {
  border: 1px solid rgba(13,27,46,.22);
  color: var(--navy);
  background: rgba(255,255,255,.6);
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.quick-contact,
.access-section,
.map-section,
.hours-section {
  padding: 100px 0;
  background: #fffaf3;
}

.beige {
  background: var(--sand);
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-heading h2,
.content h2,
.map-header h2,
.appointment h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  margin: 0 0 20px;
}

.section-heading p:not(.eyebrow),
.content p,
.appointment p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}


.hours-box {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
  background: white;
  border: 1px solid rgba(184,149,91,.18);
  border-radius: 34px;
  padding: 50px;
  box-shadow: 0 12px 40px rgba(13,27,46,.06);
}

.hours-box h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 18px;
}

.hours-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hours-line {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.hours-line:last-child {
  border-bottom: 0;
}

.hours-line strong {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.hours-line span {
  color: rgba(255,255,255,.84);
}

.contact-card {
  min-height: 260px;
  background: white;
  border: 1px solid rgba(184,149,91,.18);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(13,27,46,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(184,149,91,.45);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--gold);
  margin-bottom: 28px;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.contact-card h3 {
  font-size: 28px;
  margin: 0 0 12px;
}

.contact-card p {
  color: var(--muted);
  min-height: 60px;
}

.contact-card strong {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: .95fr 1.05fr;
}

.qr-card {
  background: white;
  border-radius: 34px;
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 430px;
  justify-self: center;
  border: 1px solid rgba(184,149,91,.22);
}

.qr-card img {
  width: 100%;
  border-radius: 18px;
  background: white;
}

.qr-card p {
  margin: 18px 0 0;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

.image-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 480px;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.access-list {
  padding: 0;
  margin: 32px 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.access-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(13,27,46,.1);
}

.access-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.access-list span {
  color: var(--muted);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.map-frame {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(184,149,91,.18);
}

.map-frame iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

.appointment {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.appointment-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.appointment h2 {
  color: white;
}

.appointment p {
  color: rgba(255,255,255,.75);
  max-width: 720px;
}

.appointment .btn.ghost {
  border-color: rgba(255,255,255,.35);
  color: white;
  background: transparent;
}

.site-footer {
  background: #07101e;
  color: white;
  padding: 34px 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer p {
  color: rgba(255,255,255,.65);
  margin: 6px 0 0;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,.8);
  text-align: right;
}

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

  .nav {
    display: none;
  }

  .contact-grid,
  .hours-box,
  .split,
  .split.reverse,
  .appointment-box {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hours-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero {
    min-height: 76vh;
  }

  .map-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    height: 70px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    padding: 120px 24px 70px;
  }

  .quick-contact,
  .access-section,
  .map-section,
  .beige,
  .appointment {
    padding: 72px 0;
  }

  .site-footer a {
    text-align: left;
  }
}


/* Menu déroulant Expertises */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-drop-link::after {
  content: " ▾";
  font-size: .75em;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(199,163,91,.28);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  padding: 10px;
  display: none;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown-menu a {
  color: #0d1b2e !important;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  background: rgba(199,163,91,.12);
  color: #b58a39 !important;
}

.main-nav .nav-dropdown > a,
.nav .nav-dropdown > a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    display: grid;
    box-shadow: none;
    margin-top: 8px;
    width: min(100%, 320px);
  }
}


/* Correction menu déroulant Expertises cliquable */
.site-header {
  overflow: visible !important;
  z-index: 9999 !important;
}

.main-nav,
.nav {
  overflow: visible !important;
}

.nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
  padding: 0 0 14px 0;
  margin-bottom: -14px;
  z-index: 10000 !important;
}

.nav-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 280px !important;
  background: rgba(255,255,255,.99) !important;
  border: 1px solid rgba(199,163,91,.32) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.18) !important;
  padding: 10px !important;
  display: none;
  z-index: 10001 !important;
  pointer-events: auto !important;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid !important;
  gap: 4px !important;
}

.nav-dropdown-menu a {
  display: block !important;
  color: #0d1b2e !important;
  padding: 11px 13px !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  pointer-events: auto !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(199,163,91,.14) !important;
  color: #b58a39 !important;
}

@media (max-width: 900px) {
  .nav-dropdown {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    display: grid !important;
    box-shadow: none !important;
    margin-top: 8px !important;
    width: min(100%, 320px) !important;
  }
}
