/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* CLASSES DE FOND ALTERNÉS */
.section-white {
    background-color: #FFFFFF;
    color: #1A1D23;
}

.section-blue {
    background: linear-gradient(135deg, #1A1D23 0%, #2D3748 100%);
    color: #FFFFFF;
}

.section-blue .section-title h2,
.section-blue .section-title p {
    color: #FFFFFF;
}

.section-blue .section-title h2 i,
.section-blue .section-title p i {
    color: #FFFFFF;
}

/* TYPOGRAPHIE */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1rem;
    opacity: 0.9;
}

/* BADGE HERO */
.badge-hero {
    background: linear-gradient(135deg, #1A1D23, #2D3748);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-hero i {
    color: #2563EB;
}

/* HERO SECTION */
.hero {
    padding: 5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-description {
    font-size: 1.1rem;
    color: #4A5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.section-blue .hero-description {
    color: #CBD5E1;
}

.btn-download-hero {
    display: inline-block;
    background: linear-gradient(105deg, #2563EB, #1D4ED8);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-download-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-download-hero i {
    margin-right: 0.5rem;
}

/* BOOK CARD - IMAGE DU LIVRE AGRANDIE */
.book-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 35px 50px -20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.mockup-img:hover {
    transform: scale(1.03);
}

/* ANIMATION D'ENTRÉE POUR L'IMAGE DU LIVRE */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTION PROBLÈME */
.problem-section {
    padding: 5rem 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.bullet-list-danger {
    list-style: none;
}

.bullet-list-danger li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.section-white .bullet-list-danger li {
    color: #1A1D23;
}

.section-blue .bullet-list-danger li {
    color: #FFFFFF;
}

.bullet-list-danger li i {
    color: #EF4444;
    width: 20px;
}

.warning-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid #F59E0B;
    backdrop-filter: blur(4px);
}

.warning-card h3 {
    color: #FBBF24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.consequences-list {
    list-style: none;
    margin: 1rem 0;
}

.consequences-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.consequences-list li i {
    color: #F59E0B;
}

.highlight {
    margin-top: 1rem;
    color: #FCD34D;
}

/* SECTION DÉCOUVRIR */
.discover-section {
    padding: 5rem 0;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-white .check-list li {
    color: #1A1D23;
}

.check-list li i {
    color: #10B981;
    font-size: 1.1rem;
}

/* SECTION AUDIENCE */
.audience-section {
    padding: 5rem 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.audience-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.audience-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.audience-card i {
    font-size: 2rem;
    color: #2563EB;
    margin-bottom: 0.75rem;
    display: block;
}

.audience-card strong {
    font-size: 0.95rem;
}

.section-blue .audience-card strong {
    color: #FFFFFF;
}

/* SECTION EXTRAITS - CHAPITRES */
.chapters-section {
    padding: 5rem 0;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.chapter-card {
    background: #F8FAFE;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.section-blue .chapter-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-blue .chapter-card h3,
.section-blue .chapter-card p {
    color: #FFFFFF;
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.chapter-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.chapter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.chapter-card:hover .chapter-img {
    transform: scale(1.05);
}

.chapter-number {
    font-size: 0.7rem;
    color: #2563EB;
    letter-spacing: 2px;
    margin: 1.2rem 1.2rem 0.5rem;
    font-weight: 600;
}

.chapter-card h3 {
    font-size: 1.1rem;
    margin: 0 1.2rem 0.8rem;
}

.chapter-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 1.2rem 1rem;
    color: #4A5568;
}

.chapter-link {
    display: inline-block;
    color: #2563EB;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 1.2rem 1.5rem;
    transition: all 0.2s;
}

.chapter-link:hover {
    margin-left: 1.5rem;
    color: #1D4ED8;
}

.chapter-link i {
    margin-left: 0.3rem;
}

/* SECTION AUTEUR */
.author-section {
    padding: 5rem 0;
}

.author-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.author-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2563EB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.author-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.author-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-white .author-text p {
    color: #4A5568;
}

.section-blue .author-text p {
    color: #CBD5E1;
}

.author-mission {
    background: rgba(37, 99, 235, 0.15);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-style: italic;
}

.section-blue .author-mission {
    background: rgba(255, 255, 255, 0.1);
    color: #FBBF24;
}

.author-mission i {
    margin-right: 0.5rem;
}

/* SECTION AGENCE */
.agency-section {
    padding: 5rem 0;
}

.agency-card {
    background: #F8FAFE;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-blue .agency-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.agency-card h3 {
    font-size: 1.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

.section-blue .agency-card h3 {
    color: #FBBF24;
}

.agency-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.agency-badge {
    background: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #1A1D23;
    border: 1px solid #E2E8F0;
}

.section-blue .agency-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.agency-badge i {
    color: #2563EB;
    margin-right: 0.3rem;
}

.section-blue .agency-badge i {
    color: #FBBF24;
}

.agency-mission {
    font-style: italic;
}

/* SECTION TÉMOIGNAGES */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card i.fa-quote-left {
    color: #2563EB;
    font-size: 1.5rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-size: 0.8rem;
    color: #2563EB;
    font-weight: 600;
}

.section-blue .testimonial-author {
    color: #FBBF24;
}

/* SECTION CONTACT / FORMULAIRE */
.contact-section {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #F8FAFE;
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-blue .contact-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info h2 i {
    color: #2563EB;
    margin-right: 0.5rem;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-white .contact-info p {
    color: #4A5568;
}

.guide-title {
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center;
}

.book-mini {
    text-align: center;
    margin-top: 1rem;
}

.mini-book-img {
    width: 210px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;  /* Animation fluide */
}

.mini-book-img:hover {
    transform: scale(1.2);  /* Agrandit de 20% au survol */
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 1rem;
}

.section-blue .contact-form {
    background: rgba(255, 255, 255, 0.95);
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(105deg, #2563EB, #1D4ED8);
    color: white;
    font-weight: 600;
    padding: 0.8rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-submit i {
    margin-right: 0.5rem;
}

.form-privacy {
    font-size: 0.7rem;
    color: #718096;
    text-align: center;
    margin-top: 1rem;
}

.form-privacy i {
    margin-right: 0.3rem;
}

/* FOOTER */
.footer {
    padding: 2rem 0;
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-social {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.section-white .footer-social a {
    color: #4A5568;
}

.section-blue .footer-social a {
    color: #A0AEC0;
}

.footer-social a i {
    margin-right: 0.3rem;
}

.footer-social a:hover {
    color: #2563EB;
}

.footer-copyright {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* TOAST MESSAGE */
.toast-msg {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: #10B981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* AJOUTS POUR LE FORMULAIRE AMÉLIORÉ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.half {
    margin-bottom: 1rem;
}

.radio-group {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.radio-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1A1D23;
}

.section-blue .radio-label {
    color: #FFFFFF;
}

.radio-options {
    display: flex;
    gap: 1.5rem;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.radio-options input[type="radio"] {
    width: auto;
    padding: 0;
    margin: 0;
    accent-color: #2563EB;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid, .problem-grid, .discover-grid, .audience-grid, 
    .chapters-grid, .author-grid, .testimonials-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .author-grid {
        text-align: center;
    }
    
    .author-photo {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .chapter-image {
        height: 180px;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* IMAGE DU LIVRE PLUS GRANDE SUR MOBILE */
    .mockup-img {
        max-width: 350px;
    }
    
    .hero-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .mockup-img {
        max-width: 300px;
    }
    
    .btn-submit, .btn-download-hero {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .contact-wrapper {
        padding: 1rem;
    }
    
    .chapter-image {
        height: 160px;
    }
}