/* --- PALETTE --- */
:root {
    --primary-green: #4a7c59; 
    --primary-purple: #8a7fc7; 
    --text-dark: #3b3b3b;
    --text-light: #f4f4f4;
    --bg-light-green: #f2f5f3; 
    --bg-light-purple: #f4f3f8; 
    --border-color: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2.5rem;}
h3 { font-size: 1.4rem; color: var(--primary-green); }

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--bg-light-green);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #3b6146; /* Vert plus foncé */
    transform: translateY(-2px);
}

/* --- EN-TÊTE & NAVIGATION --- */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 2rem;
}

.logo-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
}

.logo-link img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-purple); 
    font-weight: 700;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-green);
}

/* --- SECTION HÉROS (ACCUEIL) --- */
#accueil {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-logo-img {
    width: 150px; 
    height: auto;
    margin-bottom: 2rem; 
}

#accueil h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.launch-info {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* --- SECTION HÉROS (PAGES DE SERVICE) --- */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* --- SECTION SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
     box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.service-card p {
    font-size: 0.95rem;
}

.info-box {
    margin-top: 3rem;
    padding: 20px;
    background-color: var(--bg-light-purple); 
    border-left: 5px solid var(--primary-purple); 
    border-radius: 5px;
    text-align: center;
}

/* --- SECTION À PROPOS --- */
.about-content {
    text-align: center;
}

.about-text {
    max-width: 800px; 
    margin: 0 auto; 
}

.about-text p {
    margin-bottom: 1rem;
}

/* --- SECTION CONTENU (PAGES DE SERVICE) --- */
.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-section ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.highlight-box {
    background-color: var(--bg-light-purple);
    border-left: 5px solid var(--primary-purple);
    padding: 25px;
    border-radius: 5px;
    margin: 2rem 0;
}

.sap-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid var(--primary-purple);
    border-radius: 12px;
    padding: 30px;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(138, 127, 199, 0.15);
    position: relative;
}

.sap-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-green));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.1;
}

.sap-box img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.sap-box h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sap-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.sap-box p:last-child {
    margin-bottom: 0;
    font-style: italic;
    font-size: 0.95rem;
    color: #666;
}

.sap-box strong {
    color: var(--primary-green);
    font-size: 1.15rem;
}

/* --- SECTION CONTACT --- */
#contact {
     background-color: var(--bg-light-green);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

form textarea {
    min-height: 150px;
}

.contact-info h3 {
    color: var(--primary-purple);
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info li strong {
    color: var(--primary-purple);
    display: block;
    font-size: 0.9rem;
}

/* --- PIED DE PAGE --- */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* --- MENTIONS LÉGALES PAGE --- */
body.mentions-legales {
    background-color: #f7f9fa;
}

.mentions-legales .container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.mentions-legales h1, 
.mentions-legales h2 {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-purple);
    padding-bottom: 10px;
}

.mentions-legales h1 {
    text-align: center;
    font-size: 2.5rem;
    border-bottom: none;
}

.mentions-legales h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

.mentions-legales p, 
.mentions-legales li {
    line-height: 1.8;
}

.mentions-legales ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}

.mentions-legales a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700;
}

.mentions-legales a:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE (MOBILES) --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    header .container {
        justify-content: center; 
    }
    
    nav {
        display: none; 
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
    }
    
    .about-content {
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr; /* Une seule colonne */
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .mentions-legales h1 {
        font-size: 2rem;
    }
    
    .mentions-legales h2 {
        font-size: 1.5rem;
    }
}
