/* VINDICA - Feuille de style principale */

/* Variables de couleurs basées sur la charte graphique */
:root {
    --primary-green: #2A7E43; /* Vert VINDICA */
    --primary-burgundy: #8C1C2C; /* Bordeaux VINDICA */
    --accent-gold: #D4B572; /* Beige/doré VINDICA */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-off-white: #F8F8F8;
    --bg-light-green: rgba(42, 126, 67, 0.05);
    --bg-light-burgundy: rgba(140, 28, 44, 0.05);
    --transition-speed: 0.3s;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-burgundy));
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

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

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto; 					  
}

/* En-tête (Header) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-speed);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px;
}

.logo img {
    height: 100%;
    width: auto;
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-burgundy));
    transition: width var(--transition-speed);
}

nav ul li a:hover::after {
    width: 100%;
}

.language-selector select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--bg-light);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

/* Section d'accueil (Hero) */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-green);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

.cta-button:hover {
    background-color: var(--primary-burgundy);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Présentation de l'entreprise */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Domaines d'activités */
.activities {
    background-color: var(--bg-light-green);
}

.activities-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.activity-card {
    display: flex;
    align-items: center;
    gap: 3rem;
}

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

.activity-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.activity-text {
    flex: 1;
}

.activity-text h3 {
    color: var(--primary-green);
}

/* Domaines de recherche */
.research {
    background-color: var(--bg-light-burgundy);
}

.research-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.research-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition-speed);
}

.research-item:hover {
    transform: translateY(-10px);
}

.research-icon {
    font-size: 2.5rem;
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
}

.research-item h3 {
    color: var(--primary-burgundy);
}

/* Formulaire de contact */
.contact {
    background-color: var(--bg-off-white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.submit-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-burgundy);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.submit-button:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pied de page (Footer) */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    height: 120px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-light);
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
}

.footer-language select {
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #444;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

.footer-legal {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
    font-size: 0.875rem;
}

/* Arrière-plan défilant */
.scrolling-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.plant-evolution {
    position: absolute;
    right: 5%;
    height: 100%;
    width: 100px;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .activity-card,
    .activity-card.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
}
