/* =========================================================
   LE VICTOR HUGO — Design System (White & Light Blue)
   ========================================================= */

:root {
  --bg:          #ffffff;
  --bg-2:        #f3f6fb;
  --bg-3:        #e8edf7;
  --border:      #d0d9ea;
  --blue:        #1e2d4f;
  --blue-mid:    #14203a;
  --blue-light:  #e8edf7;
  --blue-dim:    rgba(30,45,79,.08);
  --text-1:      #1e2d4f;
  --text-2:      #4a6080;
  --text-3:      #8fa3bd;
  --white:       #ffffff;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --max-w:       1280px;
  --gutter:      clamp(1.5rem, 5vw, 4rem);
  --radius:      6px;
  --radius-lg:   12px;

  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --shadow-sm:   0 1px 3px rgba(30,45,79,.06), 0 1px 2px rgba(30,45,79,.04);
  --shadow-md:   0 4px 16px rgba(30,45,79,.1), 0 2px 6px rgba(30,45,79,.06);
  --shadow-lg:   0 20px 48px rgba(30,45,79,.15), 0 8px 20px rgba(30,45,79,.08);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--text-1);
}
.section-title em {
  font-style: italic;
  color: var(--blue);
}
.label {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .85rem;
}
.body-text {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  color: var(--text-2);
  line-height: 1.85;
  max-width: 52ch;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-header.center {
  text-align: center;
}
.section-header.center .label {
  text-align: center;
}

/* ── Photo placeholder ───────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: attr(data-label);
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-3);
  text-align: center;
  padding: 1.5rem;
  z-index: 1;
  max-width: 200px;
  line-height: 1.6;
}
.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--blue-light) 0%, transparent 70%);
  opacity: .5;
  border-radius: inherit;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(74,130,245,.25);
}
.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,130,245,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-full { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  padding: 1.3rem var(--gutter);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  transition: opacity .3s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--text-1);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color .25s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-cta {
  padding: .55rem 1.4rem;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  border-radius: var(--radius);
  background: transparent;
  transition: background .25s, color .25s !important;
}
.nav-cta:hover { background: var(--blue) !important; color: var(--white) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--text-1); transition: .3s; border-radius: 2px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  background: var(--bg-2);
  overflow: hidden;
}

/* Cercle décoratif de fond */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,130,245,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  top: 0; right: 0;
  width: 58%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  background: var(--bg-2);
}
.hero-photo.photo-placeholder {
  border-radius: 0;
  border: none;
  border-left: 1px solid var(--border);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-2) 38%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.hero-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}
.hero-wm-le {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--text-1);
  letter-spacing: .08em;
  line-height: 1;
}
.hero-wm-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.hero-wm-sep {
  width: 80px;
  height: 2px;
  background: #6b8f71;
}
.hero-wm-tagline {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6b8f71;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.hero-intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-1);
  line-height: 1.4;
}

.hero-logo-full {
  width: auto;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  margin-bottom: 2.5rem;
  display: block;
}

.hero-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text-1);
  display: flex;
  flex-direction: column;
  margin-bottom: 1.8rem;
}
.hero-title-italic {
  font-style: italic;
  color: var(--blue);
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  max-width: 40ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(.7); }
}

/* =========================================================
   INTRO
   ========================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
}
.intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: .5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
}
.stat-unit {
  font-size: .75rem;
  color: var(--text-2);
  letter-spacing: .04em;
  margin-top: .25rem;
}
.stat-label {
  font-size: .65rem;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .1rem;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}
.intro-visual {
  position: relative;
  height: 600px;
}
.intro-photo {
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 85%;
  border-radius: var(--radius-lg);
}
.intro-accent-photo {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  height: 48%;
  border: 5px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   ESPACES
   ========================================================= */
.espaces {
  background: var(--bg-2);
}
.espaces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.espace-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.espace-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.espace-photo {
  height: 260px;
  width: 100%;
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
  transition: transform .6s var(--ease-out);
  object-fit: cover;
  display: block;
}
.espace-photo.photo-placeholder {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
.espace-card:hover .espace-photo { transform: scale(1.03); }
.espace-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  flex: 1;
}
.espace-badge {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .3rem .75rem;
  border-radius: 999px;
  width: fit-content;
}
.espace-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-1);
}
.espace-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.75;
}
.espace-specs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.espace-specs span {
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: .25rem .7rem;
  background: var(--bg-3);
  border-radius: 4px;
  border: 1px solid var(--border);
}
.espace-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  transition: gap .25s;
}
.espace-link:hover { gap: .8rem; }
.espace-link span { transition: transform .25s; }
.espace-link:hover span { transform: translateX(3px); }

/* =========================================================
   BUREAUX — grande carte unique
   ========================================================= */
.bureaux-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bureaux-card-info {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.bureaux-card-text {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.bureaux-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-1);
}
.bureaux-card-desc {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 55ch;
}
.bureaux-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: 3px;
}
.bureaux-card-footer {
  padding: 1.75rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.bureaux-gallery-item {
  overflow: hidden;
}
.bureaux-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.bureaux-gallery-item:hover img {
  transform: scale(1.06);
}

/* =========================================================
   SALLE DE RÉUNION
   ========================================================= */
.reunion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.reunion-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.reunion-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.reunion-photo:hover img {
  transform: scale(1.04);
}

.reunion-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reunion-equipments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.reunion-equipment-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .95rem;
  color: var(--text-2);
}

.reunion-equipment-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--navy);
}

@media (max-width: 768px) {
  .reunion-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* =========================================================
   GALERIE
   ========================================================= */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 420px 420px;
  gap: .75rem;
  margin-top: 3rem;
}
/* Rangée 1 : 3 photos égales, chacune sur 2 colonnes */
.galerie-item { grid-column: span 2; }
/* Rangée 2 : 2 photos centrées */
.galerie-item:nth-child(4) { grid-column: 2 / 4; }
.galerie-item:nth-child(5) { grid-column: 4 / 6; }

.galerie-item {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
  display: block;
}
.galerie-item:hover img { transform: scale(1.04); }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
.services-text {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.services-list {
  display: flex;
  flex-direction: column;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: transform .25s;
}
.service-item:first-child { border-top: 1px solid var(--border); }
.service-item:hover { transform: translateX(4px); }
.service-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-light);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-top: .1rem;
}
.service-icon svg { width: 18px; height: 18px; }
.service-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: .3rem;
}
.service-desc {
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* =========================================================
   BANDE PHOTO
   ========================================================= */
.bande-photo {
  display: flex;
  height: 320px;
  gap: .5rem;
  overflow: hidden;
  padding: 0 var(--gutter);
  background: var(--bg-2);
}
.bande-item {
  flex: 1;
  border-radius: var(--radius-lg);
  transition: flex .55s var(--ease-out);
  overflow: hidden;
}
.bande-item.photo-placeholder { border-radius: var(--radius-lg); }
.bande-item:hover { flex: 2; }

/* =========================================================
   TÉMOIGNAGES
   ========================================================= */
.temoignages {
  background: var(--bg-2);
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.temoignage {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.temoignage:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.temoignage-quote {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: .8;
  color: var(--blue-light);
  font-weight: 400;
}
.temoignage-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.8;
  flex: 1;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.temoignage-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.avatar-photo { border-radius: 50%; }
.temoignage-author strong {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-1);
}
.temoignage-author span {
  display: block;
  font-size: .75rem;
  color: var(--text-3);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--text-2);
}
.contact-detail svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.contact-visual {
  height: 200px;
  margin-top: .5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Map */
.contact-map {
  margin-top: 3rem;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-group label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 300;
  color: var(--text-1);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74,130,245,.12);
}
.form-group select option { background: var(--white); color: var(--text-1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: .7rem;
  color: var(--text-3);
  text-align: center;
  letter-spacing: .03em;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 2rem;
  min-height: 300px;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--blue);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-1);
}
.form-success p {
  font-size: .9rem;
  color: var(--text-2);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: .5rem;
}
.footer-tagline {
  font-size: .8rem;
  color: var(--text-3);
  line-height: 1.7;
}
.footer-col-title {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.footer-links a {
  font-size: .8rem;
  color: var(--text-3);
  padding: .3rem 0;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text-1); }
.footer-social { display: flex; flex-direction: column; }
.social-links { display: flex; gap: .6rem; }
.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: var(--white);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(74,130,245,.2);
}
.social-link svg { width: 15px; height: 15px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--gutter);
}
.footer-bottom p {
  font-size: .7rem;
  color: var(--text-3);
  letter-spacing: .03em;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-scale { transform: scale(.97) translateY(16px); }

.reveal-up.in,
.reveal-left.in,
.reveal-right.in,
.reveal-scale.in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .4s; }
.delay-6 { transition-delay: .48s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 4rem; }
  .intro-visual { height: 480px; order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .services-text { position: static; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .bureaux-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 220px); }
  .bureaux-card-info { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--white);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1.1rem;
    letter-spacing: .15em;
    color: var(--text-1);
  }
  .nav-burger { display: flex; z-index: 100; }
  .nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .hero-photo { width: 100%; opacity: .2; }
  .hero-overlay { background: linear-gradient(to right, var(--bg-2) 60%, rgba(248,250,253,.9)); }
  .espaces-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 280px 280px 280px; }
  .galerie-item { grid-column: span 1 !important; }
  .galerie-item:nth-child(5) { grid-column: 1 / 3 !important; }
  .bande-photo { height: 200px; padding: 0 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .stats { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .espaces-grid { grid-template-columns: 1fr; }
}

/* ── Cursor dot (desktop only) ──────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
  .cursor { position: fixed; pointer-events: none; z-index: 9999; }
  .cursor-dot {
    width: 5px; height: 5px;
    background: var(--blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    width: 28px; height: 28px;
    border: 1.5px solid rgba(74,130,245,.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .3s var(--ease-out), height .3s var(--ease-out);
  }
  body:has(a:hover) .cursor-ring,
  body:has(button:hover) .cursor-ring {
    width: 46px; height: 46px;
    border-color: var(--blue);
  }
}
