/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'League Spartan', sans-serif;
    color: var(--grey-dark);
    overflow-x: hidden;
    background: white;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Variables de couleurs */
:root {
    /* Couleurs principales */
    --yellow: rgb(255, 255, 0);
    --grey-dark: rgb(125, 125, 125);
    --grey-medium: rgb(215, 215, 215);
    --grey-light: rgb(235, 235, 235);
    --grey-soft: rgba(215, 215, 215, 0.6);
    --green-dark: rgb(56, 87, 35);
    --green-dark-50: rgb(28, 44, 18);
    --green-dark-75: rgb(14, 22, 9);
    --green: rgb(105, 155, 0);
    --green-light: rgb(155, 205, 0);
    --blue: rgb(125, 165, 165);
    --red: rgb(255, 0, 0);
    
    /* Couleurs dérivées pour compatibilité */
    --green-primary: var(--green);
    --yellow-primary: var(--yellow);
    --yellow-dark: rgb(204, 204, 0);
    --yellow-light: rgb(255, 255, 102);
    --text-dark: var(--grey-dark);
    --text-light: var(--grey-medium);
    --white: #FFFFFF;
}

/* Navigation */
.navbar {
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 100%;
    width: auto;
    max-width:25rem;
    object-fit: contain;
}



/* Anciens styles de logo textuel - commentés pour référence */
/*
.logo-text h2 {
    margin: 0;
    font-size: 2.33vw;
    font-weight: 600;
    color: var(--green-primary);
}

.logo-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px;
}

.fish-icon {
    font-size: 2.33vw;
    color: var(--yellow-primary);
    margin-bottom: 5px;
}

.emblem-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.emblem-top {
    font-size: 2.33vw;
    font-weight: 600;
    color: var(--green-primary);
    margin-bottom: 2px;
}

.emblem-bottom {
    font-size: 1.08vw;
    font-weight: 500;
    color: var(--yellow-primary);
    margin-bottom: 5px;
}

.emblem-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5vw;
    color: var(--text-secondary);
}
*/

.emblem-top {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.emblem-bottom {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.emblem-details {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 1.08vw;
    color: var(--green-dark);
    filter: contrast(1.2) brightness(0.9);
}

.emblem-details span {
    display: block;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;    
    align-items: flex-start;
    bottom: 0;
    left: 50%;
    position: absolute;
}

.nav-gauche {
    display: flex;
    flex-direction: column;
    list-style: none;    
    align-items: flex-start;
}
.nav-gauche ul{
    list-style: none;
    line-height: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--green-light);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
    font-size: 1.92vw;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--green-light);
    border-radius: 50%;
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    color: var(--grey-medium);
    font-size: 1.92vw;
    opacity: 0.3;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}
.nav-textg{
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
    font-size: 1.75vw;
    text-transform: uppercase;
    position: relative;
}

.nav-text {
    color: var(--green-light);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
    font-size: 1.75vw;
    text-transform: uppercase;
    position: relative;
}

.nav-text::after {
    content: 'HAUTE SAVOIE / SAVOIE';
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    color: var(--grey-medium);
    font-size: 1.75vw;
    opacity: 0.3;
    white-space: nowrap;
}

.nav-separator {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
    font-size: 2.33vw;
    margin: 0.1.5rem 0;
}

.nav-contact {
    margin-left: auto;
}

.contact-link {
    text-decoration: none;
    color: var(--blue);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
    font-size: 2.33vw;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.1rem 1.5rem;
    border: 5px solid var(--blue);
    transition: all 0.3s ease;
    transform: rotate(15deg);
    display: inline-block;
}

.contact-link:hover {
    background: var(--blue);
    color: white;
    transform: rotate(1deg) scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Animation hamburger vers croix */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Slider au-dessus - fixe */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 1.5rem 2rem;
    /*background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);*/
}

.slide-content h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.33vw;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    text-transform: uppercase;
}

.slide-content p {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.33vw;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-textvh{
    width:100%;
    margin:1.5rem auto 0 auto;
  }
  .img-full-width{
    width: 100%;
  }

  /* Scène proportionnelle : positions en % = responsive */
  .stage{
    position:relative;
    width:100%;
    aspect-ratio:1518/332;   /* même ratio que l'image fournie */
    overflow:visible;
  }

  .t{
    position:absolute;
    font-weight:800;
    margin:0;
    white-space:nowrap;
    /* Taille fluide : plafonnée sur desktop, grosse sur mobile */
    font-size:clamp(1.33vw, 6vw, 6.85vw);
  }

  /* Couches arrière (gros mots) */
  .bg1{ left:7%;  top:50%; transform:translateY(-50%); color:var(--grey-soft); font-size:clamp(2.48vw, 11vw, 8.94vw); }
  .bg2{ left:29%; top:42%; transform:translateY(-50%); color:var(--grey-soft); font-size:clamp(2.48vw, 11vw, 8.94vw); }
  .bg3{ left:39%; top:46%; transform:translateY(-50%); color:var(--yellow);   font-size:clamp(2.48vw, 11vw, 8.94vw); }

  /* Avant-plan */
  .sorties { left:1.5%; top:10%; color:var(--green);      font-size:clamp(1.85vw, 7vw, 5.81vw); }
  .ecosys  { right:3%;  top:11%; color:var(--green);      font-size:clamp(1.54vw, 5vw, 4.25vw); text-align:right; }
  .atelier { left:2%;   top:65%; color:var(--green-dark); font-size:clamp(1.44vw, 4vw, 2.9vw); }
  .prog    { left:43%;  top:65%; color:var(--grey);       font-size:clamp(1.44vw, 4vw, 2.9vw); }
  .center  { left:50%;  bottom:2%; transform:translateX(-50%); color:var(--green); font-size:clamp(2.06vw, 8vw, 6.85vw); letter-spacing:.02em; }

  /* Mobile : empilement propre (on vire l'absolu) */
  @media (max-width:640px){
    .stage{aspect-ratio:auto; padding-block:8px;}
    .t{ position:static; transform:none !important; display:block; text-align:center; margin:.2em 0; }
    .bg1,.bg2,.bg3{ order:1; opacity:.35; font-size:clamp(2.06vw,12vw,3.94vw); }
    .sorties{ order:0; font-size:clamp(1.75vw,10vw,2.79vw); }
    .ecosys{ order:2; font-size:clamp(1.54vw,8vw,2.48vw); }
    .atelier,.prog{ order:3; font-size:clamp(1.44vw,6.5vw,2.17vw); }
    .center{ order:4; font-size:clamp(1.85vw,11vw,3.1vw); }
    .stage{ display:flex; flex-direction:column; align-items:center; }
  }

/* Bloc vert avec titres en dessous */
.hero-content {
    padding: 2rem 0;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-titles {
    margin-bottom: 1.5rem;
    position: relative;
}

.title-layered {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.title-background {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--grey-medium);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.75vw, 5vw, 4vw);
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
    opacity: 0.6;
}

.title-main {
    position: relative;
    color: var(--green);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.33vw, 4vw, 3.58vw);
    font-weight: bold;
    text-transform: uppercase;
    z-index: 3;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.title-accent {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--yellow);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.17vw, 3.5vw, 3vw);
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    margin-right: 1.5rem;
}

.title-top-right {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--green-light);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.92vw, 3vw, 2.5vw);
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
    margin-right: 2rem;
    margin-top: 0.5rem;
}

.title-secondary {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

.title-left {
    color: var(--green);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.67vw, 2.5vw, 2.17vw);
    font-weight: bold;
    text-transform: uppercase;
}

.title-right {
    color: var(--grey-medium);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.67vw, 2.5vw, 2.17vw);
    font-weight: bold;
    text-transform: uppercase;
}

.title-center {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.title-center-main {
    color: var(--green-light);
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.17vw, 3.5vw, 2.75vw);
    font-weight: bold;
    text-transform: uppercase;
}

.hero-bar {
    background: var(--green-light);
    padding:5px 0 0 0;
    margin: 1.5rem 0 0 0;
    animation: slideInFromTop 1s ease-out 1s both;
}

.hero-bar h2 {
    color: var(--green-dark);    
    font-family: 'League Spartan', sans-serif;
    font-size: 4vw;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.hero-themes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: slideInFromTop 1s ease-out 1.2s both;
    margin-top: 0.5rem;
}

.theme {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
    font-size: 2.33vw;
    text-transform: uppercase;
}

.theme:nth-child(1) {
    color: var(--green-dark);
}

.theme:nth-child(2) {
    color: var(--grey-light);
}

.theme:nth-child(3) {
    color: var(--grey-medium);
}

/* Introduction Section */
.introduction {
    padding:1.5rem 10px;
    background: linear-gradient(to bottom, white 50%, #bdd290 4%);
    min-height: 50px;
    position: relative;
    overflow: hidden;
}
.programme-bg{
    background: linear-gradient(to bottom, white 50%, #bdd290 4%);
}

.introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.introduction .container {
    position: relative;
    z-index: 2;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text p {
    font-family: 'League Spartan', sans-serif;
    font-size: 2vw;
    color: var(--green-dark);
    font-weight: 500;
}

.intro-text strong {
    color: var(--green-primary);
    font-weight: 600;
}

.intro-image {
    display: flex;
    justify-content: left;
    align-items: center;
}

.leaf-icon {
    width: 100px;
    height: 100px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.17vw;
}

/* Publics Section */
.publics {
    padding: 1.5rem 0;
    position: relative;
}

/* Nouveau style pour le texte simple avec listes */
.publics-text-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.publics-list-left,
.publics-list-right {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    width: 100%;
}

.publics-list-left li,
.publics-list-right li {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 1.6vw;
    font-weight: 500;
    text-align: left;
    list-style: disc;
    list-style-position: inside;
}

.publics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.publics .container {
    position: relative;
    z-index: 2;
}

.publics-header {
    text-align: center;
    margin-bottom: 3rem;
}

.publics-header h2 {
    background: var(--yellow-primary);
    color: var(--text-dark);
    padding: 1.5rem 2rem;
    display: inline-block;
    border-radius: 8px;
    font-size: 1.92vw;
    font-weight: 700;
}

.publics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.public-item {
    background: var(--green);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.public-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.public-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.public-item:hover::before {
    left: 100%;
}

.public-item h3 {
    color: white;
    font-family: 'League Spartan', sans-serif;
    font-size: 2.33vw;
    font-weight: bold;
    text-transform: uppercase;
}

.publics-image {
    margin-top: 2rem;
    text-align: center;
    position: relative;
}

.public-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 1.5rem 1.5rem 0px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}
.public-image-pedago {
    max-width: 100%;
    opacity: 1;
}

.public-image::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    filter: blur(12px);
    z-index: -1;
    transform: rotate(3deg);
}

.publics-text {
    margin-top: 3rem;
    text-align: justify;
}

.publics-text p {
    margin-bottom: 1rem;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.6vw;
    color: var(--green-dark);
    font-weight: normal;
}

/* Activités Section */
.activites {
    padding: 1rem 0;
}

/* Styles pour le texte de sorties remplaçant l'image textesortie.png */
.sorties-text-container {
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.sorties-text-layered {
    position: relative;
    width: 100%;
    height: 100%;
}

/* MATERNELLES, PRIMAIRES, COLLÈGES ... - Vert foncé, en haut à gauche */
.sorties-text-1 {    
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 5vw;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    width: 100%;
}

.sorties-text-7 {    
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 4vw;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    text-align: right;
    width: 100%;
}
/* CENTRES DE LOISIRS - Gris moyen/foncé, très grande, chevauchant */
.sorties-text-2 {
    color: var(--grey-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 7vw;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    width: 100%;
}

/* FAMILLES & PARTICULIERS - Bleu-vert/turquoise, sous CENTRES DE LOISIRS */
.sorties-text-3 {
    color: var(--blue);
    font-family: 'League Spartan', sans-serif;
    font-size: 3vw;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    width: 100%;
    padding-left: 3%;
}
.sorties-text-8 {
    color: var(--grey-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 5vw;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    width: 100%;
    text-align: right;
}
/* SENIORS - Gris très clair, très grande, en arrière-plan à droite */
.sorties-text-4 {
    color: var(--grey-light);
    font-family: 'League Spartan', sans-serif;
    font-size: 8vw;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.8;
    position: absolute;
    top: 25vh;
    right: 3%;
    text-align: right;
}

/* JEUNESSE ET SPORTS - Vert vif/lime, très grande, central et proéminent */
.sorties-text-5 {
    color: var(--green-light);
    font-family: 'League Spartan', sans-serif;
    font-size: 8vw;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    width: 100%;
    text-align: right;
    padding-right: 3%;
}

/* STRUCTURES SPÉCIALISÉES - Vert foncé, en bas à gauche */
.sorties-text-6 {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 3vw;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    float: left;
    width: 100%;
}

.sorties-text-9 {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 3vw;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    float: left;
    text-align: right;
    width: 100%;
}

/* Bandeau jaune pour PUBLICS */
.activites-banner {
    background: var(--yellow);
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 1.5rem 1.5rem 0px rgba(255, 255, 0, 0.4);
}

.activites-banner h2 {
    color: var(--grey-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 5vw;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
}

/* Bloc de contenu des activités */
.activites-content-block {
    margin: 6rem 0;
    padding: 0 10rem;
}

.activites-title {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 2.33vw;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}

.activites-themes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activites-themes-list li {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 1.4vw;
    padding-left: 1.5rem;
    position: relative;
    line-height: 2.5vh;
}

.activites-themes-list li::before {
    content: '■';
    color: var(--green-dark);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2.33vw;
}

.activites-themes-list li strong {
    color: var(--green-dark);
    font-weight: bold;
}

.activites-header {
    text-align: center;
    margin-bottom: 3rem;
}

.activites-header h2 {
    color: var(--green-primary);
    font-size: 2.33vw;
    font-weight: 700;
}

.activites-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activite-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--green-primary);
}

.activite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.activite-item i {
    font-size: 2.7rem;
    color: var(--green-primary);
    margin-bottom: 1.5rem;
}

.activite-item h3 {
    color: var(--text-dark);
    font-size: 2.33vw;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.activite-item p {
    color: var(--text-light);
    font-size: 1.1.5rem;
}

/* Pédagogies Section */

/* Bloc de contenu des pédagogies */
.pedagogies {
    background-image: url('img/logo-bgfond.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}
.pedagogies-content-block {
    padding: 1.5rem;
    margin: 2rem 0;
}

.pedagogies-text-block {
    margin-bottom: 2rem;
}

.pedagogies-text-block:last-child {
    margin-bottom: 0;
}

.pedagogies-activities {
    margin: 2rem 0;
}

.pedagogies-title h2 {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 3.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    padding-left: 10%;
}

.pedagogies-activities h3 {
    color: var(--green);
    font-family: 'League Spartan', sans-serif;
    font-size: 5vw;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.pedagogies-keywords {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.keywords-left {
    color: #a6a6a6;
    font-family: 'League Spartan', sans-serif;
    font-size: 2.5vw;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}

.keywords-right {
    color: #7f7f7f;
    font-family: 'League Spartan', sans-serif;
    font-size: 2.5vw;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
}

.pedagogies-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pedagogies-header h2 {
    background: var(--yellow-primary);
    color: var(--text-dark);
    padding: 1.5rem 2rem;
    display: inline-block;
    border-radius: 8px;
    font-size: 1.75vw;
    font-weight: 700;
}

.pedagogies-content {
    text-align: center;
}

.activites-types h3 {
    color: var(--green-primary);
    font-size: 2.33vw;
    font-weight: 600;
    margin-bottom: 2rem;
}

.keywords {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.keywords span {
    background: var(--green-light);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1.5rem;
}

/* Programmes Section */
.programmes {
    padding: 0;
    position: relative;
}

.programmes .container {
    position: relative;
    z-index: 2;
}

.programmes-header {
    background: var(--green-light);
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 1.5rem 1.5rem 0px rgba(189,210,144, 0.4);
}

.programmes-header h2 {
    background: var(--green-light);
    color: white;
    padding: 1.5rem 2rem;
    display: inline-block;
    width: 100%;
    font-size: 4vw;
    font-weight: bold;
    font-family: 'League Spartan', sans-serif;
}

.programme-section {
    margin-bottom: 2rem;
}
.programme-sectiondeux{
    margin: 2rem 0;
}
.programme-imageavectext{
    height: auto;
    object-fit: cover;
    margin: 0rem;
    width: 100%;
}
.textimg{
    text-align: left;
    font-size: 1.7vw;
    font-weight: bold;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
    padding:0 10%;
    aspect-ratio:auto;
}
.programme-sectionbgbas {
border-bottom: none; /* Aucune vraie bordure */
    background: linear-gradient(
        to right, 
        var(--green-light), 
        var(--green), 
        var(--green-dark)
    );
    background-repeat: no-repeat;
    background-size: 100% 20px; /* Largeur 100%, épaisseur 4px */
    background-position: bottom left; /* Placé en bas */
    padding-bottom: 20px;;
}

.section-title {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 3vw;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: left;
    text-transform: uppercase;
}

.programme-card h4 {
    color: var(--green-light);
    font-family: 'League Spartan', sans-serif;
    font-size: 2.8vw;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: left;
    text-transform: uppercase;
}

.programme-content {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 2rem;
    align-items: start;
    margin: 4rem 0;
}

.programme-text p {
    color: var(--green-dark);
    font-size: 2vw;
}

.programme-text ul {
    padding-left: 2vw;
}

.programme-text li {
    color: var(--green-dark);
    font-size: 2vw;
}

.programme-text strong {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-weight: bold;
}

.programme-images {
    display: flex;
    flex-direction: column;
}

.image-placeholder {
    width: 100px;
    height: 100px;
    background: var(--green-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.33vw;
    margin: 0 auto;
}

.programme-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    margin: 0rem;
}


/* Contact Section */
.contact {
    padding:0 0 2rem 0;
    position: relative;
}

/* Contact Header */
.contact-header {
    background-color: var(--green-dark);
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    color: white;
    font-family: 'League Spartan', sans-serif;
    font-size: 3.17vw;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-person h3 {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 2.5vw;
    font-weight: bold;
    text-transform: uppercase;
}

.contact-person p {
    color: var(--green-dark);
    margin-bottom: 0.2rem;
    font-size: 2vw;
}
.contact-details{
    text-align: center;
}
.contact-details h4 {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 1.5vw;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.contact-details p {
    color: var(--green-dark);
    margin-bottom: 0.2rem;
    font-size: 1.5vw;
}

.contact-details a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--green);
    color: white;
    text-decoration: none;
    font-size: 1.92vw;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.social-links a:hover {
    background: var(--yellow);
    color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Contact Graphics */
.contact-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-fish-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-fish-image {
    width: 275px;
    height: auto;
}

/* Anciens styles des fishing-lure - commentés pour référence */
/*
.fishing-lure {
    width: 60px;
    height: 20px;
    border-radius: 10px;
    margin: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.fishing-lure.yellow {
    background: var(--yellow-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fishing-lure.red {
    background: #e74c3c;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fishing-lure:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
*/

.contact-footer {
    text-align: center;
    padding-top: 4rem;
}

.goodbye {
    color: var(--green-dark);
    font-family: 'League Spartan', sans-serif;
    font-size: 1.5vw;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
    background-color: #9bcd00;
    padding: 5px 25px 5px 0;
}

.copyright {
    color: var(--text-light);
    font-size: 1.5vw;
    text-align: center;
    margin-top: 10px;
    color:#9bcd00;;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar {
        height: 80px;
        max-height: 80px;
        padding: 1rem 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .nav-container {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    /* Masquer les éléments de navigation desktop */
    .nav-gauche {
        display: none;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
        overflow-y: auto;
        transform: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 1rem 2rem;
    }

    .nav-link {
        font-size: 18px;
        padding: 1rem 0rem;
        color: var(--green);
        text-decoration: none;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-text {
        font-size: 16px;
        color: var(--green);
        margin: 1rem 0;
    }

    .nav-text::after {
        display: none;
    }

    .nav-separator {
        font-size: 20px;
        color: var(--green);
        margin: 1rem 0;
    }

    .nav-contact {
        margin-left: 0;
    }

    .contact-link {
        transform: rotate(0deg);
        font-size: 15px;
        padding: 0.1rem 0.5rem;
        border-width: 3px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-link:hover {
        transform: rotate(0deg) scale(1.05);
    }

    .logo-container {
        flex-direction: row;
        gap: 0;
    }

    .logo-image {
        height: 50px;
        max-width: 200px;
    }

    .logo-text h2 {
        font-size: 2.33vw;
    }

    .logo-emblem {
        width: 60px;
        height: 60px;
    }

    .fish-icon {
        width: 30px;
        height: 30px;
        font-size: 2.33vw;
    }

    .emblem-text {
        font-size: 0.5rem;
    }

    .emblem-details {
        font-size: 0.4rem;
        bottom: -20px;
    }

    .title-layered {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .title-background {
        font-size: 2.7rem;
        position: relative;
        margin-bottom: 0.5rem;
    }

    .title-main {
        font-size: 2.33vw;
        margin: 0;
        margin-bottom: 0.5rem;
    }

    .title-accent {
        font-size: 2.33vw;
        position: relative;
        margin: 0;
        margin-bottom: 0.5rem;
    }

    .title-top-right {
        font-size: 1.92vw;
        position: relative;
        margin: 0;
    }

    .title-secondary {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .title-left, .title-right {
        font-size: 2.33vw;
    }

    .title-center-main {
        font-size: 2.33vw;
    }
    .hero {
        min-height: auto;
        margin-top: 80px; /* Espace pour la navbar fixe */
    }

    .hero-slider {
        width: 100%;
        height: 50vh;
        min-height: 300px;
        margin-top: 0;
    }

    .slide-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-bar {
        padding: 0.5rem 1.5rem;
        margin: 0.5rem 0;
    }

    .hero-bar h2 {
        font-size: 24px;
        text-align: center;
    }

    .hero-themes {
        flex-direction: column;
        gap: 0rem;
        text-align: center;
        margin-top: 1rem;
    }

    .theme {
        font-size: 18px;
        padding: 0.5rem 0;
    }

    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .intro-text p {
        font-size: 18px;
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .publics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .publics-text-simple {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        padding: 0 1rem;
    }

    .publics-list-left li,
    .publics-list-right li {
        font-size: 16px;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .publics-text p {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 1rem;
    }

    .publics-separator {
        margin: 1.5rem 0;
    }

    .activites-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .keywords {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .keywords span {
        font-size: 14px;
        padding: 0.3rem 0.8rem;
    }

    /* Programmes mobile */
    .programme-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
        margin: 2rem 0;
        padding: 0 1rem;
    }

    .programme-text {
        order: 1;
    }

    .programme-images {
        order: 2;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .programme-text p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .programme-text ul {
        padding-left: 1rem;
    }

    .programme-text li {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .section-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .programme-card h4 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .activites-content-block {
        padding: 0 1rem;
        margin: 3rem 0;
    }

    .activites-title {
        font-size: 22px;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .activites-themes-list li {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .activites-themes-list li::before {
        font-size: 18px;
    }

    /* Pédagogies mobile */
    .pedagogies-title h2 {
        font-size: 24px;
        text-align: center;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .pedagogies-activities h3 {
        font-size: 20px;
        text-align: center;
        line-height: 1.3;
    }

    .pedagogies-keywords {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .keywords-left,
    .keywords-right {
        font-size: 18px;
        text-align: center;
    }

    .publics-image-pedag {
        margin: 1rem 0;
    }

    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-person h3 {
        font-size: 22px;
        margin-bottom: 1rem;
    }

    .contact-person p {
        font-size: 18px;
        margin-bottom: 0.3rem;
    }

    .contact-details h4 {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    .contact-details p {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .contact-header h2 {
        font-size: 28px;
    }

    .footer-fish-image {
        width: 200px;
        max-width: 100%;
        height: auto;
    }

    .goodbye {
        font-size: 18px;
        text-align: center;
        padding: 10px;
    }

    .copyright {
        font-size: 14px;
    }

    .slide-content h1 {
        font-size: 20px;
        line-height: 1.2;
        padding: 0 1rem;
    }

    .slide-content p {
        font-size: 16px;
    }

    /* Styles responsives pour le texte de sorties - layout mobile */
    .sorties-text-container {
        padding: 2rem 1rem;
    }

    .sorties-text-layered {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sorties-text-1,
    .sorties-text-7,
    .sorties-text-2,
    .sorties-text-3,
    .sorties-text-8,
    .sorties-text-4,
    .sorties-text-5,
    .sorties-text-6,
    .sorties-text-9 {
        position: static !important;
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0.5rem 0 !important;
        opacity: 1 !important;
        margin-bottom: 0.5rem;
    }

    .sorties-text-1 {
        font-size: 24px;
        order: 1;
        color: var(--green-dark);
    }

    .sorties-text-7 {
        font-size: 20px;
        order: 2;
        color: var(--green-dark);
    }

    .sorties-text-2 {
        font-size: 28px;
        order: 3;
        color: var(--grey-dark);
    }

    .sorties-text-8 {
        font-size: 22px;
        order: 4;
        color: var(--grey-dark);
    }

    .sorties-text-3 {
        font-size: 20px;
        order: 5;
        color: var(--blue);
    }

    .sorties-text-5 {
        font-size: 26px;
        order: 6;
        color: var(--green-light);
    }

    .sorties-text-6 {
        font-size: 18px;
        order: 7;
        color: var(--green-dark);
    }

    .sorties-text-9 {
        font-size: 18px;
        order: 8;
        color: var(--green-dark);
    }

    .sorties-text-4 {
        font-size: 24px;
        order: 9;
        opacity: 0.7 !important;
        color: var(--grey-light);
    }
}

/* Media query pour très petits écrans */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar {
        height: 70px;
        max-height: 70px;
    }

    .logo-image {
        height: 45px;
        max-width: 180px;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .hero {
        margin-top: 70px;
    }

    .hero-slider {
        height: 45vh;
        min-height: 250px;
    }

    .slide-content h1 {
        font-size: 18px;
        padding: 0 0.5rem;
    }

    .hero-bar h2 {
        font-size: 20px;
    }

    .theme {
        font-size: 16px;
        padding: 0.4rem 0;
    }

    /* Bannières */
    .activites-banner h2 {
        font-size: 32px;
    }

    .programmes-header h2 {
        font-size: 28px;
    }

    /* Texte de sorties pour très petits écrans */
    .sorties-text-container {
        padding: 1.5rem 0.5rem;
    }

    .sorties-text-1 {
        font-size: 20px;
    }

    .sorties-text-7 {
        font-size: 18px;
    }

    .sorties-text-2 {
        font-size: 24px;
    }

    .sorties-text-8 {
        font-size: 18px;
    }

    .sorties-text-3 {
        font-size: 18px;
    }

    .sorties-text-5 {
        font-size: 22px;
    }

    .sorties-text-6 {
        font-size: 16px;
    }

    .sorties-text-9 {
        font-size: 16px;
    }

    .sorties-text-4 {
        font-size: 20px;
    }

    /* Programmes très petits écrans */
    .programme-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 20px;
    }

    .programme-card h4 {
        font-size: 18px;
    }

    .programme-text p {
        font-size: 15px;
    }

    .programme-text li {
        font-size: 15px;
    }

    /* Contact très petits écrans */
    .contact-person h3 {
        font-size: 20px;
    }

    .contact-person p {
        font-size: 16px;
    }

    .contact-details p {
        font-size: 15px;
    }

    .contact-header h2 {
        font-size: 24px;
    }

    .footer-fish-image {
        width: 150px;
    }

    /* Pédagogies très petits écrans */
    .pedagogies-title h2 {
        font-size: 20px;
        line-height: 1.2;
    }

    .pedagogies-activities h3 {
        font-size: 18px;
    }

    .keywords-left,
    .keywords-right {
        font-size: 16px;
    }
}

/* Media query pour écrans moyens (tablettes) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .programme-content {
        gap: 3rem;
    }

    .container {
        padding: 0 2rem;
    }

    .nav-link {
        font-size: 20px;
    }

    .contact-link {
        font-size: 18px;
    }

    /* Améliorations pour tablettes */
    .intro-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

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

    .programme-images {
        grid-template-columns: 1fr 1fr;
    }
}

/* Améliorations pour le touch et l'accessibilité */
@media (max-width: 768px) {
    /* Amélioration des zones de touch */
    .hamburger {
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Amélioration de la lisibilité */
    .publics-text p {
        text-align: left;
        margin-bottom: 1rem;
    }

    /* Espacement amélioré pour mobile */
    .introduction {
        padding: 2rem 0;
    }

    .publics {
        padding: 2rem 0;
    }

    .activites {
        padding: 2rem 0;
    }

    .pedagogies {
        padding: 2rem 0;
    }

    .programmes {
        padding: 2rem 0;
    }

    .contact {
        padding: 2rem 0;
    }

    /* Amélioration des images sur mobile */
    .programme-image {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .fab{
        font-size: 25px;;
    }
} 