/* =======================================================
   MADAME SARDINE - Mes vacances en Vendée
   ======================================================= */

:root {
  /* Couleurs */
  --teal: #3D99A8;
  --teal-dark: #1F5961;
  --teal-light: #C8E2E6;
  --cream: #FAF6EE;
  --sand: #F1E8D8;
  --sand-deep: #E8D9BD;
  --coral: #E8826B;
  --coral-dark: #C56649;
  --gold: #D4A574;
  --ink: #1A2F33;
  --ink-soft: #4A5C60;
  --muted: #8A9396;
  --white: #FFFFFF;

  /* Typographie */
  --font-display: 'Caveat', cursive;
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Outfit', sans-serif;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 28px;

  /* Easings */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-dark); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--coral); }

/* Texture subtile en fond */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(61,153,168,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(232,130,107,0.04) 0%, transparent 50%);
  pointer-events: none; z-index: -1;
}

/* ====== TYPOGRAPHIE ====== */
.script {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1; font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--ink-soft); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-dark);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--teal-dark); display: inline-block;
}

/* ====== CONTAINER ====== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

/* ====== HEADER ====== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem var(--gutter);
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.header.scrolled { border-bottom-color: rgba(61,153,168,0.15); box-shadow: 0 4px 24px rgba(26,47,51,0.04); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.header-logo img { height: 46px; width: auto; }

.nav-list {
  display: flex; gap: 2.2rem; list-style: none;
}
.nav-list a {
  font-size: 0.94rem; font-weight: 400; color: var(--ink);
  position: relative; padding: 0.35rem 0;
}
.nav-list a::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--teal);
  transition: width 0.3s var(--ease);
}
.nav-list a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500;
  border: none; border-radius: 999px; cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--teal-dark); color: var(--cream); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,89,97,0.25); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(61,153,168,0.35); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,130,107,0.35); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: all 0.3s var(--ease); }

/* ====== SÉLECTEUR DE LANGUE ====== */
.header-right {
  display: flex; align-items: center; gap: 1.2rem;
}
.lang-switch {
  display: flex; align-items: center; gap: 0.4rem;
}
.lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.45;
  filter: grayscale(60%);
  transition: all 0.25s var(--ease);
  line-height: 0;
  border: 2px solid transparent;
}
.lang-flag svg { display: block; border-radius: 2px; }
.lang-flag:hover { opacity: 0.85; filter: grayscale(0%); transform: translateY(-1px); }
.lang-flag.active {
  opacity: 1;
  filter: grayscale(0%);
  border-color: var(--teal);
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.hero-text { position: relative; z-index: 2; }
.hero-script {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--teal);
  transform: rotate(-3deg);
  display: inline-block;
  margin-bottom: -0.4em;
  margin-left: -0.3em;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: italic; font-weight: 400;
  color: var(--teal);
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.86rem; color: var(--ink-soft);
}
.badge svg { color: var(--gold); flex-shrink: 0; }
.badge strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  position: relative;
  height: clamp(450px, 60vh, 640px);
}
.hero-img-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(26,47,51,0.25);
}
.hero-img-main img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-img-secondary {
  position: absolute;
  bottom: -30px; left: -40px;
  width: 50%; aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(26,47,51,0.3);
  border: 8px solid var(--cream);
}
.hero-img-secondary img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-sticker {
  position: absolute;
  top: -15px; right: -15px;
  width: 130px; height: 130px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.1;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 15px 30px rgba(61,153,168,0.4);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.hero-sticker strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  font-style: italic;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* ====== STATS BANDEAU ====== */
.stats {
  background: var(--ink);
  color: var(--cream);
  padding: 2.5rem 0;
  margin-top: 2rem;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--teal-light);
  font-weight: 500;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,246,238,0.65);
  margin-top: 0.5rem;
  display: block;
}

/* ====== SECTION : PRÉSENTATION ====== */
.presentation {
  background: var(--cream);
  padding-top: clamp(5rem, 10vw, 8rem);
}
.presentation-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.presentation-text .eyebrow { margin-bottom: 1rem; }
.presentation-text h2 { margin-bottom: 1.5rem; }
.presentation-text h2 em { font-style: italic; color: var(--teal-dark); }
.presentation-text p { margin-bottom: 1.2rem; font-size: 1.05rem; }

.presentation-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.presentation-visual img {
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.presentation-visual img:nth-child(2) { margin-top: 3rem; }
.signature {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--teal-dark);
  margin-top: 1rem;
}

/* ====== GALERIE ====== */
.gallery {
  background: var(--sand);
}
.gallery-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
}
.gallery-header h2 { max-width: 600px; }
.gallery-header h2 em { font-style: italic; color: var(--teal); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,47,51,0.3) 0%, transparent 40%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .zoom-hint {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.92);
  color: var(--teal-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s var(--ease);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.gallery-item:hover .zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.g-1 { grid-column: span 7; grid-row: span 4; }
.g-2 { grid-column: span 5; grid-row: span 2; }
.g-3 { grid-column: span 5; grid-row: span 2; }
.g-4 { grid-column: span 4; grid-row: span 3; }
.g-5 { grid-column: span 4; grid-row: span 3; }
.g-6 { grid-column: span 4; grid-row: span 3; }

/* ====== ÉQUIPEMENTS ====== */
.equipements {
  background: var(--cream);
}
.eq-header { text-align: center; margin-bottom: 4rem; }
.eq-header h2 em { font-style: italic; color: var(--teal-dark); }
.eq-header p { max-width: 580px; margin: 1rem auto 0; }

.eq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.eq-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(61,153,168,0.1);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.eq-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(31,89,97,0.15);
}
.eq-icon {
  width: 50px; height: 50px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.eq-card h4 { margin-bottom: 0.5rem; color: var(--ink); }
.eq-card p { font-size: 0.92rem; line-height: 1.55; }

.eq-list {
  margin-top: 4rem;
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.eq-list h3 { margin-bottom: 2rem; }
.eq-list h3 em { font-style: italic; color: var(--teal-dark); }
.eq-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem 2rem;
}
.eq-list-grid li {
  list-style: none;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.eq-list-grid li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--teal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9 L7.5 12.5 L14 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ====== REGION ====== */
.region {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.region::before {
  content: ""; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,153,168,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.region-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.region .eyebrow { color: var(--teal-light); }
.region .eyebrow::before { background: var(--teal-light); }
.region h2 { color: var(--cream); margin-bottom: 1.5rem; }
.region h2 em { font-style: italic; color: var(--teal-light); }
.region p { color: rgba(250,246,238,0.75); margin-bottom: 1.2rem; }
.region-places {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.region-places li {
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--cream);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.region-places li strong { font-size: 1rem; color: var(--white); }
.region-places li span { font-size: 0.8rem; color: var(--teal-light); }

.region-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.region-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ====== CONTACT ====== */
.contact {
  background: var(--cream);
  position: relative;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
.contact-aside .eyebrow { margin-bottom: 1rem; }
.contact-aside h2 { margin-bottom: 1.5rem; }
.contact-aside h2 em { font-style: italic; color: var(--teal); }
.contact-aside .script {
  font-size: 2.5rem;
  margin-top: 2rem;
  color: var(--teal);
  transform: rotate(-2deg);
  display: inline-block;
}
.contact-info {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(61,153,168,0.15);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  margin-bottom: 1.2rem;
}
.contact-info-item svg {
  color: var(--teal); flex-shrink: 0; margin-top: 2px;
}
.contact-info-item strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.contact-info-item span { font-size: 0.92rem; color: var(--ink-soft); }

/* Formulaire */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  box-shadow: 0 30px 60px -25px rgba(26,47,51,0.12);
  border: 1px solid rgba(61,153,168,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-field {
  display: flex; flex-direction: column;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-field label span.req { color: var(--coral); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(61,153,168,0.18);
  border-radius: 10px;
  background-color: var(--cream);
  color: var(--ink);
  transition: all 0.25s var(--ease);
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
}

/* Custom chevron sur les selects (puisque le natif est neutralisé) */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A2F33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

/* Inputs date : neutraliser le rendu chelou d'iOS Safari + icône calendrier */
.form-field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0 3rem 0 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233D99A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  line-height: 52px;
  text-align: left;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-sizing: border-box;
  display: block;
}
/* Verrouiller la hauteur ET la largeur interne du widget iOS */
.form-field input[type="date"]::-webkit-datetime-edit {
  height: 50px;
  line-height: 50px;
  padding: 0;
  width: 100%;
  display: block;
}
.form-field input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
  width: 100%;
  display: block;
}
.form-field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form-field input[type="date"]:not(:focus)::-webkit-datetime-edit { color: var(--muted); }
.form-field input[type="date"]:focus::-webkit-datetime-edit { color: var(--ink); }
.form-field input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(61,153,168,0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field .check-row {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1.5px solid rgba(61,153,168,0.18);
  border-radius: 10px;
  transition: all 0.25s var(--ease);
}
.form-field .check-row:hover { border-color: var(--teal); background: var(--white); }
.form-field .check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid var(--teal);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: all 0.2s var(--ease);
}
.form-field .check-row input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.form-field .check-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}
.form-field .check-row input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(61,153,168,0.25);
  outline-offset: 2px;
}
.form-submit {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.05rem;
  font-size: 1rem;
  justify-content: center;
}

/* Alerts */
.alert {
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.94rem;
  border-left: 3px solid;
}
.alert-success {
  background: rgba(61,153,168,0.08);
  color: var(--teal-dark);
  border-color: var(--teal);
}
.alert-error {
  background: rgba(232,130,107,0.08);
  color: var(--coral-dark);
  border-color: var(--coral);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 60px; width: auto; filter: brightness(0) invert(1) sepia(0.5) saturate(2) hue-rotate(150deg); margin-bottom: 1rem; }
.footer-brand p { color: rgba(250,246,238,0.6); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 {
  color: var(--teal-light);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(250,246,238,0.7);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(250,246,238,0.5);
}
.footer-bottom .reg { color: var(--teal-light); }

/* ====== LIGHTBOX ====== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 24, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  padding: clamp(1.5rem, 5vw, 3rem);
}
.lightbox[hidden] { display: none !important; }
.lightbox.open { opacity: 1; }

.lb-stage {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.lightbox.open .lb-img { transform: scale(1); opacity: 1; }
.lb-img.changing { opacity: 0; transform: scale(0.97); }

.lb-caption {
  color: rgba(250, 246, 238, 0.85);
  font-size: 0.95rem;
  text-align: center;
  font-family: var(--font-sans);
  font-style: italic;
  max-width: 600px;
  min-height: 1.5em;
}

/* Bouton close */
.lb-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  z-index: 2;
}
.lb-close:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: rotate(90deg);
}

/* Boutons nav */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  z-index: 2;
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-nav:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.08);
}

/* Compteur */
.lb-counter {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(250,246,238,0.6);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  background: rgba(0,0,0,0.3);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Body lock */
body.lb-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 0.7rem; }
  .lb-next { right: 0.7rem; }
  .lb-close { top: 0.7rem; right: 0.7rem; width: 40px; height: 40px; }
  .lb-img { max-height: calc(100vh - 8rem); }
  .lb-counter { bottom: 0.8rem; font-size: 0.75rem; }
}

/* ====== REVEAL ANIMATION ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .hero-inner,
  .presentation-inner,
  .region-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 7rem; min-height: auto; }
  .hero-visual { height: 420px; margin-top: 1rem; }
  .hero-img-secondary { left: -20px; bottom: -20px; }
  .hero-sticker { width: 100px; height: 100px; font-size: 1rem; top: -10px; right: -10px; }
  .hero-sticker strong { font-size: 1.4rem; }

  .gallery-grid { grid-auto-rows: 140px; }
  .g-1 { grid-column: span 12; grid-row: span 3; }
  .g-2, .g-3 { grid-column: span 6; grid-row: span 2; }
  .g-4, .g-5, .g-6 { grid-column: span 4; grid-row: span 2; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .presentation-visual img:nth-child(2) { margin-top: 0; }
}

@media (max-width: 720px) {
  .nav-list { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-list.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem var(--gutter);
    gap: 1.2rem;
    border-bottom: 1px solid rgba(61,153,168,0.15);
  }

  .header-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .gallery-grid { grid-auto-rows: 120px; }
  .g-2, .g-3 { grid-column: span 12; grid-row: span 2; }
  .g-4, .g-5, .g-6 { grid-column: span 6; grid-row: span 2; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-auto-rows: 110px; gap: 0.6rem; }
  .g-4, .g-5, .g-6 { grid-column: span 12; }
}

/* Réduire le mouvement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-sticker { animation: none; }
}
