/* ============================================
   VARIABLES CSS - DESIGN SYSTEM PREMIUM
   ============================================ */

:root {
    /* Couleurs Premium */
    --color-bg-primary: #FAF8F5;        /* Fond clair beige/nude */
    --color-bg-white: #FFFFFF;          /* Blanc pur */
    --color-text-primary: #2C2C2C;      /* Noir doux */
    --color-text-secondary: #555555;    /* Gris doux - meilleur contraste WCAG AA */
    --color-accent-terracotta: #C97D60; /* Terracotta */
    --color-accent-brown: #7A6145;      /* Brun chaud élégant */
    --color-accent-sage: #8FA080;       /* Vert sauge élégant */
    --color-accent-sage-light: #B5C5A9; /* Vert sauge clair */
    --color-accent-soft: #E8E0D8;       /* Accent très doux */
    
    /* Espacements */
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
    
    /* Typographies */
    --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Bordures */
    --border-light: 1px solid rgba(44, 44, 44, 0.08);
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-primary);
    line-height: 1.7;
    background-color: var(--color-bg-primary);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: var(--border-light);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-sage);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    padding: 8px;
    margin: -8px;
    user-select: none;
    -webkit-user-select: none;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
    pointer-events: none;
    display: block;
}

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

.hero {
    margin-top: 90px;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background-color: var(--color-bg-primary);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-accent-sage);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-image {
    width: 100%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

/* ============================================
   BOUTONS
   ============================================ */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    text-align: center;
    border: 1px solid var(--color-text-primary);
    background-color: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent-sage);
    border-color: var(--color-accent-sage);
    color: var(--color-bg-white);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.text-center {
    text-align: center;
}

/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */

section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

/* ============================================
   SECTION STRATÉGIE
   ============================================ */

.strategy {
    background-color: var(--color-bg-primary);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

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

.strategy-content .section-text {
    text-align: left;
}

.strategy-content .section-text strong {
    font-weight: 500;
    color: var(--color-text-primary);
}

.animated-word {
    display: inline-block;
    position: relative;
    color: var(--color-accent-sage);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-sage);
    animation: underlineExpand 1.5s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* ============================================
   SECTION SERVICES
   ============================================ */

.services {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-md);
}

.service-card {
    padding: 2.5rem 0;
    border-bottom: var(--border-light);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.service-card .btn-secondary {
    padding: 0;
    border: none;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--color-accent-brown);
}

.service-card .btn-secondary:hover {
    background-color: transparent;
    text-decoration-color: var(--color-text-primary);
}

/* ============================================
   SECTION POURQUOI MOI
   ============================================ */

.why-me {
    background-color: var(--color-bg-primary);
    padding: var(--spacing-lg) 0;
}

.why-me-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-me-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-md);
}

.why-me-item {
    text-align: center;
}

.why-me-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.why-me-item p {
    color: var(--color-text-secondary);
}

/* ============================================
   SECTION MÉTHODE DE TRAVAIL
   ============================================ */

.method {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg) 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-md);
}

.method-item {
    position: relative;
    padding-left: 3rem;
}

.method-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-accent-sage);
    opacity: 0.25;
    line-height: 1;
}

.method-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.method-item p {
    color: var(--color-text-secondary);
}

/* ============================================
   SECTION PORTFOLIO
   ============================================ */

.portfolio {
    background-color: var(--color-bg-primary);
    padding: var(--spacing-lg) 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: var(--spacing-md);
}

.portfolio-item {
    background-color: var(--color-bg-white);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: linear-gradient(135deg, #E8E0D8 0%, #F0EAE3 50%, #E5DDD4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    position: relative;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(143, 160, 128, 0.03) 0%, rgba(122, 97, 69, 0.03) 100%);
}

.portfolio-item-content {
    padding: 2rem;
}

.portfolio-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.portfolio-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   SECTION TÉMOIGNAGES
   ============================================ */

.testimonials {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-md);
}

.testimonial-card {
    padding: 2.5rem;
    background-color: var(--color-bg-primary);
    border-left: 3px solid var(--color-accent-brown);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

/* ============================================
   SECTION CTA
   ============================================ */

.cta {
    background-color: var(--color-bg-primary);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: var(--border-light);
    border-bottom: var(--border-light);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PAGE SERVICES
   ============================================ */

.services-page {
    margin-top: 90px;
    padding: var(--spacing-lg) 0;
}

.services-video-wrapper {
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: var(--color-accent-soft);
}

.services-video-wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* Ratio 16:9 pour maintenir les proportions */
}

.services-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Cacher tous les contrôles natifs */
.services-video::-webkit-media-controls {
    display: none !important;
}

.services-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.services-video::-webkit-media-controls-panel {
    display: none !important;
}

.services-video::-webkit-media-controls-play-button {
    display: none !important;
}

.services-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.service-detail {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: var(--border-light);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-benefits {
    list-style: none;
}

.service-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-secondary);
}

.service-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-sage);
}

/* ============================================
   PAGE À PROPOS
   ============================================ */

.about-page {
    margin-top: 90px;
    padding: var(--spacing-lg) 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.about-image-wrapper {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-image-wrapper video.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* ============================================
   PAGE CONTACT
   ============================================ */

.contact-page {
    margin-top: 90px;
    padding: var(--spacing-lg) 0;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
}

.contact-reassurance {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 2rem;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 0;
    border: none;
    border-bottom: var(--border-light);
    background-color: transparent;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--color-accent-sage);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 1rem;
}

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

.footer {
    background-color: var(--color-bg-white);
    padding: var(--spacing-md) 0;
    border-top: var(--border-light);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1 !important; /* S'assurer que le footer reste en dessous du bandeau de cookies */
    /* Ne pas créer de nouveau contexte d'empilement pour le footer */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    text-align: left;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-instagram {
    display: flex;
    align-items: center;
}

.footer-instagram a {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.footer-instagram a:hover {
    color: var(--color-accent-sage);
    transform: translateY(-2px);
}

.footer-instagram svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .services-grid,
    .why-me-grid,
    .method-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-instagram {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--color-bg-primary);
        width: 100%;
        padding: 2rem;
        gap: 0;
        transition: var(--transition-smooth);
        border-top: var(--border-light);
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex !important;
        z-index: 1001;
        position: relative;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: transparent;
        padding: 8px;
        margin: -8px;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    section {
        padding: var(--spacing-md) 0;
    }
    
    .hero {
        padding: 0;
        min-height: 100vh;
        margin-top: 70px;
        position: relative;
    }

    .hero .container {
        padding: 0;
        height: 100%;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        height: 100vh;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.7;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 100%;
        padding: 3rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        background: linear-gradient(to bottom, rgba(250, 248, 245, 0.3) 0%, rgba(250, 248, 245, 0.5) 100%);
    }

    .hero-tagline {
        color: var(--color-accent-sage);
    }

    .hero-title {
        color: var(--color-text-primary);
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
}

/* Bandeau de consentement aux cookies */
#cookieBanner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--color-bg-primary) !important;
    border-top: 1px solid var(--border-light) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 2147483647 !important; /* Valeur maximale de z-index */
    padding: 1.5rem 0 !important;
    animation: slideUp 0.3s ease-out;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    transform: translateZ(0) !important; /* Force la création d'un nouveau contexte d'empilement */
    will-change: transform; /* Optimisation pour le navigateur */
    box-sizing: border-box !important;
    /* S'assurer que le bandeau est toujours au-dessus */
    isolation: isolate; /* Crée un nouveau contexte d'empilement */
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-buttons .btn-primary,
.cookie-banner-buttons .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.cookie-link {
    color: var(--color-text-light);
    text-decoration: underline;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link:hover {
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    #cookieBanner {
        padding: 1rem 0;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .cookie-banner-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-banner-buttons .btn-primary,
    .cookie-banner-buttons .btn-secondary {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cookie-link {
        align-self: center;
        margin-top: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    #cookieBanner {
        padding: 0.875rem 0;
    }
    
    .cookie-banner-content {
        padding: 0 0.75rem;
        gap: 0.875rem;
    }
    
    .cookie-banner-content p {
        font-size: 0.8rem;
    }
    
    .cookie-banner-buttons .btn-primary,
    .cookie-banner-buttons .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}
