@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

:root {
    /* Color Palette */
    --color-bg: #F4EFEF;
    --color-primary: #5B2A4A;
    --color-wine: #4A1F3D;
    --color-plum-medium: #6E365B;
    --color-rose-dust: #8C4C72;
    --color-text: #2D2329;
    --color-text-light: #6E5F67;
    --color-white: #FFFFFF;
    --color-glass-bg: rgba(244, 239, 239, 0.85);
    --color-glass-border: rgba(91, 42, 74, 0.08);
    
    /* Typography */
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;
    
    /* System Spaces & Radius */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-subtle: 0 10px 30px rgba(74, 31, 61, 0.04);
    --shadow-medium: 0 16px 40px rgba(74, 31, 61, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font-family: var(--font-body);
    border: none;
    background: none;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Typography Helpers */
h1, h2 {
    font-family: var(--font-title);
    color: var(--color-wine);
    font-weight: 300;
}

h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--color-wine);
    font-weight: 400;
}

h1 em, h2 em, h3 em {
    font-family: var(--font-title);
    font-style: italic;
}

/* Glassmorphism Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-glass-border);
    transition: var(--transition-smooth);
}

.header-nav.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-subtle);
}

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

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--color-text-light);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-item a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-rose-dust);
    transition: var(--transition-fast);
}

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

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* Layout Page System */
.page-view {
    display: none;
    min-height: 100vh;
    padding-top: 90px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-view.active {
    display: block;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* Global Grid Layouts & Wrappers */
.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title-block {
    text-align: center;
    margin-bottom: 60px;
}

.section-tagline {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--color-rose-dust);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 1px;
}

.section-desc {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 300;
}

/* Custom Buttons & CTAs */
.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-group .btn-primary,
.btn-group .btn-secondary {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-primary);
    transition: var(--transition-fast);
    box-shadow: 0 4px 14px rgba(91, 42, 74, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-wine);
    border-color: var(--color-wine);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 31, 61, 0.3);
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
    color: var(--color-primary);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-primary);
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background-color: rgba(91, 42, 74, 0.05);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.btn-link:hover::after {
    transform: translateX(6px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    font-size: 28px;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.6;
    z-index: -1;
    animation: pulseWhatsApp 2s infinite;
}

@keyframes pulseWhatsApp {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ==========================================================================
   PAGE: HOME
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -90px;
    padding-top: 90px;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 31, 61, 0.55); /* uniform purple/wine filter overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 24px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-white);
    animation: fadeInDown 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-weight: 300;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.hero-content .btn-group {
    justify-content: center;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.hero-content .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-content .btn-primary:hover {
    background-color: var(--color-bg);
    border-color: var(--color-bg);
    color: var(--color-wine);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-content .btn-secondary {
    color: var(--color-white);
    border-color: var(--color-white);
}

.hero-content .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

/* Fullscreen/Wide Portfolio Carousel */
.home-carousel-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.carousel-container-outer {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide-item {
    min-width: 100%;
    padding: 0 10vw;
    display: flex;
    align-items: center;
    gap: 5vw;
}

.carousel-img-box {
    flex: 1.3;
    height: 550px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.carousel-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide-item:hover .carousel-img-box img {
    transform: scale(1.05);
}

.carousel-info-box {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-info-box .proj-tag {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--color-rose-dust);
    font-weight: 600;
    margin-bottom: 12px;
}

.carousel-info-box h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.3;
}

.carousel-info-box p {
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Carousel Nav Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.carousel-btn-prev {
    left: 3vw;
}

.carousel-btn-next {
    right: 3vw;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(91, 42, 74, 0.2);
    transition: var(--transition-fast);
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-primary);
}

/* Tríade Section */
.triade-section {
    background-color: var(--color-white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -20px 40px rgba(74, 31, 61, 0.02);
}

.triade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.triade-card {
    padding: 50px 40px;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    border: 1px solid rgba(91, 42, 74, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.triade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-rose-dust));
    opacity: 0;
    transition: var(--transition-fast);
}

.triade-card:hover {
    transform: translateY(-8px);
    background-color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.triade-card:hover::before {
    opacity: 1;
}

.triade-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 24px;
    display: inline-block;
}

.triade-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.triade-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Authority / Credential Block */
.authority-section {
    background-color: var(--color-bg);
    padding: 100px 0;
    position: relative;
}

.authority-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-glass-border);
}

.authority-logo-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.auth-badge {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    flex: 1;
    max-width: 380px;
}

.auth-badge-icon {
    font-size: 2.2rem;
    color: var(--color-rose-dust);
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-badge-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-badge-title {
    font-family: var(--font-title);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-wine);
    line-height: 1.2;
}

.auth-badge-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.4;
}

/* About Me page credentials styles */
.about-credentials-row {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cred-badge {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    max-width: 320px;
}

.cred-icon {
    font-size: 2.2rem;
    color: var(--color-rose-dust);
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.cred-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cred-badge-title {
    font-family: var(--font-title);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-wine);
    line-height: 1.2;
}

.cred-badge-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.4;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-rose-dust);
    margin: 30px auto;
}

/* Services Highlights */
.services-highlight-section {
    background-color: var(--color-white);
}

.services-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-highlight-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    border: 1px solid rgba(91, 42, 74, 0.02);
    transition: var(--transition-smooth);
}

.service-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-subtle);
    background-color: var(--color-white);
    border-color: rgba(91, 42, 74, 0.08);
}

.service-highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.service-highlight-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-bg);
}

.testimonial-slider {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px 40px;
    text-align: center;
}

.testimonial-text {
    font-family: var(--font-title);
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: var(--color-text);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 4px;
    letter-spacing: 1px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Call to Action Row */
.cta-banner-section {
    background-color: var(--color-wine);
    color: var(--color-bg);
    text-align: center;
    padding: 100px 24px;
}

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

.cta-banner-content h2 {
    color: var(--color-bg);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-banner-content .btn-group {
    justify-content: center;
}

.cta-banner-content .btn-secondary {
    color: var(--color-bg);
    border-color: rgba(244, 239, 239, 0.4);
}

.cta-banner-content .btn-secondary:hover {
    background-color: rgba(244, 239, 239, 0.1);
}

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

.services-hero {
    background-color: var(--color-white);
    padding: 80px 0 40px;
    text-align: center;
}

.services-list-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 60px 0;
}

.service-detail-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.service-detail-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-img {
    flex: 1;
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-info {
    flex: 1;
}

.service-detail-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-info p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 24px;
}

.service-details-meta {
    margin-bottom: 30px;
}

.meta-item {
    margin-bottom: 16px;
}

.meta-label {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-rose-dust);
    margin-bottom: 4px;
    display: block;
}

.meta-val {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 300;
}

/* ==========================================================================
   PAGE: PORTFOLIO
   ========================================================================== */

.portfolio-hero {
    text-align: center;
    padding: 80px 0 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-glass-border);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.portfolio-card-img {
    height: 320px;
    overflow: hidden;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.06);
}

.portfolio-card-content {
    padding: 30px;
}

.portfolio-card-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--color-rose-dust);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.portfolio-card-title {
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.portfolio-card-desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Project Lightbox (Página de Projeto Limpa) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(10px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lightbox-hero {
    width: 100%;
    height: 75vh;
    overflow: hidden;
    position: relative;
}

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

/* Gallery Navigation */
.lightbox-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.lightbox-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-wine);
    border: 1px solid rgba(74, 31, 61, 0.12);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(140, 76, 114, 0.3);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10;
}

/* Gallery Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 16px 24px;
    background: var(--color-bg);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-rose-dust) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--color-rose-dust);
    border-radius: 4px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: var(--transition-fast);
    padding: 0;
    background: none;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(140, 76, 114, 0.2);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.lightbox-body .project-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    color: var(--color-wine);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(140, 76, 114, 0.15);
    border-bottom: 1px solid rgba(140, 76, 114, 0.15);
}

.meta-strip-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-strip-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-rose-dust);
    font-weight: 600;
}

.meta-strip-val {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 300;
}

.project-intention {
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 40px;
}

.project-divider {
    border: none;
    height: 1px;
    background-color: var(--color-rose-dust);
    opacity: 0.25;
    margin: 40px 0;
}

.project-delivered-header {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--color-rose-dust);
    font-weight: 600;
    margin-bottom: 24px;
}

.project-delivered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.project-delivered-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.6;
}

.project-delivered-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-rose-dust);
    font-size: 0.8rem;
}

.btn-subtle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-primary);
    transition: var(--transition-fast);
}

.btn-subtle:hover {
    color: var(--color-wine);
    border-bottom-color: var(--color-wine);
    padding-left: 8px;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 40px;
    color: var(--color-wine);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition-fast);
    background: var(--color-bg);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74, 31, 61, 0.15);
    box-shadow: var(--shadow-subtle);
}

.lightbox-close:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

/* Lightbox Mobile Adjustments */
@media (max-width: 768px) {
    .lightbox-hero {
        height: 50vh;
    }
    .lightbox-body {
        padding: 40px 20px 80px;
    }
    .lightbox-body .project-title {
        font-size: 2rem;
    }
    .project-meta-strip {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    .gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .gallery-prev {
        left: 12px;
    }
    .gallery-next {
        right: 12px;
    }
    .gallery-thumb {
        width: 60px;
        height: 42px;
    }
    .gallery-thumbs {
        padding: 12px 16px;
    }
}

/* ==========================================================================
   PAGE: ABOUT
   ========================================================================== */

.about-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-img-frame {
    flex: 0.9;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 550px;
    border: 8px solid var(--color-white);
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-details {
    flex: 1.1;
}

.about-details h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.about-details p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-philosophy-box {
    margin-top: 40px;
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-subtle);
}

.about-philosophy-box h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.about-signature {
    margin-top: 40px;
}

.signature-name {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 600;
}

.signature-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-top: 4px;
    font-weight: 400;
}

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

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-card-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contact-card .contact-link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-subtle);
}

.contact-form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(91, 42, 74, 0.15);
    background-color: var(--color-bg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    color: var(--color-text);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 42, 74, 0.05);
}

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

.form-error {
    display: block;
    color: #b91c1c;
    font-size: 0.8rem;
    margin-top: 6px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success-icon {
    display: block;
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.form-success h3 {
    margin-bottom: 16px;
}

.form-success p {
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.form-success-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* ==========================================================================
   PAGE: PRIVACY
   ========================================================================== */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.privacy-container h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.privacy-container h3 {
    font-size: 1.3rem;
    margin: 32px 0 16px;
}

.privacy-container p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-container ul {
    list-style-type: square;
    padding-left: 24px;
    margin-bottom: 24px;
    color: var(--color-text-light);
}

.privacy-container li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Footer Section */
.site-footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-glass-border);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-rose-dust);
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--color-glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.credentials-logos {
    display: flex;
    gap: 24px;
    align-items: center;
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--color-wine);
    font-weight: 600;
    letter-spacing: 1px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .carousel-slide-item {
        padding: 0 6vw;
        gap: 4vw;
    }
    .carousel-img-box {
        height: 450px;
    }
    .triade-grid, .services-highlight-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        cursor: pointer;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: var(--shadow-subtle);
        border-bottom: 1px solid var(--color-glass-border);
    }
    .nav-menu.open {
        max-height: 350px;
    }
    .nav-item {
        border-bottom: 1px solid rgba(91, 42, 74, 0.05);
    }
    .nav-item a {
        display: block;
        padding: 20px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .carousel-slide-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 4vw;
        gap: 20px;
    }
    .carousel-img-box {
        width: 100%;
        height: 320px;
        flex: none;
    }
    .carousel-info-box {
        width: 100%;
        flex: none;
    }
    .carousel-btn {
        display: none; /* Hide arrow navigation on mobile, rely on swipe/dots */
    }
    .triade-grid, .services-highlight-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-row, .service-detail-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    .service-detail-img {
        width: 100%;
        height: 300px;
    }
    .about-row {
        flex-direction: column;
        gap: 40px;
    }
    .about-img-frame {
        width: 100%;
        height: 400px;
    }
    .authority-logo-row {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }
    .auth-badge {
        max-width: 100%;
        width: 100%;
        justify-content: flex-start;
    }
    .about-credentials-row {
        flex-direction: column;
        gap: 24px;
    }
    .cred-badge {
        max-width: 100%;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-group .btn-primary,
    .btn-group .btn-secondary {
        width: 100%;
        max-width: none;
        text-align: center;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ==========================================================================
   NEW TESTIMONIALS SECTION (#depoimentos)
   ========================================================================== */

#depoimentos {
    background-color: #F4EFEF;
    padding: 100px 24px;
}

.depoimentos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.depoimentos-header {
    text-align: center;
    margin-bottom: 60px;
}

.depoimentos-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 300;
    color: #5B2A4A;
    line-height: 1.3;
    letter-spacing: 1px;
}

.depoimentos-header h2 em {
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 300;
    color: #5B2A4A;
}

.depoimentos-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    color: #6E365B;
    text-align: center;
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 1rem;
    line-height: 1.6;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.depoimento-card {
    background-color: #FFFFFF;
    border: 1px solid #e8e0e0;
    border-left: 3px solid #8C4C72;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.depoimento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(91, 42, 74, 0.03);
}

.depoimento-texto {
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 400;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.depoimento-divider {
    height: 1px;
    background-color: #e8e0e0;
    margin-bottom: 20px;
    width: 100%;
}

.depoimento-meta {
    display: flex;
    flex-direction: column;
}

.depoimento-autor {
    font-family: var(--font-body);
    font-weight: 600;
    color: #8C4C72;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.depoimento-info {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #9e9e9e;
    letter-spacing: 1px;
}

/* Responsividade */
@media (max-width: 768px) {
    #depoimentos {
        padding: 80px 16px;
    }
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LGPD COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    pointer-events: none;
}

.cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 24px 32px;
    background: rgba(42, 20, 36, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(140, 76, 114, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 -8px 40px rgba(74, 31, 61, 0.2), 0 0 80px rgba(91, 42, 74, 0.06);
    color: var(--color-bg);
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-rose-dust), var(--color-primary));
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(140, 76, 114, 0.4);
}

.cookie-consent-body {
    flex: 1;
}

.cookie-consent-body h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-white);
}

.cookie-consent-body p {
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(244, 239, 239, 0.75);
    margin: 0;
}

.cookie-consent-body a {
    color: var(--color-rose-dust);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.cookie-consent-body a:hover {
    color: #c489aa;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--color-primary), var(--color-plum-medium));
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(91, 42, 74, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, var(--color-plum-medium), var(--color-rose-dust));
    box-shadow: 0 6px 24px rgba(91, 42, 74, 0.45);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: rgba(244, 239, 239, 0.1);
    color: rgba(244, 239, 239, 0.85);
    border: 1px solid rgba(244, 239, 239, 0.15);
}

.cookie-btn-reject:hover {
    background: rgba(244, 239, 239, 0.18);
    color: var(--color-white);
    border-color: rgba(244, 239, 239, 0.3);
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(244, 239, 239, 0.65);
    border: 1px solid rgba(244, 239, 239, 0.1);
}

.cookie-btn-settings:hover {
    color: var(--color-white);
    border-color: rgba(244, 239, 239, 0.3);
    background: rgba(244, 239, 239, 0.06);
}

/* ==========================================================================
   COOKIE PREFERENCES MODAL
   ========================================================================== */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 10, 16, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cookie-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal {
    width: 90%;
    max-width: 540px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium), 0 0 80px rgba(74, 31, 61, 0.12);
    border: 1px solid var(--color-glass-border);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.cookie-modal-overlay.visible .cookie-modal {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-wine));
    color: var(--color-white);
}

.cookie-modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-header h3 i {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    line-height: 1;
    padding: 4px;
}

.cookie-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 24px 28px;
}

.cookie-category {
    padding: 18px 0;
    border-bottom: 1px solid rgba(91, 42, 74, 0.06);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-category-header h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.cookie-category-header p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(91, 42, 74, 0.12);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--color-primary), var(--color-plum-medium));
    box-shadow: 0 2px 12px rgba(91, 42, 74, 0.25);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle-locked .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle-locked input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--color-primary), var(--color-plum-medium));
    opacity: 0.5;
}

.cookie-modal-footer {
    padding: 18px 28px 22px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(91, 42, 74, 0.06);
}

/* ==========================================================================
   CONSENT BANNER RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin: 0 12px 12px;
        padding: 22px 20px;
    }

    .cookie-consent-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cookie-consent-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
        padding: 10px 16px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal {
        width: 95%;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
