/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html,
body {
    overflow-x: hidden;
}

body {
    background-color: #eeeeee;
}

/* =================================================================
   HEADER & NAVIGATION
   ================================================================= */
.header {
    background-color: #0f5c9d;
    color: white;
    position: relative;
    z-index: 10;
}

.header-top {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.logo img {
    height: 60px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    letter-spacing: 0.03rem;
}

.navbar a:hover {
    opacity: 0.8;
}

.search-login {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 30px;
    overflow: hidden;
}

.search-box input {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: white;
    width: 180px;
}

.search-box input::placeholder {
    color: #e5e5e5;
}

.search-box button {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.login-btn {
    background: white;
    color: #0f5c9d;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #e5e5e5;
}

/* =================================================================
   SECTIONS HERO
   ================================================================= */
.hero,
.hero-actu,
.hero-contact,
.hero-op-en-bref,
.hero-missions,
.hero-news,
.hero-equipes {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Hauteurs spécifiques */
.hero,
.hero-actu,
.hero-contact,
.hero-news {
    height: 70vh;
}

.hero-op-en-bref {
    height: 40vh;
}

.hero-missions,
.hero-equipes {
    height: 30vh;
}

/* Images de fond spécifiques */
.hero {
    background-image: url("../images/hero-index.png");
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-actu {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/hero-actu.jpg");
}

.hero-contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/hero-contact.jpg");
}

.hero-op-en-bref {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/hero-contact.jpg");
}

.hero-missions {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/hero-missions.jpg");
}

.hero-equipes {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/hero-equipes.jpg");
}

.hero-news {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/hero-news.jpg");
}

/* Contenu Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
}

.hero-title span {
    font-style: italic;
    font-weight: 400;
}

/* Header pour actu */
.hero-header {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-header button {
    border: 0;
    background: #1A629E;
    letter-spacing: 0.1rem;
}

/* Vague décorative */
.hero-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    transform: rotate(180deg);
    background-color: #0f5c9d;
    z-index: 2;
    clip-path: path("M-2 5C400 140 900-40 1870 64 1982 64 2100 0 2521 300 L2520 120 0 120Z");
}

/* =================================================================
   SECTIONS INTRO
   ================================================================= */
.intro-section {
    position: relative;
    background-color: #0f5c9d;
    color: #fff;
    overflow: hidden;
}

.intro-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3.5rem 2rem 10rem;
    text-align: center;
}

.intro-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.12;
    margin: 0 auto 1.2rem;
    max-width: 1100px;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.intro-title .accent {
    color: #74bff0;
    font-weight: 700;
}

.intro-sub {
    font-size: 1rem;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.intro-wave {
    position: absolute;
    bottom: -2px;
    left: -1%;
    width: 102%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-93 -162 2613 362' preserveAspectRatio='none'%3E%3Cpath d='M-93 89C568-162 804 267 2514-35L2520 200L-93 200Z' fill='%23f9f9f9'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
    z-index: 1;
    overflow: hidden;
}

.missions-section {
    overflow: hidden !important;
}

/* Variantes de fond pour intro-wave */
.intro-wave--white {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-93 -162 2613 362' preserveAspectRatio='none'%3E%3Cpath d='M-93 89C568-162 804 267 2514-35L2520 200L-93 200Z' fill='%23eeeeee'/%3E%3C/svg%3E");
}

.intro-wave--gray {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-93 -162 2613 362' preserveAspectRatio='none'%3E%3Cpath d='M-93 89C568-162 804 267 2514-35L2520 200L-93 200Z' fill='%23f9f9f9'/%3E%3C/svg%3E");
}

.intro-wave--inverted {
    bottom: auto;
    margin-top: -180px;
}

/* =================================================================
   SECTIONS MISSIONS
   ================================================================= */
.missions-section {
    position: relative;
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    overflow: visible;
}

.missions-section--reduced-padding {
    padding-bottom: 1rem;
}

.missions-section--extra-padding {
    padding-bottom: 25rem;
}

.missions-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.missions-container--reverse {
    flex-direction: row-reverse;
}

.missions-container--column {
    flex-direction: column;
    align-items: inherit;
    max-width: 960px;
}

.missions-container--align-start {
    align-items: flex-start;
}

.missions-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    align-self: center;
}

.missions-image img {
    width: 550px;
    max-height: 600px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    object-position: center top;
    display: block;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.06);
}

.missions-image--large img {
    height: 600px;
    width: 900px;
}

.missions-image--caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: -1rem;
    margin-right: auto;
}

.missions-content {
    flex: 1;
}

.missions-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.missions-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f2541;
}

.missions-title span {
    font-style: italic;
    font-weight: 400;
}

.missions-title--white {
    color: white;
}

.missions-title--blue {
    color: #1A629E;
}

.missions-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.missions-text--full-width {
    max-width: inherit;
}

.missions-text--small {
    font-size: 0.85rem;
}

.missions-text--white {
    color: white;
}

.missions-text--blue {
    color: #4EC4FF;
}

.missions-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.missions-buttons--center {
    justify-content: center;
    margin-top: 3rem;
}

.missions-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    color: white;
    font-size: 1rem;
    line-height: 2;
}

.missions-list li {
    border-top: 1px solid;
    padding: 0.5rem 0 1rem 0;
}

/* =================================================================
   BOUTONS
   ================================================================= */
.btn-primary {
    background: linear-gradient(90deg, #66c0ff, #0f5c9d);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: #0f2541;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-link {
    display: inline-block;
    margin-top: 0.8rem;
    background: #0f5c9d;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-link:hover {
    opacity: 0.85;
}

/* =================================================================
   SECTIONS ACTUALITÉS
   ================================================================= */
.actus-section {
    background-color: #0f5c9d;
    padding: 0 2rem;
    text-align: center;
    color: white;
}

.actus-section--gray {
    background-color: #f9f9f9;
}

.actus-title {
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    bottom: 15rem;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: #102543;
}

.actus-title span {
    font-style: italic;
    font-weight: 400;
}

.actus-cards {
    position: relative;
    bottom: 15rem;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.actus-card {
    background-color: #0F4470;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    text-align: left;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
}

.actus-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    margin-bottom: 1rem;
    object-position: center top;
}

.actus-card-content {
    padding: 0 1.5rem 1.5rem;
}

.actus-category {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.8;
    color: #4EC4FF;
    margin-bottom: 0.4rem;
}

.actus-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.actus-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: #4EC4FF;
    opacity: 0.9;
    transition: 0.3s;
    font-weight: bold;
}

.actus-link:hover {
    opacity: 1;
}

.actus-count {
    color: #1A629E;
    position: relative;
    top: -200px;
    font-weight: bold;
}

.actus-btn-wrapper {
    position: relative;
    top: -150px;
}

.actus-btn {
    background-color: #102643;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.actus-btn:hover {
    opacity: 0.9;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    background-color: #0f5c9d;
    color: white;
    padding: 4rem 2rem 2rem;
    font-size: 0.95rem;
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 280px;
    margin-bottom: 2rem;
}

.footer-buttons a {
    display: inline-block;
    margin-right: 0.8rem;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    background-color: white;
    color: #0f5c9d;
}

.footer-contact {
    background-color: transparent !important;
    border: 2px solid white;
    color: white !important;
}

.footer-adh {
    background-color: white;
    color: #0f5c9d;
}

.footer-columns {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.footer-col h4 {
    font-weight: 500;
    letter-spacing: 0.1rem;
    margin-bottom: 2rem;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.6rem;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1300px;
    margin: 2rem auto 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid white;
}

.footer-legal a {
    margin-right: 1.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-socials a {
    margin-left: 1rem;
    font-size: 1.1rem;
    color: white;
}

.footer-copy {
    text-align: left;
    max-width: 1300px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 2rem auto 1rem;
}

/* =================================================================
   PAGE ACCUEIL - SECTIONS SPÉCIFIQUES
   ================================================================= */
.hero-fromnord {
    background-color: #0f5c9d;
    color: white;
    padding: 6rem 2rem;
    overflow: hidden;
    position: relative;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient + Texture Dots */
    background:
        linear-gradient(135deg, rgba(15, 92, 157, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px;
    z-index: 1;
    backdrop-filter: blur(2px);
}

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

.hero-fromnord .hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.hero-fromnord .hero-left {
    flex: 0 0 50%;
    width: 50%;
    padding-right: 2rem;
}

.hero-fromnord .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-fromnord .hero-text {
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-fromnord .hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-fromnord .hero-right {
    position: relative;
    right: auto;
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.hero-fromnord .hero-right img {
    max-width: 500px;
    height: auto;
}

@media screen and (max-width: 991px) {
    .hero-fromnord .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-fromnord .hero-left,
    .hero-fromnord .hero-right {
        flex: 0 0 95%;
        width: 95%;
        padding-right: 0;
        justify-content: center;
        text-align: center;
    }
}

.fromnord-support {
    background-color: #0f5c9d;
    padding-bottom: 15rem;
}

.fromnord-support .missions-container {
    align-items: center;
}

/* Collaboration Section */
.collaboration-section {
    padding: 6rem 2rem;
    text-align: center;
}

.collaboration-container {
    max-width: 1200px;
    margin: 0 auto;
}

.collaboration-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #0f2541;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.collaboration-title .accent-italic {
    font-style: italic;
    color: #0f5c9d;
    font-weight: 600;
}

.collaboration-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.collab-card {
    background-color: #4ec4ff;
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    padding: 2.5rem 1.8rem;
    border-radius: 20px;
    color: #0f2541;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.collab-card i {
    font-size: 1.8rem;
    color: #0f2541;
    margin-bottom: 1rem;
}

.collab-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.collab-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.collab-btn {
    margin-top: 1rem;
}

/* Join Section */
.join-section {
    background-color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    max-width: 1200px;
    margin: 4rem auto;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.06);
}

.join-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.join-content {
    flex: 1;
    min-width: 300px;
}

.join-content h2 {
    font-size: 2rem;
    color: #0f2541;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.join-content .accent-italic {
    font-style: italic;
    color: #0f5c9d;
}

.join-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 500px;
}

.join-buttons {
    display: flex;
    gap: 1rem;
}

.join-image img {
    width: 320px;
    height: auto;
    max-height: 250px;
    border-radius: 16px;
    object-position: center 20%;
    object-fit: cover;
}

/* =================================================================
   TÉMOIGNAGES & CAROUSEL
   ================================================================= */
.temoignages-section {
    background-color: #eeeeee;
    padding: 6rem 2rem 25rem;
    text-align: center;
}

.temoignages-section--blue {
    background-color: #0f5c9d;
}

.temoignages-section--blue-alt {
    background-color: #1A629E;
}

.temoignages-section--reduced-padding {
    padding: 6rem 2rem 15rem;
}

.temoignages-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.temoignages-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f2541;
    margin-bottom: 3rem;
}

.temoignages-title--white {
    color: white;
}

.temoignages-title .accent-italic {
    font-style: italic;
    color: #0f5c9d;
}

.temoignages-title--white .accent-italic {
    color: #4EC4FF;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.carousel {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    scroll-behavior: smooth;
    padding: 1rem;
    width: 100%;
}

.temoignage-card {
    flex: 0 0 320px;
    border-radius: 24px;
    padding: 2rem;
    text-align: left;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    box-shadow: 0 4px 12px rgba(15, 37, 65, 0.05);
    transition: transform 0.4s ease;
}

.temoignage-card--large {
    flex: 0 0 1070px;
}

.temoignage-card--medium {
    flex: 0 0 900px;
}

.temoignage-card:hover {
    transform: translateY(-4px);
}

.temoignage-card.dark {
    background-color: #0f4470;
    color: #ffffff;
}

.temoignage-card.medium {
    background-color: #1e6fb3;
    color: #ffffff;
}

.temoignage-card.light {
    background-color: #4ec4ff;
    color: #ffffff;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.card-header--padded {
    padding-left: 60px;
}

.card-header--column {
    flex-direction: column;
    gap: 10px;
}

.source-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 0.3rem;
}

.source-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.card-text {
    font-size: 1.1rem;
    font-family: "Georgia", serif;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.card-text--with-quote {
    display: flex;
    align-items: center;
}

.card-text i {
    color: #4EC4FF;
    padding-right: 25px;
    font-size: 2.5rem;
}

.card-date {
    font-size: 0.85rem;
    opacity: 0.85;
    display: block;
    margin-bottom: 1rem;
}

.card-link {
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link--padded {
    padding-left: 60px;
}

.card-link i {
    font-size: 0.85rem;
}

.carousel-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(15, 37, 65, 0.1);
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: #0f5c9d;
    color: white;
}

.carousel-indicators {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 35px;
    height: 4px;
    background: #c9e6f8;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.dot.active {
    background: #0f5c9d;
}

/* =================================================================
   ESPÈCES & PRODUCTION
   ================================================================= */
.especes-section {
    background-color: #0f5c9d;
    padding: 0 2rem 4rem;
    text-align: center;
}

.especes-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    top: -100px;
}

.especes-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.espece-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.06);
    max-width: 480px;
    flex: 1;
}

.espece-card h3 {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.espece-card .subtitle {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.espece-card h2 {
    font-size: 2.5rem;
    color: #0f2541;
    margin: 1rem 0 2rem;
}

.espece-card h2 span {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 400;
}

.espece-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 1rem;
}

/* =================================================================
   SOUTIEN & SUPPORT SECTIONS
   ================================================================= */
.soutien-section {
    background-color: #0f5c9d;
    color: white;
    padding: 6rem 2rem;
}

.soutien-section--gray {
    background-color: #f9f9f9;
}

.soutien-section--reduced-padding {
    padding-bottom: 15rem;
}

.soutien-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.soutien-image img {
    width: 500px;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.2);
    object-fit: cover;
}

.soutien-content {
    flex: 1;
}

.soutien-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.soutien-title .accent-italic {
    font-style: italic;
    color: #74bff0;
    font-weight: 400;
}

.soutien-text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.soutien-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    font-size: 1rem;
    line-height: 1.8;
}

.soutien-list li {
    margin-bottom: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.8rem;
}

/* =================================================================
   ÉQUIPES
   ================================================================= */
.team-section {
    background-color: #f9f9f9;
    padding: 4.5rem 1rem 10rem;
}

.team-container {
    max-width: 1300px;
    margin: 0 auto;
}

.team-featured {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    justify-items: center;
}

.team-card {
    width: 240px;
    border-radius: 18px;
    overflow: hidden;
    background: #0f5c9d;
    box-shadow: 0 8px 20px rgba(15, 37, 65, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-card--large {
    width: 300px;
    border-radius: 20px;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 37, 65, 0.10);
}

.team-card__photo {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    background-color: white;
}

.team-card--large .team-card__photo {
    height: 260px;
}

.team-card__meta {
    background: linear-gradient(180deg, rgba(15, 92, 157, 1) 0%, rgba(15, 92, 157, 1) 100%);
    padding: 1.35rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
}

.team-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.1px;
}

.team-card__role {
    font-size: 0.92rem;
    font-weight: 600;
    color: #74bff0;
    text-align: center;
}

/* =================================================================
   OVERLAY IMAGE
   ================================================================= */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
    backdrop-filter: blur(3px);
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.close-overlay {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    font-weight: 300;
    transition: opacity 0.2s ease;
}

.close-overlay:hover {
    opacity: 0.7;
}

.clickable-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

/* =================================================================
   TIMELINE
   ================================================================= */
.timeline-arrow {
    text-align: center;
    margin-bottom: 1rem;
}

.timeline-arrow span {
    font-size: 2rem;
    color: #0f5c9d;
    display: block;
    animation: bounce 1.5s infinite;
}

.timeline-arrow p {
    font-size: 0.95rem;
    color: #0f5c9d;
    font-style: italic;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column-reverse;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, #0f5c9d, #66c0ff);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-item {
    padding: 1.5rem 2rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: -10px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 3px solid #0f5c9d;
    border-radius: 50%;
    z-index: 3;
    left: calc(50% - 30px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.timeline-item[data-img]::before {
    background-image: var(--timeline-img);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(15, 37, 65, 0.08);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(15, 37, 65, 0.12);
}

.timeline-content h3 {
    color: #0f5c9d;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* =================================================================
   ACTIONS & PROJETS
   ================================================================= */
.actions-section {
    background-color: #f9f9f9;
    padding: 6rem 2rem;
}

.actions-container {
    max-width: 1200px;
    margin: 0 auto 5rem;
    text-align: center;
}

.actions-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #0f2541;
    margin-bottom: 2rem;
}

.actions-title .accent-italic {
    font-style: italic;
    color: #0f5c9d;
}

.actions-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.actions-list {
    list-style: none;
    margin: 0 auto 3rem;
    padding: 0;
    max-width: 600px;
    text-align: left;
}

.actions-list li {
    font-size: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ddd;
    color: #0f2541;
}

.actions-link {
    color: #0f5c9d;
    font-weight: 600;
    text-decoration: none;
}

.actions-link:hover {
    text-decoration: underline;
}

/* Projets Section */
.projets-section {
    background: #f9f9f9;
    padding: 6rem 2rem;
}

.projets-section--no-padding {
    padding: 0 2rem 6rem 2rem;
}

.projets-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.projets-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #0f2541;
    margin-bottom: 2rem;
}

.projets-title .accent-italic {
    font-style: italic;
    color: #0f5c9d;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: #0f2541;
    color: #fff;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.tab-button:hover {
    background: #0f5c9d;
}

.tab-button.active {
    background: linear-gradient(90deg, #66c0ff, #0f5c9d);
}

/* Tab Content */
.tab-content {
    display: none;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.missions-content ul li {
    margin-left: 1rem;
}

.tab-content ul li {
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.tab-content div p {
    margin-bottom: 1rem;
}

/* Dropdown */
.dropdown {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 20px rgba(15, 37, 65, 0.06);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #e6eef6;
}

.dropdown-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f5c9d;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    align-items: center;
}

.dropdown-toggle::after {
    content: "▾";
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(-180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: #333;
    line-height: 1.6;
    display: none;
}

.dropdown.active .dropdown-content {
    max-height: 50000px;
    padding: 0 1rem 1rem 1rem;
    display: block;
}

/* Species Grid */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.species-card {
    background: #f0f4f8;
    padding: 1rem;
    border-radius: 8px;
}

.species-card h4 {
    color: #0f5c9d;
    margin-bottom: 0.5rem;
}

.species-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Map Placeholder */
.map-placeholder {
    background: #eef3f7;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
}

.map-placeholder i {
    color: #1e4c7a;
    margin-bottom: 1rem;
}

/* Content Columns */
.content-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.content-columns h4 {
    color: #0f5c9d;
    margin-bottom: 0.5rem;
}

/* =================================================================
   CONTACT & LOGIN
   ================================================================= */
.contact-section {
    background-color: #f9f9f9;
    padding: 6rem 0;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.6rem;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f2541;
    margin-bottom: 1rem;
}

.contact-info h2 span {
    font-weight: 400;
    font-style: italic;
}

.contact-info .info-text {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #333;
}

.contact-form {
    flex: 1.2;
}

.contact-form p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #0f2541;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #0f2541;
    margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.contact-form textarea {
    resize: vertical;
}

.form-help-text {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.3rem;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #333;
}

.form-checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    width: auto;
}

/* Login Section */
.login-section {
    background-color: #f9f9f9;
    padding: 6rem 2rem;
}

.login-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.06);
    padding: 3rem 2.5rem;
    text-align: center;
}

.login-container h2 {
    color: #0f2541;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: left;
}

/* Login Section */
.login-section {
    background-color: #f9f9f9;
    padding: 6rem 2rem;
}

.login-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.06);
    padding: 3rem 2.5rem;
    text-align: center;
}

.login-container h2 {
    color: #0f2541;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.login-container p {
    color: #333;
    margin-bottom: 2.5rem;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: left;
}

.login-container label {
    display: block;
    font-weight: 600;
    color: #0f2541;
    margin-bottom: 0.4rem;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.login-container .login-forgot-link {
    font-size: 0.9rem;
    color: #0f5c9d;
    text-decoration: none;
    margin-top: -0.5rem;
}

.login-container .btn-primary {
    width: 100%;
    margin-top: 1rem;
}


/* =================================================================
   OP EN BREF
   ================================================================= */
.op-intro {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.op-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.op-container h2 {
    color: #0f2541;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.op-container p {
    color: #333;
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.op-image-section {
    padding: 0 2rem 4rem 2rem;
    background: #f9f9f9;
}

.op-image-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.op-image-frame {
    background: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(15, 37, 65, 0.06);
    padding: 2rem;
}

.op-image-frame img {
    width: 30%;
    height: auto;
    border-radius: 12px;
}

.op-text {
    padding: 4rem 2rem;
    background-color: #0f2541;
    color: white;
}

.op-text-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.op-text-container h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.op-text-container p {
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =================================================================
   UTILITAIRES & HELPERS
   ================================================================= */
.accent {
    color: #74bff0;
    font-weight: 700;
}

.accent-italic {
    font-style: italic;
    color: #0f5c9d;
}

.lead {
    font-weight: 500;
    color: #333;
}

.small-muted {
    color: #666;
    font-size: 0.95rem;
}

/* Espacements */
.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* =================================================================
   RESPONSIVE - MEDIA QUERIES
   ================================================================= */

/* Tablettes et petits écrans */
@media (max-width: 992px) {

    /* Header */
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .navbar ul {
        flex-wrap: wrap;
        gap: 0;
    }

    .subsubmenu-item {
        padding: 5px 0;
    }

    .search-login {
        width: 100%;
        justify-content: space-between;
    }

    .search-box input {
        width: 300px;
    }

    /* Hero */
    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-wave {
        display: none;
    }

    /* Intro */
    .intro-content {
        padding: 2.8rem 1.5rem 4rem;
    }

    .intro-title {
        font-size: 2rem;
        max-width: 820px;
    }

    .intro-sub {
        font-size: 0.95rem;
    }

    .intro-wave {
        display: none;
    }

    /* Missions */
    .missions-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .missions-image img {
        width: 100%;
        max-width: 620px;
    }

    .missions-text {
        margin: 0 auto 2.5rem;
    }

    .missions-buttons {
        justify-content: center;
    }

    /* Actualités */
    .actus-cards {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
    }

    .footer-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    /* Accueil */
    .hero-fromnord .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-fromnord .hero-right img {
        display: none;
    }

    .collaboration-cards {
        flex-direction: column;
        align-items: center;
    }

    .join-container {
        flex-direction: column;
        text-align: center;
    }

    .join-image img {
        width: 100%;
        max-width: 400px;
    }

    .join-content p {
        margin: 0 auto 2rem;
    }

    .join-buttons {
        justify-content: center;
    }

    /* Espèces */
    .especes-container {
        flex-direction: column;
        align-items: center;
    }

    .especes-cards {
        flex-flow: column;
    }

    .espece-card {
        width: 100%;
        max-width: 700px;
    }

    /* Soutien */
    .soutien-container {
        flex-direction: column;
        text-align: center;
    }

    .soutien-image img {
        width: 100%;
        max-width: 600px;
    }

    .soutien-content {
        max-width: 600px;
    }

    /* Équipes */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-card--large {
        width: 280px;
    }

    .team-card {
        width: 220px;
    }

    /* Timeline */
    .timeline-item {
        width: 70%;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 4rem;
        padding-right: 2rem;
    }

    .timeline-item::before {
        left: -10px;
        top: 40px;
    }

    .timeline::after {
        left: 20px;
    }

    /* Content columns */
    .content-columns {
        grid-template-columns: 1fr;
    }
}

/* Smartphones */
@media (max-width: 600px) {

    /* Header */
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-login {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .login-btn {
        text-align: center;
    }

    /* Hero */
    .hero {
        height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Intro */
    .intro-title {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .intro-content {
        padding-bottom: 3rem;
    }

    /* Missions */
    .missions-title {
        font-size: 2rem;
    }

    .missions-image img {
        border-radius: 16px;
        max-height: 300px;
        max-width: 300px;
    }

    .missions-container {
        flex-direction: column !important;
    }

    .missions-section {
        padding: 2rem;
    }

    /* Équipes */
    .team-featured {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

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

    .team-card {
        width: 92%;
        max-width: 380px;
    }

    .team-card__photo {
        height: 180px;
    }

    .team-card__meta {
        padding: 1rem;
    }

    .team-card__name {
        font-size: 1.05rem;
    }

    .team-card__role {
        font-size: 0.9rem;
    }

    /* Timeline */
    .timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        padding-right: 1rem;
        text-align: left !important;
        margin-bottom: 2rem;
    }

    .timeline-item::before {
        left: -5px;
        top: 40px;
        width: 40px;
        height: 40px;
    }

    /* Tabs */
    .tab-button {
        width: 100%;
    }

    .tab-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-item::before {
        width: 30px;
        height: 30px;
    }
}

/* Carousel responsive */
@media (max-width: 768px) {
    .carousel {
        gap: 1rem;
    }

    .temoignage-card {
        flex: 0 0 85% !important;
    }

    .carousel-btn {
        /* Visibilité gérée dynamiquement par le JS (toggleArrows) */
    }
}

/* Content columns responsive */
@media (min-width: 900px) {
    .content-columns {
        grid-template-columns: 1fr 1fr;
    }
}



/* =================================================================
   MENU ADHERENTS
================================================================= */

.menu-section {
    position: relative;
    overflow: visible;
    z-index: 50;
}

.menu-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    z-index: 2;
}

.account-menu {
    max-width: 320px;
    background: #104a7b;
    color: #fff;
    border-radius: 12px;
    padding: 20px 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: absolute;
    top: -100px;
}

.account-menu a {
    color: #ffffff;
    text-decoration: none;
}

.account-menu__title {
    font-size: 1.1rem;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-menu__item {
    width: 100%;
    border: none;
    background: none;
    color: inherit;
    padding: 6px 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.account-menu__item:hover {
    opacity: 0.85;
}

.account-menu__caret {
    transition: transform 0.2s ease;
}

.account-menu__item.is-open .account-menu__caret {
    transform: rotate(90deg);
}

/* Sous-menu */
.account-menu__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    display: flex;
    flex-direction: column;
    padding-left: 14px;
}

.account-menu__panel a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
}

.account-menu__panel a:hover {
    text-decoration: underline;
}

/* État ouvert (géré aussi en JS pour l’animation) */
.account-menu__panel.is-open {
    padding-top: 4px;
    padding-bottom: 6px;
}

/* Lien déconnexion */
.account-menu__logout {
    display: inline-block;
    margin-top: 18px;
    color: #ffffff;
    font-size: 0.9rem;
}

.missions-section.ad {
    padding-left: 0;
    padding-right: 0;
}

.missions-section.ad .missions-container {
    margin: 0 auto;
    padding-left: 380px;
    padding-right: 2rem;
    justify-content: flex-start;
}

.missions-section.ad .missions-image img {
    max-width: 410px;
}

.missions-section.ad .column {
    display: none;
}

.missions-text-container {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1600px) {
    /* No longer need percentage padding shifts */
}

@media (max-width: 1220px) {
    .missions-section.ad .missions-image img {
        max-width: 310px !important;
    }

    .missions-section.ad .missions-container {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .account-menu {
        position: relative;
        top: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 0px;
    }

    .menu-container {
        justify-content: center;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .missions-section.ad {
        gap: 0;
    }

    .missions-section.ad .missions-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .missions-section.ad .missions-image img {
        max-width: 100% !important;
    }
}

h3.missions-title {
    font-size: 24px;
}

.ad.content p {
    margin: 10px 30px 30px 0;
}

.account-menu__panel .active .account-menu__caret {
    display: block;
}

.account-menu__container_sub.active .account-menu__caret {
    display: inline-block !important;
}

.account-menu__panel .active {
    font-weight: bold;
    text-decoration: underline;
}

.account-menu__item.active a {
    font-weight: bold;
}

.footer-img {
    max-width: 1300px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    flex-direction: row;
}

.footer-img img {
    max-height: 50px;
}

.team-card a {
    text-decoration: none;
}

/* Reset et base */
.navbar {
    background: #0f5c9d;
    position: relative;
}

.navbar .menu,
.navbar .submenu,
.navbar .subsubmenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Bouton FERMER - MOBILE SEULEMENT */
.menu-close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

/* Bouton hamburger - MOBILE SEULEMENT */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

/* Boutons toggle +/- - MOBILE SEULEMENT */
.submenu-toggle,
.subsubmenu-toggle {
    display: none !important;
    position: absolute;
    right: 20px;
    top: 28px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.submenu-toggle::before,
.submenu-toggle::after,
.subsubmenu-toggle::before,
.subsubmenu-toggle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
}

.submenu-toggle::before,
.subsubmenu-toggle::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.submenu-toggle.active::before,
.subsubmenu-toggle.active::before {
    opacity: 0;
}

.submenu-toggle::after,
.subsubmenu-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.submenu-toggle.active::after,
.subsubmenu-toggle.active::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* DESKTOP - Menu horizontal classique */
@media screen and (min-width: 992px) {
    .navbar .menu {
        display: flex;
        gap: 0;
    }

    .navbar .menu-item {
        position: relative;
    }

    .navbar .menu-item>a {
        display: block;
        padding: 12px 18px;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.3s;
    }

    .navbar .menu-item>a:hover {
        background: #0b4a7a;
        border-radius: 10px;
    }

    .navbar .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #0b4a7a;
        display: none;
        z-index: 1000;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .navbar .submenu-item>a {
        display: block;
        padding: 12px 16px;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.3s;
    }

    .navbar .submenu-item>a:hover {
        background: #095b92;
    }

    .navbar .subsubmenu {
        position: absolute;
        top: 0;
        left: 100%;
        border-radius: 10px;
        min-width: 220px;
        background: #095b92;
        display: none;
        z-index: 1100;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .navbar .subsubmenu-item>a {
        display: block;
        padding: 12px 16px;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.3s;
    }

    .navbar .subsubmenu-item>a:hover {
        background: #074d7d;
        border-radius: 10px;
    }

    .navbar .menu-item:hover>.submenu {
        display: block;
    }

    .navbar .submenu-item:hover>.subsubmenu {
        display: block;
    }

    /* Flèches CSS desktop UNIQUEMENT */
    .navbar .menu-item.has-children>a::after {
        content: "▼";
        margin-left: 8px;
        font-size: 0.7em;
    }

    .navbar .submenu-item.has-children>a::after {
        content: "›";
        float: right;
        margin-left: 8px;
        font-size: 0.8em;
    }
}

/* MOBILE - Activation des éléments mobiles */
@media screen and (max-width: 991px) {

    /* Hamburger visible */
    .menu-toggle {
        display: flex;
    }

    /* Bouton fermer visible */
    .menu-close {

        align-items: center;
        justify-content: center;
    }

    /* Boutons +/- visibles */
    .submenu-toggle,
    .subsubmenu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .navbar {
        position: absolute;
        right: 0;
    }

    .navbar .menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        max-width: 340px;
        height: 100vh;
        background: #0f5c9d;
        flex-direction: column;
        transition: left 0.3s ease;
        z-index: 999;
        padding: 70px 0 20px 0;
        box-sizing: border-box;
    }

    .navbar.menu-open .menu {
        left: 0;
    }

    /* Hamburger animation */
    .navbar.menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .navbar.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .navbar .menu-item,
    .navbar .submenu-item {
        position: relative;
        width: 100%;
    }

    .navbar .menu-item>a,
    .navbar .submenu-item>a {
        display: flex;
        align-items: center;
        padding: 18px 70px 18px 24px;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar .submenu,
    .navbar .subsubmenu {
        position: static !important;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: transparent;
        margin: 0;
        padding: 0;
    }

    .navbar .menu-item.active>.submenu,
    .navbar .submenu-item.active>.subsubmenu {
        max-height: 2000px;
    }

    .navbar .submenu>.submenu-item>a {
        padding-left: 55px;
        background: rgba(11, 74, 122, 0.4);
    }

    .navbar .subsubmenu>.subsubmenu-item>a {
        padding-left: 75px;
        background: rgba(9, 91, 146, 0.4);
    }
}

/* Overlay */
.navbar::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
}

@media screen and (max-width: 991px) {
    .navbar.menu-open::before {
        opacity: 1;
        visibility: visible;
    }

    .missions-section.ad {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.container-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Style commun à tous les boutons */
.container-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #0f2541;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.container-pagination .page-numbers:hover {
    background: #0F4470;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 92, 157, 0.4);
}

.container-pagination .page-numbers:active {
    transform: translateY(0);
}

/* Page actuelle */
.container-pagination .page-numbers.current {
    background: #0F4470;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.container-pagination .page-numbers.current:hover {
    background: #0a1d36;
    transform: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Précédent/Suivant (plus larges) */
.container-pagination .prev,
.container-pagination .next {
    min-width: 56px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container-pagination .prev:hover,
.container-pagination .next:hover {
    min-width: 60px;
}

/* Responsive mobile */
@media screen and (max-width: 991px) {
    .container-pagination {
        padding: 20px 16px;
        gap: 6px;
    }

    .container-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 13px;
    }

    .container-pagination .prev,
    .container-pagination .next {
        min-width: 48px;
        font-size: 12px;
    }

    /* Sur très petit écran, cache les pages intermédiaires */
    @media screen and (max-width: 480px) {
        .container-pagination .page-numbers:not(.prev):not(.next):not(.current) {
            display: none;
        }

        .container-pagination {
            gap: 12px;
        }
    }
}

/* Focus visible pour accessibilité */
.container-pagination .page-numbers:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}


.post-type-archive-arneo_blog .soutien-section--reduced-padding {
    padding-bottom: 5rem;
}

.post-type-archive-arneo_blog .actus-cards {
    bottom: 5rem;
}

.post-type-archive-arneo_blog .actus-card {
    width: 100%;
}

.post-type-archive-arneo_blog .actus-title {
    bottom: 5rem;
}

.missions-text-container p {
    margin-bottom: 10px !important;
}

.missions-text-container .missions-buttons {
    margin-bottom: 10px;
}

.wpcf7-form-control-wrap {
    position: relative;
    padding-top: 10px;
    display: block;
}

.btn-thirdary {
    background: #4EC4FF;
    color: #0f2541;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}


/* Checkbox CF7 : case à GAUCHE + label à DROITE */
.wpcf7-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    flex-direction: row !important;
}

.wpcf7-list-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 0 12px 0 !important;
}

.wpcf7-list-item label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    cursor: pointer !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #333 !important;
}

.wpcf7-list-item input[type="checkbox"] {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 0 !important;
    accent-color: #0f5c9d !important;
    /* Couleur case = menu */
    cursor: pointer !important;
}

.wpcf7-list-item-label {
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* Focus et hover */
.wpcf7-list-item label:hover {
    color: #0f5c9d !important;
}

.wpcf7-list-item input[type="checkbox"]:focus-visible {
    outline: 2px solid #0f5c9d !important;
    outline-offset: 2px !important;
}

/* État coché stylé */
.wpcf7-list-item input[type="checkbox"]:checked {
    background-color: #0f5c9d !important;
    border-color: #0f5c9d !important;
}

/* Style spécifique pour ton formulaire */
.wpcf7-form-control-wrap[data-name="checkbox-695"] {
    margin: 20px 0 !important;
    padding: 16px !important;
    background: rgba(15, 92, 157, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(15, 92, 157, 0.1) !important;
}

.team-card__photo {
    width: 100% !important;
    aspect-ratio: auto !important;
    /* Garde ratio naturel de l'image */
    /* OU aspect-ratio: 16/9; pour ratio fixe */
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
    background-color: white;
}

.espece-card {
    overflow: hidden !important;
}

.espece-card img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
}


/* Sur très petit écran, cache les pages intermédiaires */
@media screen and (max-width: 480px) {
    .container-pagination .page-numbers:not(.prev):not(.next):not(.current) {
        display: none;
    }

    .container-pagination {
        gap: 12px;
    }

    .footer-img img {
        max-height: 30px;
    }

    .footer-adh {
        margin-top: 10px;
    }

    .actus-section {
        padding-top: 20rem;
    }

    .team-card__photo {
        background-size: cover !important;
    }

    .soutien-section {
        display: none;
    }

    .timeline-item::before {
        top: 54px;
    }

    .missions-section .missions-container {
        padding: 0;
    }
}

/* =================================================================
   MENU ADHERENT (COLLAPSIBLE)
   ================================================================= */
.account-menu__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Rotation du caret */
.account-menu__caret {
    display: inline-block;
    transition: transform 0.3s;
    margin-right: 0.5rem;
}

.account-menu__item.is-open .account-menu__caret {
    transform: rotate(90deg);
}

/* Style de base pour les boutons/items */
.account-menu__item {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    width: 100%;
    color: inherit;
}

.account-menu__item a {
    text-decoration: none;
    color: inherit;
}

.account-menu__container_sub {
    padding-left: 1.5rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.missions-section.ad .projets-container.missions-container--column {
    text-align: left;
    margin-left: 2rem;
}

.missions-section.ad .projets-container {
    text-align: left;
}

.missions-section.ad .projets-container .projets-container .tab-content {
    margin: 0;
}

.missions-section.ad .tabs.mt-2 {
    justify-content: left;
}


@media screen and (max-width: 990px) {
    .missions-section.ad .projets-container {
        text-align: center;
    }

    .missions-section.ad .tabs.mt-2 {
        justify-content: center;
    }

    .missions-section.ad .projets-container.missions-container--column {
        text-align: center;
        margin-left: 0;
    }

    .missions-section.ad .tab-content {
        text-align: center;
        max-width: 100%;
    }
}