/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 200; /* Texte normal */
    background-color: #f4f4f4;
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}

/* Blocage des versions tablette et desktop */
#development-block {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Header */
.header {
    background-color: #0e3a30;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .logo .logo-img {
    height: 80px;
    object-fit: contain;
}

/* Menu Burger */
.menu-burger {
    position: block;
}

.menu-burger .nav-menu {
    display: none;
}

#menu-toggle:checked ~ .nav-menu {
    display: block;
}

/* Navigation classique (visible en tablette) */
.nav-menu-tablette {
    display: none;
}

.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #0e3a30;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 15px 15px;
    text-align: center;
    z-index: 9999;
}

#menu-toggle:checked ~ .nav-menu {
    display: block;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 10px 0;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff7f50;
}

/* Section principale */
.main-section {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #6ce49f, #ffffff);
    color: #0e3a30;
    border: none;
    max-width: 100%; /* Pleine largeur pour mobile */
    margin: 0 auto;
}

.main-title {
    font-size: 1.8rem;
    color: #0e3a30;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.main-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Styles pour le bouton d'appel à l'action */
.main-section .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #0e3a30;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.main-section .cta-button:hover {
    background-color: #094d3c;
    transform: scale(1.05);
}

/* Section Introduction */
.introduction-section {
    padding: 4rem 1rem;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    border: none;
}

.introduction-title {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
}

.introduction-image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
}

.introduction-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.introduction-subtitle {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 700px;
}

/* Section Comment ça Fonctionne */
.how-it-works-section {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    border: none;
}

.how-it-works-title {
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
}

.how-it-works-intro {
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 3rem;
}

.how-it-works-steps {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    padding-left: 1rem;
    list-style: decimal inside;
    color: #333333;
    line-height: 1.8;
    font-weight: 200;
}

.how-it-works-steps li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.how-it-works-steps strong {
    color: #0e3a30;
    font-weight: 600;
    font-style: italic;
}

.how-it-works-outro {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.8;
}

/* Bouton Appel à l'Action */
.cta-button {
    background-color: #6ce49f;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: #0d362d;
    color: #ffffff;
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Section Avantages */
.advantages-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #6ce49f, #0e3a30, #ffffff);
}

.advantages-title {
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
}

.advantages-intro {
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.advantage-heading {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    font-weight: 200;
}

/* Section Formulaire */
.contact-form {
    background-color: #ffffff;
    padding: 4rem 1rem;
    text-align: center;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-style: italic;
    color: #333333;
}

/* Conteneur du formulaire */
.form-container {
    background: linear-gradient(to bottom, #6ce49f, #0e3a30);
    color: #ffffff;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Champs du formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    color: #ffffff;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 200;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #6ce49f;
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(108, 228, 159, 0.5);
}

/* Case à cocher */
.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #6ce49f;
}

/* Bouton Envoyer */
.submit-button {
    background-color: #6ce49f;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 200px;
    margin: 0 auto;
}

.submit-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.submit-button:hover:enabled {
    background-color: #0d362d;
    color: #ffffff;
}

/* Footer */
.footer {
    background-color: #0e3a30;
    color: #ffffff;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 3px solid #6ce49f;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Mentions légales */
.footer-info {
    font-size: 0.9rem;
    text-align: center;
}

.footer-info p,
.footer-info a {
    margin: 0.5rem 0;
    color: #ffffff;
    text-decoration: none;
}

.footer-info a:hover {
    color: #6ce49f;
    text-decoration: underline;
}

/* Section Réseaux Sociaux */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Icône Instagram */
.instagram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

.instagram-link:hover {
    color: #6ce49f;
}

/* Liens des pages légales */
.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-legal a {
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-legal a:hover {
    color: #6ce49f;
    text-decoration: underline;
}
