/* Variables */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --accent-color: #00bcd4;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --shadow: 0 4px 20px rgba(0, 188, 212, 0.15);
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: white;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header */
header {
    background-color: rgba(254,252,250,255);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex !important;
    align-items: flex-start !important; /* aligne à gauche */
}

.logo-link {
    display: flex !important;
    flex-direction: column !important; /* Texte au-dessus, logo en-dessous */
    align-items: flex-start !important;
    text-decoration: none;
    transition: transform 0.3s ease;
    gap: 0; /* Supprime l'espace par défaut entre les éléments flex */
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0; /* Ajustez selon besoin */
    text-align: left;
    width: 100%; /* Prend toute la largeur */
    text-indent: 15px;
}

.logo {
    width: 20%; /* Largeur naturelle du logo */
    height: auto;
    margin-top: 0; /* Ajustez si nécessaire */
    align-self: flex-start; /* Alignement à gauche */
}

/* Effet au survol */
.logo-link:hover {
    transform: scale(1.02);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav .active a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Section Digital */
.intro {
    text-align: center;
    margin-bottom: 3rem;
}

.intro h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.intro .subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.services article {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.services article:hover {
    transform: translateY(-5px);
}

.services .icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.services .content {
    flex: 1;
}

.services h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.services ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.valeur-ajoutee {
    background: var(--accent-color);
    color: 333;
}

.valeur-ajoutee h2 {
    color: 4caf50;
}

.valeur-ajoutee ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.valeur-ajoutee li::before {
    content: "✔️ ";
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--light-color);
}

/* Responsive */
@media (max-width: 768px) {
    .services article {
        flex-direction: column;
        text-align: center;
    }
    .services .icon {
        margin-bottom: 1rem;
    }
    .intro h1 {
        font-size: 2rem;
    }
}
