/* =====================================================
   LES RIVES DE LA DURENQUE
   STYLE PRINCIPAL
   Nature - Biodiversité - Patrimoine
   Compatible Neocities
===================================================== */


:root {

    --vert-foret:#214d38;
    --vert-nature:#4f8a62;
    --vert-clair:#b7e3a1;

    --eau:#3a9fc4;
    --eau-claire:#d7f5ff;

    --terre:#765438;

    --texte:#24312b;

    --blanc:#ffffff;

    --fond:#f3f7ef;

}



/* =====================================================
   RESET GENERAL
===================================================== */


* {

    margin:0;
    padding:0;
    box-sizing:border-box;

}


html {

    scroll-behavior:smooth;

}



body {

    font-family:
    "Segoe UI",
    Arial,
    sans-serif;

    color:var(--texte);

    background:var(--fond);

    overflow-x:hidden;

}






/* =====================================================
   HERO
===================================================== */


.hero {

    height:100vh;

    min-height:650px;

    position:relative;

    overflow:hidden;

}



.hero-background {

    position:absolute;

    inset:0;

}



.forest {

    width:100%;

    height:100%;

}



/* Soleil */


.sun {

    fill:#ffd86b;

    opacity:.9;

    animation:

    sunPulse 8s ease-in-out infinite alternate;

}



@keyframes sunPulse {


from {

    transform:scale(1);

}


to {

    transform:scale(1.15);

}


}






/* Montagnes */


.mountains {

    fill:#9db98b;

    opacity:.8;

}






/* Arbres */


.trees path {

    fill:#28563b;

    transform-origin:center bottom;

    animation:

    treeMove 7s ease-in-out infinite alternate;

}



@keyframes treeMove {


from {

    transform:rotate(-1deg);

}


to {

    transform:rotate(1deg);

}


}







/* =====================================================
   RIVIERE
===================================================== */


.river {


    fill:#4ca7c8;

    animation:

    riverMove 10s ease-in-out infinite alternate;


}



@keyframes riverMove {


from {

    transform:translateX(-15px);

}


to {

    transform:translateX(15px);

}


}





.water-line {


    fill:none;

    stroke:var(--eau-claire);

    stroke-width:8;

    stroke-dasharray:40 30;

    animation:

    waterFlow 5s linear infinite;

    opacity:.8;


}




@keyframes waterFlow {


from {

    stroke-dashoffset:0;

}


to {

    stroke-dashoffset:-300;

}


}







/* =====================================================
   TEXTE HERO
===================================================== */


.hero-content {


position:relative;

z-index:10;

height:100%;

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

text-align:center;

padding:30px;

color:white;


text-shadow:

0 3px 15px rgba(0,0,0,.55);


}



.hero-content h1 {


font-size:

clamp(3rem,7vw,6rem);


line-height:1;

letter-spacing:2px;


}



.hero-content h1 span {


color:#d8ffb8;


}




.hero-content p {


margin-top:30px;

font-size:

clamp(1rem,3vw,1.5rem);


}






.button {


margin-top:35px;

padding:15px 40px;

border-radius:50px;


background:

rgba(255,255,255,.25);


border:

1px solid rgba(255,255,255,.5);


color:white;

text-decoration:none;

font-weight:bold;


backdrop-filter:blur(8px);


transition:.4s;


}



.button:hover {


background:white;

color:var(--vert-foret);

transform:translateY(-6px);


}







/* =====================================================
   INTRODUCTION
===================================================== */


.intro {


max-width:1000px;

margin:auto;

padding:100px 30px;

text-align:center;


}



.intro h2 {


font-size:2.8rem;

color:var(--vert-foret);

margin-bottom:30px;


}



.intro p {


font-size:1.25rem;

line-height:1.8;

}





/* =====================================================
   CARTES
===================================================== */


.cards {


display:flex;

justify-content:center;

flex-wrap:wrap;

gap:30px;

padding:40px 30px 100px;


}



.card {


background:white;

width:300px;

padding:40px 30px;

border-radius:25px;


box-shadow:

0 15px 40px rgba(0,0,0,.12);


text-align:center;


transition:.4s;


}



.card:hover {


transform:

translateY(-15px);


}





.icon {


font-size:55px;

margin-bottom:20px;


}



.card h3 {


color:var(--vert-foret);

margin-bottom:15px;

font-size:1.6rem;


}



.card p {


line-height:1.7;

}







/* =====================================================
   MESSAGE NATURE
===================================================== */

.nature-message {

    padding:90px 30px;

    text-align:center;

    color:white;

    background:
    linear-gradient(
    135deg,
    #28543a,
    #6fa477
    );

}



.nature-message h2 {

    font-size:2.5rem;

    margin-bottom:25px;

}



.nature-message p {

    max-width:800px;

    margin:auto;

    font-size:1.2rem;

    line-height:1.8;

}





/* =====================================================
   ELEMENTS DU PAYSAGE HERO
===================================================== */


/* Cadre général */

.hero {

    height:100vh;

    min-height:650px;

    position:relative;

    overflow:hidden;

}



/* Fond paysage */

.hero-background {

    position:absolute;

    inset:0;

    overflow:hidden;

}



/* Images du décor */

.hero-background img {

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

}





/* Forêt */

.forest {

    z-index:1;

}


/* Nuages */

.clouds {

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:45%;

    z-index:2;

    pointer-events:none;

}



/* Rivière */

.river-svg {

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:70%;

    z-index:2;

    pointer-events:none;

}





/* Texte */

.hero-content {

    position:relative;

    z-index:10;

}





/* =====================================================
   HERISSON - TRAVERSEE DU PAYSAGE
===================================================== */


.herisson {

    position:absolute;

    bottom:0%;

    left:-350px;

    width:280px;

    z-index:4;


    animation:

    walkHedgehog 35s linear infinite;

}



.herisson object {

    width:100%;

    height:auto;

    display:block;

}





@keyframes walkHedgehog {


    from {

        transform:translateX(0);

    }


    to {

        transform:translateX(150vw);

    }


}
















.nav-container {


    width:100%;


    display:flex;


    align-items:center;


    justify-content:space-between;


    gap:20px;


    padding:

    15px 30px;


}





.nav-links {


    display:flex;


    align-items:center;


    justify-content:flex-end;


    flex-wrap:wrap;


    gap:20px;


    list-style:none;


}





.nav-links a {


    color:white;


    text-decoration:none;


    font-weight:600;


    white-space:nowrap;


    text-shadow:

    0 2px 8px rgba(0,0,0,.4);


}





@keyframes cloudFloat {


    from {

        transform:

        translateX(-50%)

        translateY(0);

    }


    to {

        transform:

        translateX(-50%)

        translateY(8px);

    }

}





/* =====================================================
   MENU MOBILE
===================================================== */


@media(max-width:900px){


.navbar {

    top:20px;

    width:94%;

}



.nav-container {

    padding:15px 20px;

}



.nav-links {


    position:absolute;


    top:75px;


    left:0;


    width:100%;


    background:

    rgba(33,77,56,.9);


    border-radius:30px;


    padding:25px;


    display:none;


    flex-direction:column;


}



.nav-links.active {

    display:flex;

}


}
/* =====================================================
   RESPONSIVE
===================================================== */


@media(max-width:900px){


.hero {

    height:90vh;

}



.navbar {

    top:20px;

    width:94%;

}



.hero-content h1 {

    font-size:3rem;

}



.hero-content p {

    font-size:1rem;

}


}




@media(max-width:700px){


.intro {

    padding:60px 20px;

}


.intro h2 {

    font-size:2rem;

}


.card {

    width:100%;

}


.herisson {

    width:220px;

}


}




/* =====================================================
   NUAGES SVG
===================================================== */

.hero-background .clouds {

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:350px;

    z-index:5;

    display:block;

    object-fit:fill;

    opacity:1;

    pointer-events:none;

}
/* =====================================================
   LOGO IMAGE
===================================================== */

.logo-image {

    width:70px;

    height:70px;

    object-fit:contain;

    display:block;

}


.logo {

    display:flex;

    align-items:center;

    gap:15px;

}
/* =====================================================
   ORDRE DES CALQUES HERO
===================================================== */

.hero-background {

    position:absolute;

    inset:0;

    z-index:1;

}



.clouds,
.forest,
.river-svg {

    position:absolute;

}



.herisson {

    z-index:5;

}



.hero-content {

    position:relative;

    z-index:10;

}



.menu-layer {

    z-index:15;

}
/* =====================================================
   SVG BIODIVERSITE
===================================================== */


.biodiversite-icon object {

    width:90px;

    height:90px;

}
.riviere-icon object {

    width:90px;

    height:90px;

}
.education-icon object {

    width:90px;

    height:90px;

}
.chantier-icon object {

    width:90px;

    height:90px;

}
.observatoire-icon object {

    width:90px;

    height:90px;

}
.transmission-icon object {

    width:90px;

    height:90px;

}
/* =====================================================
   OISEAUX ANIMES
===================================================== */


.birds {

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:55%;

    z-index:6;

    pointer-events:none;

    overflow:visible;

}
/* =====================================================
   DEUXIEME LIGNE OISEAUX
===================================================== */

.birds-line2{

top:12%;

z-index:5;

opacity:.65;

transform:scale(.85);

}
/* =====================================================
   CARD EMPREINTE CARBONE
===================================================== */




.carbon-card{

max-width:350px;

margin:40px auto;

padding:18px;

text-align:center;

background:#ffffff;

border-radius:22px;

box-shadow:
0 8px 25px rgba(33,77,56,.12);

}



.carbon-icon img{

width:80px;

height:auto;

display:block;

margin:0 auto 10px;

}



.carbon-card h3{

font-size:1.1rem;

color:var(--vert-foret);

margin-bottom:10px;

}



.carbon-slogan{

font-size:.85rem;

line-height:1.4;

}



#carbon-result{

font-size:.8rem;

line-height:1.5;

}



.carbon-link{

display:inline-block;

margin-top:10px;

font-size:.75rem;

color:#4f8a62;

text-decoration:none;

font-weight:bold;

}



.carbon-link:hover{

text-decoration:underline;

}
/* =====================================================
   ZONE DES PAGES
   RÉSEAU VIVANT — RIVIÈRE / RACINES / NERVURES
===================================================== */

.page-content{

    position:relative;

    display:block;

    width:100%;

    max-width:1100px;

    margin:50px auto;

    padding:45px;

    box-sizing:border-box;

    overflow:hidden;

    border-radius:30px;

    background:#f7fbf8;

    text-align:left;

}


/* =====================================================
   PREMIÈRE TRAME
===================================================== */

.page-content::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.18;

    background-image:

        radial-gradient(
            circle at 20% 20%,
            #5f9d73 1px,
            transparent 1.5px
        ),

        radial-gradient(
            circle at 80% 70%,
            #79b59f 1px,
            transparent 1.5px
        );

    background-size:
        45px 45px,
        70px 70px;

    animation:
        livingPoints 18s linear infinite;

}


/* =====================================================
   GRANDE FORME ORGANIQUE
===================================================== */

.page-content::after{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    right:-250px;

    bottom:-300px;

    border-radius:50%;

    border:

        1px solid rgba(70,125,85,.15);

    box-shadow:

        0 0 0 40px rgba(70,125,85,.05),
        0 0 0 80px rgba(70,125,85,.04),
        0 0 0 120px rgba(70,125,85,.03),
        0 0 0 160px rgba(70,125,85,.025);

    animation:
        livingCircle 20s ease-in-out infinite alternate;

}


/* =====================================================
   MOUVEMENT DES POINTS
===================================================== */

@keyframes livingPoints{

    0%{

        transform:
            translate(0,0);

    }

    50%{

        transform:
            translate(18px,12px);

    }

    100%{

        transform:
            translate(-10px,25px);

    }

}


/* =====================================================
   MOUVEMENT ORGANIQUE
===================================================== */

@keyframes livingCircle{

    0%{

        transform:
            translate(0,0)
            scale(1);

    }

    100%{

        transform:
            translate(-80px,-50px)
            scale(1.15);

    }

}


/* =====================================================
   CONTENU
===================================================== */

.page-content > *{

    position:relative;

    z-index:2;

}
/* =====================================================
   PRÉSENTATION — ALIGNEMENT DU TEXTE
===================================================== */

.association-presentation{

    text-align:left;

}


.association-presentation .presentation-intro{

    text-align:left;

}


.association-presentation .presentation-block{

    text-align:left;

}


.association-presentation h2,
.association-presentation h3{

    text-align:left;

}


.association-presentation p{

    text-align:left;

}


.association-presentation ul{

    text-align:left;

}


.association-presentation li{

    text-align:left;

}


.presentation-motto{

    text-align:left;

}


.presentation-highlight{

    text-align:left;

}


.presentation-conclusion{

    text-align:left;

}


.presentation-signature{

    text-align:center;

}


/* =====================================================
   BOUTONS — CARTE BIODIVERSITÉ
===================================================== */

.card .card-links{

    display:flex !important;

    flex-wrap:wrap;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:20px;

}


.card .card-links .card-button{

    display:inline-flex !important;

    align-items:center;

    justify-content:center;

    width:auto !important;

    min-width:170px;

    padding:10px 18px !important;

    box-sizing:border-box;

    border-radius:30px !important;

    background:#79B59F !important;

    color:#ffffff !important;

    text-decoration:none !important;

    font-size:.9rem;

    font-weight:600;

    line-height:1.2;

    border:none;

    box-shadow:0 5px 14px rgba(33,77,56,.15);

    transition:

        transform .3s ease,

        background .3s ease,

        box-shadow .3s ease;

}


.card .card-links .card-button:hover{

    background:#4f8b63 !important;

    color:#ffffff !important;

    transform:translateY(-3px);

    box-shadow:0 9px 20px rgba(33,77,56,.22);

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width:600px){

    .card .card-links{

        flex-direction:column;

    }


    .card .card-links .card-button{

        width:100% !important;

        max-width:240px;

    }

}
/* =====================================================
   SVG PAGE EN PRÉPARATION
===================================================== */

.page-coming-soon .coming-soon-svg{

    width:110px !important;

    height:110px !important;

    min-width:110px;

    max-width:110px;

    margin:0 auto 25px;

    padding:0;

    display:flex;

    align-items:center;

    justify-content:center;

}


.page-coming-soon .coming-soon-svg img{

    display:block !important;

    width:110px !important;

    height:110px !important;

    max-width:none !important;

    max-height:none !important;

    object-fit:contain;

    margin:0;

    padding:0;

}


/* =====================================================
   BOUTON PAGE EN PRÉPARATION
===================================================== */

.page-coming-soon > a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-top:20px;

    padding:10px 22px;

    border-radius:25px;

    background:#79B59F;

    color:#ffffff !important;

    text-decoration:none;

    font-weight:600;

    box-shadow:0 5px 14px rgba(33,77,56,.15);

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;

}


.page-coming-soon > a:hover{

    background:#4f8b63;

    color:#ffffff !important;

    transform:translateY(-3px);

    box-shadow:
        0 9px 20px rgba(33,77,56,.22);

}