/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --bg:         #040e18;
  --bg2:        #071827;
  --card:       rgba(255,255,255,0.07);
  --card-hover: rgba(255,255,255,0.13);
  --border:     rgba(255,255,255,0.15);
  --text:       #eef5fc;
  --muted:      #96c1dc;
  --accent:     #00d4ff;
  --accent2:    #00f7c3;
  --cta:        linear-gradient(120deg, #00d4ff 0%, #00f7c3 100%);
  --shadow:     0 20px 60px rgba(0,0,0,0.5);
  --radius:     1.2rem;
  --nav-h:      72px;
  --font-body:  'Inter', sans-serif;
  --font-head:  'Playfair Display', serif;
  --sail-opacity-home: 0.16;
  --sail-opacity-sections: 0.16;
  --sail-size: 1200px auto;
  --sail-position: center;
  --sail-overlay-gradient: linear-gradient(rgba(4, 14, 24, 0.66), rgba(4, 14, 24, 0.66));
  --hero-band-top: 170px;
  --hero-band-bottom: 170px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.container { width: min(1160px, 92%); margin-inline: auto; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}

.topbar.scrolled {
  background: rgba(4, 14, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: flex-start;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.brand strong { color: var(--accent); }
.brand-icon { font-size: 1.5rem; color: var(--accent); }

.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  padding-top: 1.1rem;
}

.brand-main {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
}

.brand-name {
  line-height: 1.05;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  padding: .5rem .85rem;
  border-radius: .6rem;
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.08); }
.nav-link i { margin-right: .3rem; font-size: .82rem; }

.nav-cta { margin-left: .5rem; }

/* =============================================
   NAV DROPDOWN
   ============================================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.nav-chevron {
  font-size: .65rem;
  transition: transform .25s;
}

.nav-dropdown.open .nav-chevron,
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(4,14,24,.97);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  z-index: 1100;
  overflow: hidden;
  list-style: none;
  padding: .4rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1.1rem;
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { color: var(--text); background: rgba(255,255,255,.08); }
.nav-dropdown-item i { font-size: .82rem; color: var(--accent); width: 14px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-primary {
  background: var(--cta);
  color: #001a2c;
  box-shadow: 0 4px 20px rgba(0,212,255,.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, #0a2336 0%, #040b12 48%, #02060a 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: var(--hero-band-top) 0 var(--hero-band-bottom) 0;
  background-image: url('/assets/images/voile-01.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: var(--hero-band-top) 0 var(--hero-band-bottom) 0;
  background: linear-gradient(
    105deg,
    rgba(4, 14, 24, 0.88) 0%,
    rgba(10, 50, 80, 0.70) 50%,
    rgba(4, 14, 24, 0.30) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 8rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent2);
  background: rgba(0,247,195,.12);
  border: 1px solid rgba(0,247,195,.3);
  border-radius: 99px;
  padding: .4rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.13;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-partner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 1rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.hero-partner-logo {
  width: 74px;
  height: auto;
  display: block;
  border-radius: .35rem;
  background: rgba(255,255,255,.9);
  padding: .25rem;
}

.hero-partner-text {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.hero-partner-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent2);
  font-weight: 700;
}

.hero-partner-text strong {
  font-size: .95rem;
  line-height: 1.25;
}

.topbar .hero-partner {
  align-self: flex-start;
  gap: .55rem;
  padding: .24rem .5rem;
  border-radius: .7rem;
  background: rgba(255,255,255,.05);
  box-shadow: none;
  margin-left: 0;
}

.topbar .hero-partner-logo {
  width: 30px;
  padding: .15rem;
}

.topbar .hero-partner-label {
  font-size: .55rem;
}

.topbar .hero-partner-text strong {
  font-size: .68rem;
  line-height: 1.15;
}

.hero-partner-bottom {
  position: absolute;
  right: 6%;
  bottom: 96px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.hero-partner-duo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1rem;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-usm-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: .35rem;
  background: rgba(255,255,255,.9);
  padding: .2rem .3rem;
}

.hero-partner-sep {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.25);
}

/* Floating glass card */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.15);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-card h3 { font-size: 1.1rem; margin-bottom: 1.2rem; color: var(--accent2); }
.hero-stat-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero-stat strong { display: block; font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.hero-stat small { font-size: .78rem; color: var(--muted); }
.hero-card-info {
  background: rgba(255,255,255,.06);
  border-radius: .8rem;
  padding: .8rem 1rem;
  font-size: .88rem;
  color: var(--muted);
}
.hero-card-info strong { color: var(--text); display: block; margin-bottom: .2rem; }

/* SVG waves */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}
.hero-waves svg { display: block; }
.wave { animation: wave-anim 10s cubic-bezier(.55,.5,.45,.5) infinite; }
.wave:nth-of-type(2) { animation-direction: reverse; animation-duration: 12s; opacity: .8; }
@keyframes wave-anim {
  0%   { transform: translateX(0) translateZ(0) scaleY(1); }
  50%  { transform: translateX(-25%) translateZ(0) scaleY(0.5); }
  100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
  background: linear-gradient(90deg, rgba(0,212,255,.12) 0%, rgba(0,247,195,.07) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2.4rem; font-weight: 900; color: var(--accent); }
.stat-item span { font-size: .85rem; color: var(--muted); }

/* =============================================
   PHOTO BAND
   ============================================= */
.photo-band { width: 100%; }
.photo-band-img {
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4, 14, 24, 0.88) 0%,
    rgba(10, 50, 80, 0.70) 50%,
    rgba(4, 14, 24, 0.30) 100%
  );
  display: flex;
  align-items: center;
  width: 100%;
}
.photo-band-content {
  max-width: 640px;
  padding: 3rem 0;
}
.photo-band-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent2);
  background: rgba(0,247,195,.12);
  border: 1px solid rgba(0,247,195,.3);
  border-radius: 99px;
  padding: .35rem .9rem;
  margin-bottom: 1.2rem;
}
.photo-band-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.photo-band-title em { font-style: italic; color: var(--accent); }
.photo-band-lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 52ch;
}

@media (max-width: 768px) {
  .photo-band-img { background-attachment: scroll; min-height: 420px; }
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section { padding: 5rem 0; }
.section-tag {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent2);
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-lead { color: var(--muted); max-width: 60ch; line-height: 1.7; margin-bottom: 2.5rem; }

/* =============================================
   SAIL OVERLAY (TRANSPARENCE GLOBALE)
   ============================================= */
.section,
.stats-band,
.page-hero,
.cta-band {
  position: relative;
  overflow: hidden;
}

.section::after,
.stats-band::after,
.page-hero::after,
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    var(--sail-overlay-gradient),
    url('/assets/images/voile-01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--sail-opacity-sections);
  pointer-events: none;
  z-index: 0;
}

.section > *,
.stats-band > *,
.page-hero > *,
.cta-band > * {
  position: relative;
  z-index: 1;
}

/* =============================================
   ACTIVITY CARDS
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.act-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background .3s, transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.act-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.act-card:hover::before { transform: scaleX(1); }
.act-card:hover {
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.act-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  background: rgba(0,212,255,.12);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .8rem;
}
.act-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.act-card p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* =============================================
   AGENDA / TIMELINE
   ============================================= */
.timeline-list { display: flex; flex-direction: column; gap: 1rem; }
.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.2rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: background .25s, transform .25s;
}
.tl-item:hover { background: var(--card-hover); transform: translateX(4px); }
.tl-date {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
}
.tl-date strong { display: block; font-size: 1.8rem; color: var(--accent); line-height: 1; }
.tl-body h4 { font-size: 1rem; margin-bottom: .25rem; }
.tl-body p { color: var(--muted); font-size: .88rem; }
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .6rem;
  border-radius: 99px;
  border: 1px solid;
  margin-bottom: .4rem;
}
.badge-regate { color: var(--accent); border-color: var(--accent); background: rgba(0,212,255,.1); }
.badge-cours { color: var(--accent2); border-color: var(--accent2); background: rgba(0,247,195,.1); }
.badge-evenement { color: #f0b429; border-color: #f0b429; background: rgba(240,180,41,.1); }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, #072030 0%, #0a3a58 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 4rem 3rem;
  text-align: center;
  margin: 0 auto 5rem;
  max-width: min(800px, 92%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,.12) 0%, transparent 60%);
}
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.cta-band p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-block i { font-size: 1.3rem; color: var(--accent); margin-top: .1rem; }
.info-block h4 { font-size: .9rem; margin-bottom: .25rem; color: var(--accent2); }
.info-block p { color: var(--muted); font-size: .9rem; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .83rem; color: var(--muted); font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: .7rem;
  color: var(--text);
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color .25s, background .25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); background: rgba(0,212,255,.06); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: #0a1e2e; }

/* =============================================
   ACTIVITIES PAGE
   ============================================= */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  background: radial-gradient(ellipse at 60% 0%, rgba(0,100,140,.4) 0%, transparent 60%);
  margin-bottom: 2rem;
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem,4vw,3rem); margin-bottom: .6rem; }
.page-hero p { color: var(--muted); max-width: 60ch; line-height: 1.7; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.price-card-head h3 {
  font-size: 1.1rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .7rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent2);
  background: rgba(0,247,195,.12);
  border: 1px solid rgba(0,247,195,.24);
}

.price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 1rem;
}

.price-amount small {
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  color: var(--muted);
  font-size: .92rem;
}

.price-list li {
  position: relative;
  padding-left: 1.2rem;
}

.price-list li::before {
  content: '';
  position: absolute;
  top: .48rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent2);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  width: 100%;
  transition: transform .3s, box-shadow .3s;
}

.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  color: #fff;
  font-size: 1.8rem;
}

.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  margin-bottom: 2rem;
}

.gallery-instagram {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(120deg, rgba(131,58,180,.18) 0%, rgba(193,53,132,.14) 50%, rgba(253,29,29,.1) 100%);
  border: 1px solid rgba(193,53,132,.3);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-top: 2rem;
}

.gallery-instagram .fa-instagram {
  font-size: 2.4rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.gallery-instagram > div { flex: 1; }
.gallery-instagram strong { display: block; margin-bottom: .25rem; }
.gallery-instagram p { color: var(--muted); font-size: .9rem; margin: 0; }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,6,10,.96);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: .8rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.8);
}

.lightbox-counter {
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .08em;
}

.lightbox-close {
  position: fixed;
  top: 1.2rem; right: 1.2rem;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid var(--border);
  color: var(--text);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 9001;
}
.lightbox-nav:hover { background: rgba(0,212,255,.25); border-color: var(--accent); color: var(--accent); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* VIDEOS */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-title {
  padding: .8rem 1rem;
  font-size: .9rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-instagram { flex-direction: column; text-align: center; }
  .lightbox-prev { left: .3rem; }
  .lightbox-next { right: .3rem; }
  .videos-grid { grid-template-columns: 1fr; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: rgba(0,0,0,.45);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--accent); margin-bottom: .6rem; }
.footer-desc { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.footer h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .8rem; }
.footer ul li { margin-bottom: .5rem; }
.footer ul a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer p { color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
.footer p i { margin-right: .4rem; color: var(--accent); }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
}
.socials a:hover { background: var(--accent); color: #001a2c; border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  color: var(--muted);
  font-size: .82rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(4,14,24,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: .5rem;
    z-index: 999;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-link { width: 100%; padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-cta { width: 100%; justify-content: center; margin-left: 0; margin-top: .5rem; }
  .burger { display: flex; }
  .hero-content { grid-template-columns: 1fr; padding-bottom: 10rem; }
  .hero-card { display: none; }
  .topbar .hero-partner { display: none; }
  .hero-partner-bottom {
    right: 50%;
    transform: translateX(50%);
    bottom: 82px;
    justify-content: center;
  }
  .brand-main { gap: .5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; padding: .9rem 1rem; font-size: 1.05rem; justify-content: flex-start; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.04);
    border-radius: .6rem;
    margin: .2rem 0 .4rem .5rem;
    padding: .2rem 0;
  }
  .nav-dropdown-item { padding: .7rem 1.2rem; font-size: 1rem; }
}

@media (max-width: 600px) {
  :root {
    --hero-band-top: 135px;
    --hero-band-bottom: 135px;
  }
  .brand-logo { height: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.5rem 1.5rem; }
}




