:root {
    --primary-color: #4a6cf7;
    --secondary-color: #2ecc71;
    --gradient: linear-gradient(135deg, #4a6cf7, #2ecc71);
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Header avec effet de gradient */
header {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="100" cy="100" r="1" fill="white" opacity="0.1"/><circle cx="300" cy="300" r="1" fill="white" opacity="0.1"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Conteneur flexible pour le header */
.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Conteneur pour le texte (titre + sous-titre) */
.hero-text {
    flex: 1;
    max-width: 600px;
}

/* Style pour le titre et sous-titre */
.hero-text h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Style pour la photo de profil */
.hero-image {
    flex: 0 0 350px;
    text-align: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.03);
}

/* Nom sous la photo */
.profile-name {
    color: white;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
}

/* Bouton CTA avec effet de gradient */
.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-primary);
    box-shadow: var(--box-shadow);
    /* transition: var(--transition); */
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: right;
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button:hover {
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Badge de scarcity */
.scarcity-badge {
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    animation: pulse 2s infinite;
    margin-left: 10px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Sections générales */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--dark-color);
}

/* Conteneur pour les problèmes et solutions */
.problems-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
}

/* Style pour chaque côté (problèmes et solutions) */
.problem-side, .solution-side {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.problem-side {
    border-top: 5px solid #e74c3c;
}

.solution-side {
    border-top: 5px solid var(--secondary-color);
}

.problem-side:hover, .solution-side:hover {
    transform: translateY(-5px);
}

/* Titres des colonnes */
.problem-side h3, .solution-side h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-color);
}

.problem-side h3 {
    color: #e74c3c;
}

.solution-side h3 {
    color: var(--secondary-color);
}

/* Style pour les listes */
.problem-list, .solution-list {
    list-style: none;
}

.problem-list li, .solution-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
}

/* Icônes pour les problèmes et solutions */
.problem-icon, .solution-icon {
    margin-right: 15px;
    margin-top: 2px;
    font-size: 1.2rem;
}

.problem-icon {
    color: #e74c3c;
}

.solution-icon {
    color: var(--secondary-color);
}

/* Style pour le texte des listes */
.problem-list span, .solution-list span {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--dark-color);
}

/* Cartes avec ombres et animations */
.pillar {
    flex: 1 1 300px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pillar .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Témoignages */
.testimonial {
    max-width: 700px;
    margin: 0 auto 30px;
    font-style: italic;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

/* Conteneur pour les offres (cartes) */
.offers-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Style des cartes d'offre */
.offer-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* En-tête de la carte (titre + prix) */
.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.offer-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.offer-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.offer-price {
    background: var(--gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.offer-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Bouton dans les cartes */
.offer-card .cta-button {
    display: block;
    text-align: center;
    margin: 0 auto;
}

/* Tableau des offres (masqué sur mobile) */
.offer-table {
    display: none;
}

.offer-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.offer-table th {
    background: var(--gradient);
    color: white;
    padding: 15px;
    text-align: center;
}

.offer-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.offer-table tr:hover {
    background: rgba(74, 108, 247, 0.05);
}

/* Affichage du tableau sur les grands écrans */
@media (min-width: 768px) {
    .offers-container {
        display: none;
    }

    .offer-table {
        display: block;
    }
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        flex: none;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .profile-img {
        width: 250px;
        height: 250px;
    }
    .problems-container {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .profile-img {
        width: 200px;
        height: 200px;
    }
    .section-title {
        font-size: 1.6rem;
    }
}


#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

#cookie-consent-banner p {
    margin-bottom: 15px;
    font-size: 1rem;
}

#cookie-consent-banner button {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

#accept-cookies {
    background: #4a6cf7;
    color: white;
    margin-right: 10px;
}

#decline-cookies {
    background: #666;
    color: white;
}
