/* =========================================
   @font-face Declarations
   ========================================= */
@font-face {
    font-family: 'Bebas';
    src: url('../fonts/Bebas-Regular.eot');
    src: url('../fonts/Bebas-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Bebas-Regular.woff2') format('woff2'),
        url('../fonts/Bebas-Regular.woff') format('woff'),
        url('../fonts/Bebas-Regular.ttf') format('truetype'),
        url('../fonts/Bebas-Regular.svg#Bebas-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.eot');
    src: url('../fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gilroy-Regular.woff2') format('woff2'),
        url('../fonts/Gilroy-Regular.woff') format('woff'),
        url('../fonts/Gilroy-Regular.ttf') format('truetype'),
        url('../fonts/Gilroy-Regular.svg#Gilroy-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Semibold.eot');
    src: url('../fonts/Gilroy-Semibold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gilroy-Semibold.woff2') format('woff2'),
        url('../fonts/Gilroy-Semibold.woff') format('woff'),
        url('../fonts/Gilroy-Semibold.ttf') format('truetype'),
        url('../fonts/Gilroy-Semibold.svg#Gilroy-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiboldItalic.eot');
    src: url('../fonts/Gilroy-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gilroy-SemiboldItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-SemiboldItalic.woff') format('woff'),
        url('../fonts/Gilroy-SemiboldItalic.ttf') format('truetype'),
        url('../fonts/Gilroy-SemiboldItalic.svg#Gilroy-SemiboldItalic') format('svg');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Frama';
    src: url('../fonts/PPFrama-Extralight.eot');
    src: url('../fonts/PPFrama-Extralight.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PPFrama-Extralight.woff2') format('woff2'),
        url('../fonts/PPFrama-Extralight.woff') format('woff'),
        url('../fonts/PPFrama-Extralight.ttf') format('truetype'),
        url('../fonts/PPFrama-Extralight.svg#PPFrama-Extralight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Frama';
    src: url('../fonts/PPFrama-RegularItalic.eot');
    src: url('../fonts/PPFrama-RegularItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PPFrama-RegularItalic.woff2') format('woff2'),
        url('../fonts/PPFrama-RegularItalic.woff') format('woff'),
        url('../fonts/PPFrama-RegularItalic.ttf') format('truetype'),
        url('../fonts/PPFrama-RegularItalic.svg#PPFrama-RegularItalic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Frama';
    src: url('../fonts/PPFrama-Regular.eot');
    src: url('../fonts/PPFrama-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PPFrama-Regular.woff2') format('woff2'),
        url('../fonts/PPFrama-Regular.woff') format('woff'),
        url('../fonts/PPFrama-Regular.ttf') format('truetype'),
        url('../fonts/PPFrama-Regular.svg#PPFrama-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Frama Text';
    src: url('../fonts/PPFramaTextVariable-Light.eot');
    src: url('../fonts/PPFramaTextVariable-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PPFramaTextVariable-Light.woff2') format('woff2'),
        url('../fonts/PPFramaTextVariable-Light.woff') format('woff'),
        url('../fonts/PPFramaTextVariable-Light.ttf') format('truetype'),
        url('../fonts/PPFramaTextVariable-Light.svg#PPFramaTextVariable-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PP Frama', sans-serif;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scrollbar from extended decorative lines */
    position: relative;
}

/* Centered content container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Shared Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 45px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-family: 'PP Frama', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-primary:hover {
    background: #ffffff;
    color: #04375c;
}

.btn-solid {
    display: inline-block;
    padding: 15px 40px;
    background-color: #045281;
    color: #ffffff;
    font-family: 'PP Frama', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    margin-top: 15px;
}

.btn-solid:hover {
    background-color: #051531;
}

/* =========================================
   Hero Section (Top)
   ========================================= */
.hero-bg {
    background-image: url('../images/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: #ffffff; 
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.logo-icon img {
    height: 35px;
    width: auto;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 1.5px;
    background-color: #ffffff;
    transition: 0.3s;
}

.menu-btn span:first-child, .menu-btn span:last-child {
    width: 45px;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 115px);
    padding-bottom: 50px;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-title {
    line-height: 1;
    margin-bottom: 0;
}

.title-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: -5px;
}

.title-big {
    font-family: 'Bebas', sans-serif;
    font-size: 8rem;
    font-weight: normal;
    letter-spacing: -2px;
    line-height: 0.85;
    text-transform: uppercase;
}

.title-big-sm {
    font-family: 'Bebas', sans-serif;
    font-size: 55px;
    font-weight: normal;
    letter-spacing: -2px;
    line-height: 0.85;
    text-transform: uppercase;
}

.title-small {
    font-family: 'Gilroy', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

.title-vs {
    font-family: 'Gilroy', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: lowercase;
    margin-right: -5px;
    line-height: 1;
}

.subtitle {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.description {
    font-family: 'PP Frama', sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 200;
    max-width: 550px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.image-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.book-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(-10px 20px 30px rgba(0, 0, 0, 0.5)); 
}

/* =========================================
   Pourquoi ce livre Section
   ========================================= */
.pourquoi-section {
    background-color: #ffffff;
    padding: 100px 0 120px 0;
    color: #0A192F;
}

.pourquoi-content {
    width: 100%; 
}

.section-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 3.8rem;
    font-weight: 600;
    color: #051531;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.text-block p {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.15rem;
    font-weight: normal;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #111111;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.first-paragraph {
    font-family: 'PP Frama', sans-serif;
    font-weight: bold !important;
    color: #051531 !important;
    position: relative;
    width: fit-content; 
}

.first-paragraph::before {
    content: '';
    position: absolute;
    right: calc(100% + 20px); 
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    height: 8px; 
    background-color: #051531;
}

.right-line-anchor {
    position: relative;
    white-space: nowrap; 
}

.right-line-anchor::after {
    content: '';
    position: absolute;
    left: calc(100% + 15px); 
    top: 50%;
    transform: translateY(-50%); 
    width: 100vw; 
    height: 8px; 
    background-color: #3b698a; 
}

/* =========================================
   Une réflexion stratégique Section
   ========================================= */
.reflexion-section {
    background-image: linear-gradient(rgba(4, 82, 129, 0.88), rgba(4, 82, 129, 0.88)), url('../images/bg-une-reflexion-strategique.webp');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    padding: 90px 0;
    color: #ffffff;
}

.reflexion-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; 
    gap: 60px;
    align-items: center;
}

.reflexion-title h2 {
    font-family: 'Gilroy', sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
}

.reflexion-text p {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.15rem;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 6px; 
}

.reflexion-text p:last-child {
    margin-bottom: 0;
}

/* =========================================
   À QUI S'ADRESSE CE LIVRE ? Section
   ========================================= */
.a-qui-section {
    position: relative;
    background-color: #ffffff;
    padding: 100px 0;
    overflow: hidden; 
}

.a-qui-content {
    position: relative;
    z-index: 5;
}

.deco-right {
    position: absolute;
    right: 0;
    top: 50px;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.deco-right-light {
    width: 70px;
    height: 250px;
    background-color: #045281;
    margin-right: -20px; 
    margin-bottom: -40px; 
    z-index: 1;
}

.deco-right-dark {
    width: 100px;
    height: 400px;
    background-color: #051531;
    z-index: 1;
}

.a-qui-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    color: #051531;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.a-qui-title strong {
    font-size: 56px;
    font-weight: 600;
}

.a-qui-title span {
  font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 10px;
}

.a-qui-subtitle {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #111111;
    margin-bottom: 15px;
}

.a-qui-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.a-qui-list li {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.15rem;
    font-weight: normal;
    line-height: 1.8;
    color: #111111;
}

.a-qui-list li::before {
    content: '- ';
}

/* =========================================
   À PROPOS Section
   ========================================= */
.a-propos-section {
    position: relative;
    background-color: #ffffff;
    padding: 60px 0 120px 0;
    overflow: hidden;
}

.a-propos-container {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr; 
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 5;
}

.deco-left {
    position: absolute;
    left: 0;
    top: 20px;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.deco-left-dark {
    width: 50px;
    height: 120px;
    background-color: #051531;
    margin-right: -10px; 
    margin-bottom: -40px; 
    z-index: 1;
}

.deco-left-light {
    width: 100px;
    height: 240px;
    background-color: #045281;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.deco-left-light::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    background-color: #045281;
}

.deco-left-text {
    color: #ffffff;
    font-family: 'Gilroy', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    transform: rotate(-90deg); 
    white-space: nowrap;
}

.author-text {
    margin-top: 135px;
}

.author-name {
    font-family: 'Gilroy', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #051531;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.author-desc p {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.05rem;
    font-weight: normal;
    line-height: 1.7;
    color: #111111;
    margin-bottom: 10px;
}

.author-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.author-photo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.quote-box {
    text-align: left;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

.quote-box p {
    font-family: 'PP Frama', sans-serif;
    font-style: italic;
    font-weight: normal;
    font-size: 0.80rem;
    line-height: 1.5;
    color: #111111;
    margin-bottom: 8px;
}

.quote-box strong {
    font-family: 'Gilroy', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    color: #051531;
    display: block;
    text-align: right;
}

/* =========================================
   TÉLÉCHARGER LE LIVRE Section
   ========================================= */
.telecharger-section {
    background-color: #051531; 
    padding: 80px 0 100px 0;
    color: #ffffff;
}

.telecharger-header {
    margin-bottom: 50px;
}

.telecharger-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.telecharger-subtitle {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.15rem;
    font-weight: normal;
}

.telecharger-form-wrapper {
    display: flex;
    justify-content: center; 
}

.telecharger-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 680px; 
}

.form-input {
    width: 100%;
    max-width: 500px; 
    padding: 16px 25px;
    border-radius: 30px;
    border: none;
    background-color: #7b8593; 
    color: #ffffff;
    font-family: 'PP Frama', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: background-color 0.3s ease;
}

.form-input::placeholder {
    color: #e6e6e6;
}

.form-input:focus {
    background-color: #6a7382;
}

.form-email-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-email-row .form-input {
    flex-shrink: 0;
}

.btn-submit {
    flex-grow: 1; 
    padding: 16px 30px;
    border-radius: 30px;
    border: none;
    background-color: #2771b4; 
    color: #ffffff;
    font-family: 'PP Frama', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #1a568d;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
    max-width: 500px;
    padding-left: 15px; 
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✔';
    color: #051531;
    font-size: 14px;
    font-weight: bold;
}

.form-checkbox label {
    font-family: 'PP Frama', sans-serif;
    font-size: 0.95rem;
    font-weight: normal;
    line-height: 1.5;
    cursor: pointer;
}

/* =========================================
   Thank You Message (After Form Submission)
   ========================================= */
.merci-message {
    text-align: center;
    padding: 50px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.merci-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.merci-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #045281, #2771b4);
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 4px 20px rgba(4, 82, 129, 0.3);
}

.merci-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.merci-text {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.15rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 15px auto;
}

.merci-subtext {
    font-family: 'PP Frama', sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.5);
    max-width: 450px;
    margin: 0 auto;
}

/* Error message for form */
.form-error-message {
    font-family: 'PP Frama', sans-serif;
    font-size: 0.9rem;
    color: #ff6b6b;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
}

/* =========================================
   Après téléchargement Section
   ========================================= */
.apres-telechargement-section {
    background-color: #3b698a; /* Blue-gray matching the decorative line color */
    padding: 50px 0;
    text-align: center;
    color: #ffffff;
}

.apres-title {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 12px;
}

.apres-text {
    font-family: 'PP Frama', sans-serif;
    font-size: 1.15rem;
    font-weight: normal;
}

/* =========================================
   Navigation Overlay
   ========================================= */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 55, 92, 0.97);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
}

.nav-close::before,
.nav-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #ffffff;
}

.nav-close::before {
    transform: rotate(45deg);
}

.nav-close::after {
    transform: rotate(-45deg);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links li {
    overflow: hidden;
}

.nav-links a {
    display: inline-block;
    font-family: 'Gilroy', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
}

.nav-overlay.active .nav-links a {
    transform: translateY(0);
    opacity: 1;
}

.nav-links li:nth-child(1) a { transition-delay: 0.1s; }
.nav-links li:nth-child(2) a { transition-delay: 0.18s; }
.nav-links li:nth-child(3) a { transition-delay: 0.26s; }
.nav-links li:nth-child(4) a { transition-delay: 0.34s; }
.nav-links li:nth-child(5) a { transition-delay: 0.42s; }

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.nav-separator {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 20px auto;
}

.menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-close { top: 25px; right: 20px; width: 30px; }
    .nav-links a { font-size: 1.5rem; padding: 8px 0; }
    .nav-links { gap: 4px; }
}

/* Responsive 1600px → 1025px */
@media (max-width: 1600px) and (min-width: 1025px) {
    .author-text { margin-left: 120px;  margin-top: 0px;}
}

/* =========================================
   Media Queries (Mobile & Small Screens)
   ========================================= */
@media (max-width: 1024px) {
    .hero-section { grid-template-columns: 1fr; text-align: center; margin-top: 40px; }
    .text-content { align-items: center; }
    .title-line { justify-content: center; flex-wrap: wrap; }
    .title-big { font-size: 6rem; }
    .title-small { font-size: 2rem; }
    .image-content { justify-content: center; margin-top: 40px; }
    .section-title { font-size: 3rem; }
    
    .reflexion-container { grid-template-columns: 1fr; gap: 40px; }
    .reflexion-title h2 { font-size: 3.5rem; }

    .deco-left, .deco-right { display: none; }
    .author-text { margin-left: 0; }
    
    .a-propos-container { grid-template-columns: 1fr; gap: 40px; }
    .author-image-wrapper { align-items: center; }
    .quote-box { text-align: center; }
}

@media (max-width: 768px) {
    .title-big { font-size: 4rem; }
    .title-small { font-size: 1.5rem; }
    .title-vs { font-size: 1.5rem; }
    .subtitle { font-size: 1.2rem; }
    .container { padding: 0 20px; }

    .pourquoi-section { padding: 60px 0; }
    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    .text-block p { font-size: 1rem; }
    .desktop-break { display: none; }
    .first-paragraph::before { height: 6px; }
    .first-paragraph::before { right: calc(100% + 10px); }
    .right-line-anchor::after { display: none; }

    .reflexion-section { padding: 60px 0; }
    .reflexion-title h2 { font-size: 2.8rem; }
    .reflexion-text p { font-size: 1rem; }

    .a-qui-section { padding: 60px 0; }
    .a-qui-title { font-size: 2.2rem; }
    .a-qui-subtitle { font-size: 1.2rem; }
    
    .a-propos-section { padding: 40px 0 80px 0; }
    .author-text { margin-top: 0; }
    .author-name { font-size: 2rem; }

    .telecharger-section { padding: 60px 0; }
    .telecharger-title { font-size: 2.2rem; }
    .telecharger-subtitle { font-size: 1rem; }
    .telecharger-form { max-width: 100%; align-items: stretch; }
    .form-input { max-width: 100%; }
    .form-email-row { flex-direction: column; gap: 20px; }
    .form-email-row .form-input { flex-shrink: 1; }
    .btn-submit { width: 100%; }

    /* Responsive: After Download section */
    .apres-telechargement-section { padding: 40px 20px; }
    .apres-title { font-size: 1.5rem; }
    .apres-text { font-size: 1rem; }

    /* Responsive: Thank You message */
    .merci-message { padding: 35px 15px; }
    .merci-title { font-size: 2rem; }
    .merci-text { font-size: 1rem; }
    .merci-icon { width: 60px; height: 60px; font-size: 26px; }
}

/* =========================================
   Scroll Reveal Animations
   ========================================= */

/* Initial hidden state for all animated elements */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
    transform: translateX(-60px);
}

.reveal.reveal-right {
    transform: translateX(60px);
}

.reveal.reveal-scale {
    transform: scale(0.9);
}

/* Visible state */
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delays for children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
