/* --- Variables et Reset --- */
:root {
    --white: #ffffff;
	--dark: #000000;
    --pale-blue: #bbdefb;   /* Bleu clair soutenu */
    --pale-green: #c8e6c9;  /* Vert clair soutenu */
    --pale-brown: #d7ccc8;  /* Marron/Terre clair soutenu */
    --dark-blue: #1565c0;
    --dark-green: #2e7d32;
    --dark-brown: #5d4037;
    --text-color: #333;
}

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

html {
    scroll-behavior: smooth; /* Scrolling lent natif */
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
}

/* --- Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--dark);
}

.logo span { color: var(--dark); }

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

nav ul li { margin-left: 30px; }

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover { color: var(--dark-green); }

.btn-contact {
    background: var(--dark-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* --- Bannière --- */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://www.sea19.fr/img/water-river.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

.cta-button {
    padding: 15px 30px;
    background: var(--dark-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

/* --- Sections Thématiques --- */
.theme-row {
    display: flex;
    align-items: center;
    padding: 100px 10%;
    gap: 60px;
}
/*--pale-brown
--pale-green
--pale-blue*/

.theme-blue { background-color: var(--pale-brown); }
.theme-brown { background-color: var(--pale-green); }
.theme-green { background-color: var(--pale-blue); }

.reverse { flex-direction: row-reverse; }

.theme-text { flex: 1; }
.theme-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.theme-blue h2 { color: var(--dark-brown); }
.theme-brown h2 { color: var(--dark-green); }
.theme-green h2 { color: var(--dark-blue); }

.theme-img { flex: 1; }
.theme-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Partenaires --- */
.partners {
    padding: 60px 10%;
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 20px;
}

.logo-item {
    font-weight: bold;
    color: #999;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: 2px solid #eee;
}

/* --- Footer --- */
footer {
    background: var(--pale-blue);
    padding: 60px 0 20px;
}

.footer-info {
    text-align: center;
    margin-bottom: 40px;
}

.footer-info a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* --- Bouton Remonter --- */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--dark-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2000;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .theme-row, .theme-row.reverse {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }
    nav { display: none; }
    .hero-content h1 { font-size: 2rem; }
}