/* =========================
   STP EXPERIENCES — FULL WIDTH CSS
   (réécriture complète)
   ========================= */

/* ---------- Variables ---------- */
:root{
  --bg: #dcfce7;
  --bg2:#e0f7fa;
  --bg3:#fefce8;

  --surface: rgba(255,255,255,0.92);
  --surface-2: rgba(240,253,244,0.92);

  --accent: #16a34a;
  --accent-2: #22c55e;
  --accent-strong: #0f766e;

  --text: #064e3b;
  --text-muted:#4b5563;

  --border: rgba(16,185,129,0.28);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.18);

  /* padding interne (mais pas de marges externes) */
  --page-pad: clamp(14px, 2.6vw, 34px);

  --radius-xl: 1.25rem;
  --radius-lg: 1rem;
  --radius-md: 0.85rem;
}

/* ---------- Base ---------- */
html{
  scroll-behavior: smooth;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body{
  width: 100%;
  overflow-x: hidden;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;

  /* Fond global (si l'image n'existe pas, tu auras quand même le dégradé) */
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 40%, var(--bg3) 100%),
    url("assets/images/Praia Bombom.jpeg.jpg") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;

  animation: fadeInBody 0.7s ease-out;
}

@keyframes fadeInBody{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}

a{
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}
a:hover{ opacity: .95; }

img{
  max-width: 100%;
  display: block;
}

.muted{
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Header / Nav (FULL WIDTH) ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.94),
    rgba(255,255,255,0.82)
  );
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,185,129,0.22);
  transition: box-shadow .25s ease;
}
.site-header:hover{
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.nav{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.75rem var(--page-pad);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo{
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.logo span{ color: var(--accent); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.nav-links a{
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:0;
  border-radius:999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .22s ease;
}
.nav-links a:hover{
  color: var(--accent-strong);
}
.nav-links a:hover::after{
  width:100%;
}

/* Switch langue */
.lang-switcher{
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .3rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(15,118,110,.18);
  background: rgba(255,255,255,.65);
}
.lang-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: .82rem;
  font-weight: 700;
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--accent-strong);
  border: 1px solid transparent;

  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.lang-link:hover{
  background: rgba(187,247,208,0.6);
  border-color: rgba(34,197,94,0.35);
  transform: translateY(-1px);
}

/* ---------- Main (FULL WIDTH, pas de bloc centré) ---------- */
main{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  /* surface pleine largeur => pas d'espace vide sur les côtés */
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}

/* Sections : padding interne pour lisibilité */
section{
  width: 100%;
  padding: 3rem var(--page-pad);
}

h1,h2,h3{
  font-weight: 800;
}

h2{
  font-size: 1.85rem;
  margin-bottom: 1.15rem;
  color: var(--accent-strong);
  position: relative;
  display: inline-block;
}
h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-0.45rem;
  height:3px;
  width:55%;
  border-radius:999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-strong));
  opacity:.88;
}

.section-subtitle{
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.35rem;
}

/* ---------- HERO (FULL WIDTH) ---------- */
.hero {
  width: 100%;
  padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px);
  text-align: center;
  background-image:
    linear-gradient(
      150deg,
      rgba(0,0,0,0.25),
      rgba(15,118,110,0.15),
      rgba(0,0,0,0.15)
    ),
    url("assets/img/Praia Bombom.jpeg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: heroIn 0.9s ease-out;
}
@keyframes heroIn{
  from{ opacity:0; transform: translateY(14px) scale(.99); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.hero::after{
  content:"";
  position:absolute;
  left:-40%;
  right:-40%;
  bottom:-90px;
  height: 200px;
  background: radial-gradient(circle at bottom, rgba(45,212,191,0.55), transparent 70%);
  opacity: .6;
  pointer-events:none;
}
.hero{
  position: relative;
}
.hero > div{
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.hero-title{
  font-size: clamp(2.2rem, 4.8vw, 3.3rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #064e3b; /* text */
  margin: 0;
}
.hero-title span{
  color: #0f766e; /* accent strong */
  position: relative;
}

.hero-title span::after{
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.18em;
  height: 0.32em;
  border-radius: 999px;
  background: rgba(34,197,94,0.22);
  z-index: -1;
}


.hero-text{
  color: #e5e7eb;
  margin-bottom: 1.6rem;
  max-width: 70ch;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.badge{
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.35);
  font-size: 0.82rem;
  color: #e5e7eb;
  background: rgba(15,23,42,0.38);
  backdrop-filter: blur(6px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.badge.accent{
  background: rgba(22,163,74,0.62);
  border-color: rgba(34,197,94,0.9);
  color: #ecfdf5;
}
.badge:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.35);
  background: rgba(15,23,42,0.5);
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;

  font-size: 0.92rem;
  cursor: pointer;
  background: none;

  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}

.btn-primary{
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(22,163,74,0.65);
  box-shadow: 0 16px 34px rgba(22,163,74,0.38);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(22,163,74,0.46);
  filter: brightness(1.03);
}
.btn-primary:active{
  transform: translateY(0);
}

.btn-outline{
  color: #ecfdf5;
  background: rgba(15,23,42,0.30);
  border-color: rgba(248,250,252,0.78);
}
.btn-outline:hover{
  background: rgba(15,23,42,0.5);
  border-color: rgba(248,250,252,0.95);
}

.hero-tagline{
  font-size: 0.95rem;
  color: #d1fae5;
  max-width: 80ch;
}

/* ---------- Grilles / Cartes ---------- */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.circuits-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card{
  background: rgba(255,255,255,0.86);
  border-radius: var(--radius-xl);
  padding: 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(22, 101, 52, 0.10);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.card::before{
  content:"";
  position:absolute;
  inset:-40%;
  opacity:0;
  background: radial-gradient(circle at top left, rgba(34,197,94,0.18), transparent 55%);
  transition: opacity .25s ease;
  pointer-events:none;
}
.card:hover::before{ opacity:1; }
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15,23,42,0.16);
  border-color: rgba(34,197,94,0.5);
  background: rgba(255,255,255,0.93);
}

.card h3{
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  color: #065f46;
}
.card small{
  display:block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}
.card p{
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}
.card ul{
  list-style: none;
  font-size: 0.87rem;
  margin-top: 0.35rem;
}
.card ul li{ margin-bottom: 0.25rem; }

.price{
  font-weight: 800;
  color: #166534;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.card-cover{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 0.85rem;
  box-shadow: 0 14px 28px rgba(15,23,42,0.22);
  transition: transform .32s ease, box-shadow .32s ease;
}
.card:hover .card-cover{
  transform: scale(1.03);
  box-shadow: 0 20px 38px rgba(15,23,42,0.30);
}

.card-more-btn{
  margin-top: 0.2rem;
  margin-bottom: 0.55rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.5);
  background: #ecfdf5;
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.card-more-btn:hover{
  background: #bbf7d0;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(22,163,74,0.18);
}

/* photos supplémentaires */
.extra-photos{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);

  transition: max-height .45s ease, opacity .35s ease, transform .35s ease;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.45rem;

  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
}
.extra-photos.open{
  max-height: 700px;
  opacity: 1;
  transform: translateY(0);
}
.extra-photos img{
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 10px 18px rgba(15,23,42,0.22);
}

/* Guides */
.guide-header{
  display:flex;
  align-items:center;
  gap: 5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}
.guide-avatar{
  width: 90px;
  height: 100px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(34,197,94,0.6);
  box-shadow: 0 10px 20px rgba(22,101,52,0.30);
  transition: transform .2s ease, box-shadow .2s ease;
}
.guide-header:hover .guide-avatar{
  transform: scale(1.10);
  box-shadow: 0 16px 26px rgba(22,101,52,0.42);
}

.tag-list{
  display:flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 0.55rem;
  font-size: 0.78rem;
}
.tag{
  padding: .22rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  color: var(--text-muted);
  background: #f9fafb;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.tag:hover{
  background: #dcfce7;
  border-color: rgba(34,197,94,0.7);
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(15,23,42,0.10);
}

/* ---------- Contact / Form ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 1.6rem;
}

.contact-item{
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

form{
  display:grid;
  gap: 0.95rem;
}

label{
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  display:block;
}

input, select, textarea{
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(255,255,255,0.86);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .1s ease;
}

textarea{
  min-height: 120px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34,197,94,0.22);
  background: #f9fffb;
  transform: translateY(-1px);
}

/* ---------- Footer (FULL WIDTH) ---------- */
footer{
  width:100%;
  padding: 1.4rem var(--page-pad);
  text-align:center;
  font-size: 0.85rem;
  color: var(--text-muted);

  background: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(148,163,184,0.28);
  backdrop-filter: blur(10px);
}

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}
.lightbox.open{
  display:flex;
  animation: lightboxFade .22s ease-out;
}
@keyframes lightboxFade{
  from{ opacity:0; }
  to{ opacity:1; }
}

.lightbox-inner{
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  background: #020617;
  border-radius: 1rem;
  padding: 0.75rem 0.75rem 1.1rem;
  box-shadow: 0 28px 70px rgba(15,23,42,0.9);
}
.lightbox-image{
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.8rem;
}
.lightbox-caption{
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-align:center;
}
.lightbox-close{
  position:absolute;
  top: .35rem;
  right: .35rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15,23,42,0.85);
  color: #f9fafb;
  font-size: 1.15rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.lightbox-close:hover{
  background: rgba(248,250,252,0.92);
  color: #0f172a;
  transform: scale(1.04);
}
.zoomable{ cursor: zoom-in; }

/* ---------- Vidéo ---------- */
.video-wrapper{
  margin-top: 0.85rem;
  border-radius: 1rem;
  overflow:hidden;
  box-shadow: 0 14px 28px rgba(15,23,42,0.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-wrapper video{
  width: 100%;
  display:block;
}
.video-wrapper:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15,23,42,0.28);
}

/* ---------- Section spécifique (si utilisée) ---------- */
#soiree-capoeira .cards-grid{
  display:flex;
  justify-content:center;
}
#soiree-capoeira .card{
  max-width: 420px;
  width: min(640px, 100%);
}
#soiree-capoeira .card-cover{
  height: 180px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero{
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2.4rem var(--page-pad);
  }

  .contact-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .nav{
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }

  section{
    padding: 2.4rem var(--page-pad);
  }

  .card{
    padding: 1.15rem;
  }

  .guide-avatar{
    width: 84px;
    height: 84px;
  }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
