﻿/* --------------------------
HEADER MODERNE PREMIUM
--------------------------- */

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: 0.3s ease-in-out;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: 0.3s ease-in-out;
}

/* Réduction du logo au scroll */
body.scrolled .logo img {
    height: 55px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 34px;
    align-items: center;
    margin: 0;
}

    .nav-links a {
        text-decoration: none;
        font-weight: 600;
        color: #113a2b;
        font-size: 1.05rem;
        transition: 0.25s;
    }

        .nav-links a:hover {
            color: #00856F;
            transform: translateY(-2px);
        }

.btn-login {
    padding: 10px 22px;
    background: #00856F;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,133,111,0.25);
}

    .btn-login:hover {
        background: #006d5b;
    }

/* Shrink header */
body.scrolled .main-header {
    padding: 8px 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(18px);
}

/* --------------------------
BURGER
--------------------------- */

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    z-index: 99999;
}

    .burger-btn span {
        width: 32px;
        height: 3px;
        background: #113a2b;
        border-radius: 3px;
        transition: 0.35s ease;
    }

    /* Animation en X */
    .burger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translateY(9px);
    }

    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-9px);
    }

/* --------------------------
MENU MOBILE
--------------------------- */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 12px rgba(0,0,0,0.1);
    padding-top: 90px;
    transition: right 0.3s ease;
    z-index: 9999;
}

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu ul {
        list-style: none;
        padding-left: 20px;
    }

        .mobile-menu ul li {
            margin-bottom: 20px;
        }

            .mobile-menu ul li a {
                text-decoration: none;
                color: #113a2b;
                font-size: 1.2rem;
                font-weight: 600;
            }

/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .burger-btn {
        display: flex;
    }
}

/* --------------------------
HERO SECTION
--------------------------- */

.hero-full {
    height: 75vh;
    background: url('/img/hero.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    .hero-full .hero-overlay {
        background: rgba(0,0,0,0.40);
        padding: 45px 80px;
        border-radius: 12px;
        text-align: center;
        color: white;
    }

    .hero-full h1 {
        color: #fff !important;
        font-size: 2.7rem;
        font-weight: 800;
        text-shadow: 0 3px 10px rgba(0,0,0,0.45);
    }

/* --------------------------
H1 GLOBAL (Pages internes)
--------------------------- */

h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -1px;
}

    h1:after {
        content: "";
        width: 80px;
        height: 4px;
        background: #00856F;
        display: block;
        margin: 12px auto 0;
        border-radius: 2px;
    }

/* --------------------------
WHATSAPP FLOAT
--------------------------- */

.whatsapp-modern {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #1ebe5b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    z-index: 9999;
    transition: 0.25s;
}

    .whatsapp-modern:hover {
        transform: scale(1.08);
    }

/* --------------------------
FOOTER
--------------------------- */

.footer-huin {
    background: #1b1b1b;
    color: #d6d6d6;
    padding: 40px 0;
    text-align: center;
}

.footer-copy {
    font-size: 14px;
    opacity: 0.8;
}

.btn-hero-green {
    display: inline-block;
    padding: 15px 38px;
    background: linear-gradient(135deg, #3A6049, #4e7a5f);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 15px rgba(58,96,73,0.35);
    transition: 0.25s ease;
}

    .btn-hero-green:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(58,96,73,0.55);
        background: linear-gradient(135deg, #4e7a5f, #3A6049);
        color: #fff;
    }
/* === CONTENT WRAPPER GLOBAL === */
.content-wrapper {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.content-inner {
    width: 100%;
    max-width: 1000px;
    background: #fff;
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

    /* TITRES */
    .content-inner h1 {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 25px;
        text-align: center;
    }

    .content-inner h2 {
        font-size: 1.6rem;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    /* TEXTE */
    .content-inner p,
    .content-inner li {
        font-size: 1.08rem;
        line-height: 1.7;
        color: #444;
    }

    .content-inner ul {
        padding-left: 20px;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .content-inner {
        padding: 25px 20px;
    }

        .content-inner h1 {
            font-size: 2rem;
        }
}

.page-section {
    max-width: 1100px;
    margin: 120px auto;
    padding: 20px;
}

/* GRID ALIGNÉE HAUTEUR IDENTIQUE */
.plans-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

/* STYLE DES CARTES */
.plan-card {
    padding: 32px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Rend toutes les cartes égales */
    border-top: 8px solid transparent;
    transition: .3s ease;
}

/* Couleurs premium */
.plan-1 {
    border-color: #A7E9C1;
}
/* Verde agua pastel */
.plan-2 {
    border-color: #8FD7A8;
}
/* Verde claro */
.plan-3 {
    border-color: #C1A875;
}
/* Dorado suave */
.plan-4 {
    border-color: #7BC4A3;
}
/* Verde Patagonia */

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.10);
}

.plan-card h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.plan-card .price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3A6049;
    margin: 15px 0;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

    .plan-card ul li {
        margin: 8px 0;
    }

/* Bouton */
.btn-plan {
    display: inline-block;
    padding: 10px 22px;
    background: #3A6049;
    color: white !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

    .btn-plan:hover {
        background: #2e4d3a;
    }

/* MOBILE */
@media (max-width: 768px) {
    .page-section {
        margin-top: 90px;
        padding: 10px;
    }
}

/* === FORMULAIRE REGISTRO (Version complète & propre) === */

.registro-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    font-family: Inter, sans-serif;
}

    .registro-section h1 {
        text-align: center;
        font-size: 2.2rem;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 5px;
    }

    .registro-section .sub {
        text-align: center;
        margin-bottom: 25px;
        color: #666;
        font-size: 1rem;
    }

.registro-form {
    display: flex;
    flex-direction: column;
}

    /* Labels */
    .registro-form label {
        margin-top: 15px;
        font-weight: 600;
        color: #333;
    }

    /* Inputs & selects */
    .registro-form input,
    .registro-form select {
        width: 100%;
        padding: 12px;
        margin-top: 6px;
        border-radius: 10px;
        border: 1px solid #dcdcdc;
        font-size: 15px;
        background: #fafafa;
        transition: 0.15s border ease;
    }

        .registro-form input:focus,
        .registro-form select:focus {
            border-color: #3A6049;
            outline: none;
            background: white;
        }

/* Bouton submit */
.btn-submit {
    margin-top: 30px;
    width: 100%;
    background: #3A6049;
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

    .btn-submit:hover {
        background: #4e7a5f;
    }

/* === Responsive === */
@media (max-width: 600px) {
    .registro-section {
        margin: 20px;
        padding: 20px;
    }

        .registro-section h1 {
            font-size: 1.8rem;
        }
}
