/* ============================
   IMPORTATION DES POLICES
============================ */
@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;700&display=swap');

/* ============================
   VARIABLES GLOBALES
============================ */
:root {
    --gris-anthracite: #333333;
    --blanc: #ffffff;
    --beige: #F6F1EB;
    --bordeaux: #4c0412;
    --font-main: 'Helvetica Neue', sans-serif;
    --font-secondary: 'orator-std', monospace;
}

/* ============================
   STYLE GÉNÉRAL
============================ */
body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background: var(--blanc);
    color: var(--gris-anthracite);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    letter-spacing: 1px;
}

p {
    font-family: var(--font-main);
    letter-spacing: 2px;
    line-height: 1.5;
}

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


/* ============================
   NAVIGATION
============================ */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.4s ease-in-out;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
    z-index: 1200;
}

.logo {
    height: 50px;
    width: auto;
}

/* Masque le logo desktop sur mobile */
.logo-mobile {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.nav-links a {
    font-size: 14px;
    color: var(--gris-anthracite);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--bordeaux);
}

.navbar.scrolled {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-right: 20px;
    z-index: 1200;
}

@media (max-width: 768px) {
    .logo-mobile {
        display: block;
        height: 30px;
    }
    .logo-desktop {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background: rgba(51, 51, 51, 0.9);
        width: 100%;
        height: 100vh;
        align-items: center;
        transform: translateY(-105%);
        transition: transform 0.4s ease-in-out;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links a {
        font-size: 18px;
        color: var(--blanc);
        padding: 15px;
        display: block;
    }
}
/* ============================
   lien contenu
============================ */
.nav-link-style {
    font-size: 14px; /* Même taille que les liens du menu */
    color: var(--gris-anthracite);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-link-style:hover {
    color: var(--bordeaux); /* Même effet de survol que le menu */
}

/* ============================
   SECTIONS & CONTENU
============================ */
.full-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--beige);
}

.full-screen:nth-child(even) {
    background: var(--blanc);
    color: var(--gris-anthracite);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../img/hero2.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--blanc);
}

.hero-logo {
    width: 150px;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1.5s ease-out forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* ============================
SECTION HÉBERGEURS
============================ */
.hebergeurs {
background: var(--beige);
padding: 80px 0;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
    min-height: auto;
   height: auto;
    box-sizing: border-box;
}

.hebergeurs-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
max-width: 1000px;
margin: auto;
}

.hebergeurs-item {
background: var(--blanc);
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out;
}

.hebergeurs-item i {
    display: block;
    font-size: 32px;
    color: var(--bordeaux);
    margin-bottom: 10px;
}

.hebergeurs-item:hover {
transform: scale(1.05);
}

.hebergeurs-item h3 {
color: var(--bordeaux);
font-size: 16px;
margin-bottom: 10px;
font-weight: bold;
font-family: var(--font-main);
}

.hebergeurs-item p {
font-size: 14px;
color: var(--gris-anthracite);
line-height: 1.6;
}

@media (max-width: 768px) {
    .hebergeurs{
        padding: 60px 20px;
    }
.hebergeurs-content {
grid-template-columns: 1fr;
gap: 15px;
}

.hebergeurs-item {
padding: 15px;
}

.hebergeurs-item h3 {
font-size: 20px;
    
}

.hebergeurs-item p {
font-size: 14px;
}
}

/* ============================
   SECTION POURQUOI S'INSCRIRE
============================ */
.why-inscription {
    background: var(--blanc);
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.why-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.why-text {
    flex: 1;
    max-width: 50%;
    min-width: 40%;
}

.why-text ul {
    padding: 0;
    list-style-type: none;
}

.why-text ul li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.why-text strong {
    color: var(--bordeaux);
}

.why-image {
    flex: 1;
    max-width: 45%;
      margin-left: 20%;
}

.why-image img {
    width: 100%;
}

/* Responsive Mobile & Tablette */
@media (max-width: 1024px) {
    .why-content {
        flex-direction: column;
        text-align: center;
    }

    .why-text {
        max-width: 100%;
    }
    
   .why-image {
       margin-left: auto;
       margin-right: 31%;
    }


    .why-text ul {
        padding-left: 0;
    }

    .why-image img {
        width: 100%;
    }
}

/* FORMULAIRE D'INSCRIPTION */
.inscription {
    background: var(--beige);
    padding: 60px 0;
}

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}
label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, select:focus {
    border-color: #333;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

form input {
    width: 95%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid var(--gris-anthracite);
    border-radius: 5px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 15px 30px;
    border: 2px solid var(--bordeaux);
    background-color: white;
    color: var(--gris-anthracite);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: larger;
}

.btn:hover {
    background-color: var(--bordeaux);
    color: var(--blanc);
}
