/* ===================================
   CYNTHIA BARBARA - AUTHOR WEBSITE
   Modern, Joyful & Dynamic Design
   =================================== */

/* =============
   DESIGN SYSTEM
   ============= */

:root {
    /* Colors - Vibrant and joyful */
    --color-primary: #6BA8BE;        /* Soft blue */
    --color-primary-dark: #4A8BA3;   /* Darker blue */
    --color-primary-light: #A3D4E5;  /* Lighter blue */
    --color-primary-pale: #E8F4F8;   /* Very light blue */

    --color-accent: #E67E50;         /* Coral/Orange */
    --color-accent-light: #F5A88E;   /* Light coral */
    --color-accent-dark: #d46938;    /* Dark coral */

    --color-secondary: #A8BCA1;      /* Sage green */
    --color-secondary-dark: #8CA883; /* Darker sage */
    --color-secondary-light: #D4E0CE; /* Light sage */

    --color-gold: #D4A574;           /* Gold accent */
    --color-gold-light: #EDD9C2;     /* Light gold */

    --color-purple: #B595D1;         /* Soft purple */
    --color-purple-light: #E5D9F2;   /* Light purple */

    --color-pink: #F5B5C9;           /* Soft pink */
    --color-pink-light: #FCE8EE;     /* Light pink */

    /* Neutrals */
    --color-bg: #FAF8F5;             /* Cream white */
    --color-bg-alt: #FFFFFF;         /* Pure white */
    --color-bg-dark: #2C4A6B;        /* Deep blue for contrast */

    --color-text: #2D3748;           /* Dark gray */
    --color-text-light: #718096;     /* Light gray */
    --color-text-muted: #A0AEC0;     /* Muted gray */

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 74, 107, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 74, 107, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 74, 107, 0.16);
    --shadow-xl: 0 16px 48px rgba(44, 74, 107, 0.20);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-nav: 'Quicksand', 'Nunito', sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: var(--space-xl);
    --header-height: 80px;
}

/* =================
   RESET & BASE
   ================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--space-lg));
}

html.header-sticky {
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ====================
   TYPOGRAPHY
   ==================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(var(--font-size-4xl), 5vw, var(--font-size-6xl));
}

h2 {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
}

h3 {
    font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl));
}

p {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
}

p:last-child {
    margin-bottom: 0;
}

/* ====================
   LAYOUT UTILITIES
   ==================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

/* Responsive container padding */
@media (max-width: 1024px) {
    :root {
        --container-padding: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: var(--space-md);
    }

    .section {
        padding: var(--space-2xl) 0;
    }
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
    .section__header {
        margin-bottom: var(--space-2xl);
    }

    .section__title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .section__header {
        margin-bottom: var(--space-xl);
    }

    .section__title {
        font-size: var(--font-size-2xl);
    }
}

.section__label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section__title {
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

/* ====================
   BUTTONS
   ==================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.button--primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.button--primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button--primary:active {
    transform: translateY(0);
}

.button--secondary {
    background-color: transparent;
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.button--secondary:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ====================
   HEADER & NAVIGATION
   ==================== */

.header {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    backdrop-filter: blur(5px);
    box-shadow: none;
    z-index: 100;
    transition: all var(--transition-base);
}

.header__logo {
    color: white;
}

.header__logo:hover {
    color: var(--color-accent-light);
}

.header .nav__link {
    color: white;
}

.header .nav__link:hover {
    color: var(--color-accent-light);
}

.header .nav__toggle-icon,
.header .nav__toggle-icon::before,
.header .nav__toggle-icon::after {
    background-color: white;
}

.header.sticky {
    position: fixed;
    top: 0;
    bottom: auto;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--container-padding);
    gap: var(--space-2xl);
    min-height: var(--header-height);
}

.header__logo {
    font-family: var(--font-heading);
    font-size: clamp(var(--font-size-xl), 2.5vw, var(--font-size-2xl));
    font-weight: var(--font-weight-bold);
    transition: color var(--transition-base);
    white-space: nowrap;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
}

.nav__link {
    position: relative;
    font-family: var(--font-nav);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    padding: var(--space-xs) var(--space-md);
    transition: all var(--transition-base);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.nav__toggle-icon,
.nav__toggle-icon::before,
.nav__toggle-icon::after {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav__toggle-icon {
    position: relative;
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav__toggle-icon::before {
    top: -8px;
}

.nav__toggle-icon::after {
    bottom: -8px;
}

/* Mobile navigation */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header {
        position: fixed;
        top: 0;
        bottom: auto;
    }

    .header__container {
        padding: var(--space-md) var(--container-padding);
        flex-wrap: nowrap;
    }

    .header__logo {
        flex-shrink: 0;
    }

    .nav__toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        overflow: hidden;
        z-index: 999;
    }

    .header.sticky .nav {
        top: var(--header-height);
    }

    .nav.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        padding: var(--space-md) 0;
    }

    .nav__item {
        width: 100%;
        text-align: center;
        padding: var(--space-md) 0;
        border-bottom: 1px solid rgba(107, 168, 190, 0.1);
    }

    .nav__item:last-child {
        border-bottom: none;
    }

    .nav__link {
        font-size: var(--font-size-lg);
        display: block;
        width: 100%;
    }

    .header .nav__link {
        color: var(--color-primary-dark);
    }

    .header .nav__link:hover {
        color: var(--color-accent);
    }

    .hero {
        padding-bottom: var(--space-2xl);
    }
}

/* ====================
   HERO SECTION
   ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-pink-light) 50%, var(--color-primary-pale) 100%);
    padding-top: 0;
    padding-bottom: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(181, 149, 209, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    animation: fadeInUp 1s ease-out;
}

.hero__label {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-6xl));
    color: var(--color-primary-dark);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-tight);
}

.hero__description {
    font-size: var(--font-size-xl);
    color: var(--color-text-light);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-2xl);
    max-width: 540px;
    text-align: justify;
    hyphens: auto;
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__image {
    animation: fadeInRight 1s ease-out;
    position: relative;
}

.hero__image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-slow);
}

.hero__image img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.hero__scroll {
    position: absolute;
    bottom: calc(var(--header-height) + var(--space-2xl));
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero__scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.hero__scroll-icon {
    width: 24px;
    height: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
    .hero__container {
        gap: var(--space-3xl);
    }

    .hero__image img {
        max-width: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-3xl));
        padding-bottom: var(--space-2xl);
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero__content {
        order: 2;
    }

    .hero__image {
        order: 1;
    }

    .hero__image img {
        max-width: 300px;
    }

    .hero__buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero__buttons .button {
        width: 100%;
        max-width: 300px;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__scroll {
        display: none;
    }
}

/* ====================
   BIO SECTION
   ==================== */

.bio {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.bio::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(168, 188, 161, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bio__container {
    position: relative;
    z-index: 1;
}

.bio__content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-light);
    background-color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.bio__content p {
    margin-bottom: var(--space-lg);
    text-align: justify;
    hyphens: auto;
}

.bio__intro {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: var(--space-3xl) !important;
}

.bio__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

.bio__column {
    /* Pas de background, juste le texte */
}

.bio__column-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* Responsive Bio */
@media (max-width: 768px) {
    .bio__columns {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .bio__content {
        padding: var(--space-xl);
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .bio__content {
        padding: var(--space-lg);
    }
}

/* ====================
   LIVRES SECTION
   ==================== */

.livres {
    background-color: var(--color-bg);
}

.livres__toggle {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
}

.toggle__btn {
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-nav);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-light);
    background-color: white;
    border: 3px solid var(--color-text-muted);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.toggle__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.toggle__btn--active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Responsive Toggle Buttons */
@media (max-width: 768px) {
    .livres__toggle {
        gap: var(--space-sm);
    }

    .toggle__btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .livres__toggle {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .toggle__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.livres__content {
    opacity: 1;
    transition: opacity var(--transition-base);
}

.livres__content--hidden {
    display: none;
    opacity: 0;
}

/* Book Showcase - Full width with colored backgrounds */
.book-showcase {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.book-showcase--coco {
    background: linear-gradient(135deg, var(--color-primary-pale) 0%, var(--color-gold-light) 100%);
}

.book-showcase--coco::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.book-showcase--noel {
    background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-pink-light) 100%);
}

.book-showcase--noel::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle, rgba(181, 149, 209, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.book-showcase__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.book-showcase__image {
    position: relative;
}

.book-showcase__image img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-slow);
}

.book-showcase__image img:hover {
    transform: scale(1.05) rotate(-3deg);
}

.book-showcase__badge {
    position: absolute;
    top: -10px;
    right: 10%;
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.book-showcase__content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.book-showcase__title {
    font-family: var(--font-heading);
    font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl));
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
}

.book-showcase__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-accent);
    font-style: italic;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-xl);
}

.book-showcase__description {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.book-showcase__description p {
    margin-bottom: var(--space-md);
    text-align: justify;
    hyphens: auto;
}

.book-showcase__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-dark);
    padding: var(--space-xs) var(--space-md);
    background-color: rgba(107, 168, 190, 0.1);
    border: 2px solid var(--color-primary-light);
    border-radius: var(--radius-full);
}

.book-showcase__themes {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background-color: rgba(168, 188, 161, 0.1);
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--radius-sm);
}

/* Tablet - Book Showcase */
@media (max-width: 1024px) {
    .book-showcase {
        padding: var(--space-4xl) 0;
    }

    .book-showcase__container {
        gap: var(--space-3xl);
    }

    .book-showcase__image img {
        max-width: 400px;
    }
}

/* Mobile - Book Showcase */
@media (max-width: 768px) {
    .book-showcase {
        padding: var(--space-3xl) 0;
    }

    .book-showcase__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .book-showcase__image {
        order: 1;
    }

    .book-showcase__content {
        order: 2;
        padding: var(--space-lg);
    }

    /* Alterner l'ordre pour la variété n'a plus de sens en mobile */
    .book-showcase--noel .book-showcase__image {
        order: 1;
    }

    .book-showcase--noel .book-showcase__content {
        order: 2;
    }

    .book-showcase__image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .book-showcase__title {
        font-size: var(--font-size-2xl);
    }

    .book-showcase__description {
        font-size: var(--font-size-sm);
    }
}

/* Empty state for adult books */
.livres__empty {
    text-align: center;
    padding: var(--space-5xl) var(--space-2xl);
    background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-gold-light) 100%);
    border-radius: var(--radius-2xl);
    margin: var(--space-2xl) 0;
}

.livres__empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    color: var(--color-secondary-dark);
}

.livres__empty-title {
    font-size: var(--font-size-3xl);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.livres__empty-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ====================
   CONTACT SECTION
   ==================== */

.contact {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-primary-pale) 100%);
}

.contact__content {
    max-width: 800px;
    margin: 0 auto;
}

.contact__intro {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-3xl);
}

.contact__social {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact__social {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .social-link {
        padding: var(--space-md);
    }

    .contact__form-wrapper {
        margin-top: var(--space-2xl);
        padding-top: var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .social-link {
        flex-direction: column;
        text-align: center;
    }
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 3px solid transparent;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.social-link--instagram:hover {
    border-color: #E4405F;
}

.social-link--facebook:hover {
    border-color: #1877F2;
}

.social-link__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.social-link--instagram .social-link__icon {
    color: #E4405F;
}

.social-link--facebook .social-link__icon {
    color: #1877F2;
}

.social-link__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.social-link__text strong {
    font-size: var(--font-size-lg);
    color: var(--color-text);
}

.social-link__text small {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* Contact form */
.contact__form-wrapper {
    margin-top: var(--space-4xl);
    padding-top: var(--space-4xl);
    border-top: 2px solid rgba(107, 168, 190, 0.2);
}

.contact__form-title {
    text-align: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-2xl);
}

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

.form__group {
    margin-bottom: var(--space-xl);
}

.form__label {
    display: block;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--font-size-base);
    font-family: inherit;
    color: var(--color-text);
    background-color: white;
    border: 2px solid var(--color-primary-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 168, 190, 0.1);
}

.form__input.error,
.form__textarea.error {
    border-color: #EF4444;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__error {
    display: block;
    font-size: var(--font-size-sm);
    color: #EF4444;
    margin-top: var(--space-xs);
    min-height: 20px;
}

.form__submit {
    width: 100%;
    margin-top: var(--space-lg);
}

.form__success {
    display: none;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background-color: #10B981;
    color: white;
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
}

.form__success.show {
    display: flex;
}

.form__success svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* ====================
   FOOTER
   ==================== */

.footer {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 168, 190, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer__copy {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.footer__signature {
    font-size: var(--font-size-sm);
    font-style: italic;
    opacity: 0.7;
}

/* ====================
   ANIMATIONS
   ==================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Scroll animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================
   ACCESSIBILITY
   ==================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ====================
   PRINT STYLES
   ==================== */

@media print {
    .header,
    .hero__scroll,
    .nav__toggle,
    .contact__form,
    .button {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }
}
