/* Custom Styles for instaneat */
:root {
    --color-primary: #58AE2F;
    --color-primary-dark: #4a9428;
    --color-primary-light: #6bbf3a;
    --color-neutral-light: #f5f5f5;
    --color-neutral-dark: #333333;
    --color-text-main: #333333;
    --color-text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Header et Menu Mobile */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Menu Mobile */
#mobile-menu {
    position: fixed;
    top: 80px; /* Hauteur du header */
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 80px); /* Prend toute la hauteur disponible sous le header */
    background-color: white;
    z-index: 40;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0 2rem; /* Plus d'espace en bas */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

#mobile-menu.mobile-menu-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Contenu du menu mobile */
#mobile-menu > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-main);
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 0.5rem;
    margin: 0.25rem 0;
}

#mobile-menu a:hover,
#mobile-menu a:focus {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--color-primary);
}

/* Conteneur principal */
main {
    padding-top: 80px; /* Hauteur du header fixe */
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Correction de la couleur de fond de la section hero */
#hero {
    background-color: #f5f5f5;
    padding-top: 5rem;
}

/* Ajustements pour les images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Bouton du menu mobile */
#mobile-menu-button {
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Correction pour le contenu principal */
main {
    overflow-x: hidden;
    width: 100%;
}

/* Ajustements pour les sections */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
