/* Reset et variables */
:root {
    /* Option 1 : Jaune soleil (plus vif) */
    --primary: #FDB813;    /* Jaune soleil */
    --primary-dark: #E5A712; /* Version plus foncée */

    /* Option 2 : Jaune miel (plus chaud) */
    /* --primary: #FFA000; */    /* Jaune miel */
    /* --primary-dark: #FF8F00; */ /* Version plus foncée */

    /* Option 3 : Jaune safran (plus doux) */
    /* --primary: #F4C430; */    /* Jaune safran */
    /* --primary-dark: #DAA520; */ /* Version plus foncée */

    /* Option 4 : Jaune citron (plus frais) */
    /* --primary: #FFD600; */    /* Jaune citron */
    /* --primary-dark: #FFC400; */ /* Version plus foncée */

    /* Couleurs communes */
    --dark: #000000;       /* Bleu-gris foncé du footer */
    --light: #ffffff;      /* Blanc */
    --max-width: 1200px;
    --background: #f5f6fa; /* Gris très clair pour le fond */

    /* Variables pour une cohérence visuelle */
    --primary-color: #000000;
    --secondary-color: #000000;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(44, 62, 80, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main container */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--light);
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-wrapper {
    padding-right: 20px;
}

.subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.content-wrapper h1 {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.content-wrapper p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: var(--light);
}

/* Why Choose Us Section */
.why-choose-us {
    background: #f8f9fa;
    padding: 100px 20px;
    text-align: center;
}

.content-wrapper.reverse {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.text-content {
    max-width: 800px;
}

.text-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-wrapper {
        padding-right: 0;
    }

    .content-wrapper h1 {
        font-size: 2rem;
    }
}

/* Animations continues */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Application des animations continues */
.image-content img {
    animation: float 6s ease-in-out infinite;
}

.certification-badges .badge {
    background: linear-gradient(
        90deg,
        rgba(44, 62, 80, 0.9),
        rgba(44, 62, 80, 1),
        rgba(44, 62, 80, 0.9)
    );
    background-size: 200% auto;
    animation: shine 8s linear infinite;
}

.features-list li {
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

/* Animation continue des boutons */
.cta-button, .learn-more {
    position: relative;
    background: linear-gradient(
        90deg,
        #000000,
        #000000,
        #000000
    );
    background-size: 200% auto;
    animation: shine 6s linear infinite;
    color: white;
    transition: all 0.3s ease;
}

.cta-button:hover, .learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* Animation continue des titres */
.highlight {
    background: linear-gradient(
        90deg,
        #000000,
        #000000,
        #000000
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
}

/* Animation continue des sections */
.protection-section-alt {
    position: relative;
    overflow: hidden;
}

.protection-section-alt::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shine 8s linear infinite;
}

/* Suppression des animations basées sur l'intersection observer */
.protection-section-alt,
.text-wrapper,
.image-content,
.certification-badges,
.features-list,
.features-list li {
    opacity: 1;
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .content-wrapper h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .why-choose-us {
        padding: 40px 20px;
    }

    .content-wrapper h1 {
        font-size: 1.8rem;
    }

    .text-content h2 {
        font-size: 1.6rem;
    }
}

.protection-section {
    padding: 4rem 2rem;
    background-color: var(--primary);
}

.protection-section .content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.protection-section .text-content {
    flex: 1;
    color: #fff;
}

.protection-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.protection-section .highlight {
    color: #000;
}

.protection-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.protection-section .image-content {
    flex: 1;
}

.protection-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .protection-section .content-container {
        flex-direction: column;
    }
    
    .protection-section .text-content {
        text-align: center;
    }
}

.protection-section-alt {
    padding: 6rem 2rem;
    background-color: var(--light);
}

.protection-section-alt .content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.protection-section-alt .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.protection-section-alt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.protection-section-alt img:hover {
    transform: scale(1.05);
}

.protection-section-alt .text-wrapper {
    padding-right: 2rem;
}

.protection-section-alt .section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.protection-section-alt h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.protection-section-alt .highlight {
    color: var(--primary);
}

.protection-section-alt p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.protection-section-alt .learn-more {
    display: inline-block;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.protection-section-alt .learn-more:hover {
    color: var(--primary);
}

@media (max-width: 968px) {
    .protection-section-alt .content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .protection-section-alt .text-wrapper {
        padding-right: 0;
        text-align: center;
    }
    
    .protection-section-alt h2 {
        font-size: 2.2rem;
    }
}

.protection-section-dynamic {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.protection-section-dynamic .content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.protection-section-dynamic .section-badge {
    display: inline-block;
    background: rgba(244, 130, 31, 0.1);
    color: #f4821f;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.protection-section-dynamic h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.protection-section-dynamic .title-accent {
    color: #f4821f;
    display: inline-block;
    position: relative;
}

.protection-section-dynamic .title-accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f4821f;
    border-radius: 2px;
}

.protection-section-dynamic .feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.protection-section-dynamic .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.protection-section-dynamic .icon {
    background: #f4821f;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.protection-section-dynamic .feature-item p {
    color: #444;
    font-size: 1.1rem;
    margin: 0;
}

.protection-section-dynamic .action-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.protection-section-dynamic .action-button:hover {
    background: #f4821f;
    transform: translateY(-2px);
}

.protection-section-dynamic .arrow {
    transition: transform 0.3s ease;
}

.protection-section-dynamic .action-button:hover .arrow {
    transform: translateX(5px);
}

.protection-section-dynamic .image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.protection-section-dynamic .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(244, 130, 31, 0.2), transparent);
    z-index: 1;
}

.protection-section-dynamic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.protection-section-dynamic .image-container:hover img {
    transform: scale(1);
}

@media (max-width: 1024px) {
    .protection-section-dynamic .content-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .protection-section-dynamic .image-column {
        order: -1; /* Place image on top in mobile view */
    }

    .protection-section-dynamic h2 {
        font-size: 2.5rem;
    }

    .protection-section-dynamic .text-content {
        text-align: center;
    }

    .protection-section-dynamic .feature-list {
        align-items: center;
    }

    .protection-section-dynamic .feature-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .protection-section-dynamic h2 {
        font-size: 2rem;
    }

    .protection-section-dynamic .feature-item p {
        font-size: 1rem;
    }
}

/* Mise à jour des styles pour la hero section */
.hero-section {
    background: var(--light);
}

.subtitle {
    color: var(--primary);
}

.content-wrapper h1 {
    color: var(--dark);
}

.cta-button {
    background: var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: var(--light);
}

/* Mise à jour des sections protection-section-alt */
.protection-section-alt .content-container {
    background: var(--light);
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
}

.highlight {
    color: var(--primary);
}

/* Mise à jour des backgrounds colorés derrière les images */
.image-content > div {
    background-color: var(--primary) !important;
}

.learn-more {
    color: var(--dark);
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: var(--primary);
}

.certification-badges {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.badge {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    margin-bottom: 0.8rem;
    color: #000000;
    font-size: 1.1rem;
}

/* Animations raffinées */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Styles professionnels pour les sections */
.protection-section-alt {
    position: relative;
    transition: transform 0.6s var(--transition-smooth);
}

.protection-section-alt:hover {
    transform: translateY(-2px);
}

/* Style sophistiqué pour les images */
.image-content {
    position: relative;
    overflow: hidden;
}

.image-content img {
    transition: all 0.8s var(--transition-smooth);
    filter: saturate(1.05) contrast(1.05);
}

.image-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.image-content:hover::after {
    opacity: 0.1;
}

/* Animation élégante des badges */
.certification-badges .badge {
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color)
    );
    background-size: 200% 100%;
    animation: gradientFlow 15s infinite linear;
    transition: transform 0.4s var(--transition-smooth);
}

.certification-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Style raffiné pour les boutons */
.cta-button, .learn-more {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    background: var(--primary-color);
}

.cta-button::before, .learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s var(--transition-smooth);
}

.cta-button:hover::before, .learn-more:hover::before {
    left: 100%;
}

/* Animation sophistiquée des listes */
.features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1rem;
    transition: transform 0.3s var(--transition-smooth);
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5em;
    line-height: 1;
    transition: all 0.3s var(--transition-smooth);
}

.features-list li:hover {
    transform: translateX(5px);
}

.features-list li:hover::before {
    color: var(--secondary-color);
}

/* Animation élégante des titres */
.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--transition-smooth);
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
} 