/* =========================================
   LA CAPUCINE — Landing Page
   Confeitaria Artesanal · Small Batch
   ========================================= */

/* ─── CSS Variables ─── */
:root {
    --off-white:  #F6F1E8;
    --cream:      #E8D8C3;
    --beige:      #D9C2A0;
    --chocolate:  #4A2E24;
    --bordo:      #7A1E2D;
    --coffee:     #2B1A14;
    --soft-black: #1E1A17;
    --gold:       #C6A27A;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-gentle: cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;

    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  6.5rem;
    --space-2xl: 9rem;
}

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

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

body {
    background-color: var(--off-white);
    color: var(--coffee);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ─── Grain / Paper Texture ─── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.038;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* ─── Container ─── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
}

/* ─── Typography atoms ─── */
.label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--soft-black);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.section-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--bordo);
}

.section-sub {
    font-size: 0.92rem;
    color: var(--coffee);
    opacity: 0.7;
    max-width: 480px;
    margin: 1.25rem auto 0;
    line-height: 1.85;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.83rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s var(--ease-out),
                transform 0.25s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
    white-space: nowrap;
    line-height: 1;
}

.btn--primary {
    background-color: var(--bordo);
    color: var(--off-white);
}

.btn--primary:hover {
    background-color: var(--coffee);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 46, 36, 0.22);
}

.btn--light {
    background-color: var(--off-white);
    color: var(--bordo);
}

.btn--light:hover {
    background-color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(246, 241, 232, 0.15);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--bordo);
    transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.link-arrow:hover {
    color: var(--coffee);
    letter-spacing: 0.07em;
}

.link-arrow--center {
    justify-content: center;
    width: 100%;
}

/* ─── Scroll animations ─── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s var(--ease-out),
                transform 0.75s var(--ease-out);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.13s; }
.delay-2 { transition-delay: 0.26s; }
.delay-3 { transition-delay: 0.39s; }

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.4rem 0;
    transition: background-color 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease,
                backdrop-filter 0.4s ease;
}

.nav.scrolled {
    background-color: rgba(246, 241, 232, 0.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(74, 46, 36, 0.09);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.25s ease;
}

.nav-logo-img {
    height: 64px;
    width: auto;
    display: block;
}

.nav-logo-img--dark  { display: none; }

.nav.scrolled .nav-logo-img--light { display: none; }
.nav.scrolled .nav-logo-img--dark  { display: block; }

.nav-logo:hover { opacity: 0.75; }

.nav-btn {
    font-family: var(--font-sans);
    font-size: 0.73rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--off-white);
    background-color: var(--bordo);
    padding: 0.5rem 1.3rem;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.nav-btn:hover { background-color: var(--coffee); }

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

.hero {
    min-height: 100vh;
    background-color: var(--soft-black);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 35% at 100% 100%, rgba(20, 16, 13, 0.97) 0%, rgba(20, 16, 13, 0.0) 100%),
        linear-gradient(
            160deg,
            rgba(30, 26, 23, 0.62) 0%,
            rgba(30, 26, 23, 0.48) 50%,
            rgba(30, 26, 23, 0.78) 100%
        );
    z-index: 1;
}

.hero-inner {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 9rem var(--space-md) 4rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Hero content */
.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
    animation: heroReveal 0.9s var(--ease-out) 0.15s both;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--off-white);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
    font-feature-settings: "liga" 1, "kern" 1;
    animation: heroReveal 0.9s var(--ease-out) 0.32s both;
}

.hero-body {
    font-size: 0.88rem;
    color: var(--off-white);
    opacity: 0.68;
    line-height: 1.85;
    max-width: 380px;
    margin-bottom: 2.5rem;
    animation: heroReveal 0.9s var(--ease-out) 0.46s both;
}

.hero-note {
    margin-top: 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    color: var(--off-white);
    opacity: 0.45;
    animation: heroReveal 0.9s var(--ease-out) 0.78s both;
}

.btn--primary {
    animation: heroReveal 0.9s var(--ease-out) 0.67s both;
}

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

/* Hero scroll indicator */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 2.25rem;
    opacity: 0.5;
    position: relative;
    z-index: 2;
    animation: heroReveal 1s var(--ease-out) 1.1s both;
}

.hero-scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--off-white);
}

.hero-scroll-line {
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, var(--off-white), transparent);
    transform-origin: top;
    animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
    50%       { opacity: 1;    transform: scaleY(1); }
}

/* ─── Hero responsive ─── */
@media (max-width: 960px) {
    .hero-inner {
        padding-top: 6.5rem;
    }

    .hero-body {
        max-width: none;
    }
}

/* =========================================
   CONCEITO
   ========================================= */

.conceito {
    background-color: var(--cream);
    padding: var(--space-2xl) 0;
    position: relative;
}

/* Subtle paper texture */
.conceito::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    opacity: 0.02;
    pointer-events: none;
}

.conceito-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.conceito-texto {
    position: relative;
}

.conceito-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--soft-black);
    line-height: 1.13;
    letter-spacing: -0.015em;
    margin-bottom: 2.2rem;
    font-feature-settings: "liga" 1, "kern" 1;
}

.conceito-heading em {
    font-style: italic;
    font-weight: 300;
    color: var(--bordo);
}

.conceito-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 0;
}

.conceito-text p {
    font-size: 0.93rem;
    color: var(--coffee);
    line-height: 1.88;
    opacity: 0.82;
}

.conceito-divider {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 2.8rem 0;
    max-width: 260px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: 0.38;
}

.divider-ornament {
    color: var(--gold);
    font-size: 0.65rem;
    opacity: 0.6;
    letter-spacing: 0;
}

.conceito-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--bordo);
    opacity: 0.8;
    letter-spacing: 0.01em;
}

/* Conceito photo */
.conceito-foto {
    position: relative;
    height: 560px;
}

.conceito-foto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 1px;
}

.conceito-foto-border {
    position: absolute;
    top: 1.4rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    border-radius: 1px;
    opacity: 0.3;
    pointer-events: none;
}

/* Conceito responsive */
@media (max-width: 900px) {
    .conceito-inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .conceito-foto {
        height: 420px;
        order: -1;
    }

    .conceito-foto-border {
        right: 0;
        top: 1rem;
    }
}

/* =========================================
   PRODUTOS
   ========================================= */

.produtos {
    background-color: var(--off-white);
    padding: var(--space-2xl) 0;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.produto-card {
    background-color: #FEFCF7;
    border: 1px solid rgba(217, 194, 160, 0.38);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.38s var(--ease-out),
                box-shadow 0.38s var(--ease-out);
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(74, 46, 36, 0.1);
}

.produto-img-wrap {
    overflow: hidden;
}

.produto-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ease-out);
}

.produto-card:hover .produto-img {
    transform: scale(1.04);
}

/* Cookies — warm amber, natural light */
.produto-img--cookies {
    background:
        radial-gradient(ellipse at 58% 42%, rgba(198, 162, 122, 0.65) 0%, transparent 52%),
        radial-gradient(ellipse at 22% 72%, rgba(100, 58, 34, 0.22) 0%, transparent 40%),
        linear-gradient(138deg, #EEE3CF 0%, #D9C2A0 38%, #C6A27A 68%, #9A6840 100%);
}

/* Brownies — deep chocolate, fudgy and intense */
.produto-img--brownies {
    background:
        radial-gradient(ellipse at 48% 38%, rgba(80, 48, 32, 0.55) 0%, transparent 52%),
        radial-gradient(ellipse at 82% 72%, rgba(30, 18, 12, 0.8) 0%, transparent 38%),
        linear-gradient(138deg, #5A3826 0%, #4A2E24 38%, #2B1A14 68%, #1E1A17 100%);
}

/* Caixas — cream with subtle plaid suggestion */
.produto-img--caixas {
    background:
        /* Subtle xadrez/plaid texture */
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 11px,
            rgba(74, 46, 36, 0.045) 11px,
            rgba(74, 46, 36, 0.045) 12px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 11px,
            rgba(74, 46, 36, 0.045) 11px,
            rgba(74, 46, 36, 0.045) 12px
        ),
        radial-gradient(ellipse at 42% 42%, rgba(246, 241, 232, 0.88) 0%, transparent 55%),
        radial-gradient(ellipse at 72% 64%, rgba(198, 162, 122, 0.4) 0%, transparent 40%),
        linear-gradient(138deg, #F6F1E8 0%, #E8D8C3 38%, #D9C2A0 70%, #C6A27A 100%);
}

.produto-body {
    padding: 1.6rem 1.75rem 1.8rem;
}

.produto-name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--soft-black);
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
    font-feature-settings: "liga" 1;
}

.produto-desc {
    font-size: 0.865rem;
    color: var(--coffee);
    opacity: 0.72;
    line-height: 1.78;
    margin-bottom: 1.3rem;
}

.produto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(217, 194, 160, 0.32);
}

.produto-price {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    font-weight: 400;
}

/* Responsive produtos */
@media (max-width: 1024px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .produto-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    .produto-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}

/* =========================================
   COMO FUNCIONA
   ========================================= */

.como-funciona {
    background-color: var(--off-white);
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(198, 162, 122, 0.18);
    border-bottom: 1px solid rgba(198, 162, 122, 0.18);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: var(--space-lg) 0 var(--space-md);
    position: relative;
}


.timeline-item {
    text-align: center;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.48;
    line-height: 1;
    margin-bottom: 1.4rem;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--soft-black);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.timeline-text {
    font-size: 0.872rem;
    color: var(--coffee);
    opacity: 0.72;
    line-height: 1.78;
}

.como-funciona-aviso {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}

.aviso-line {
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: 0.38;
    margin: 0 auto 1.3rem;
}

.como-funciona-aviso p {
    font-size: 0.84rem;
    font-style: italic;
    color: var(--coffee);
    opacity: 0.58;
    line-height: 1.82;
}

/* Responsive timeline */
@media (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        text-align: left;
        padding: 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .timeline-num {
        font-size: 2.2rem;
        min-width: 2.8rem;
        margin-bottom: 0;
        margin-top: 0.05rem;
    }

    .timeline-content {
        flex: 1;
    }
}

/* =========================================
   CTA FINAL
   ========================================= */

.cta-final {
    background-color: var(--bordo);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Warm glow effect */
.cta-final::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(198, 162, 122, 0.07) 0%, transparent 68%);
    pointer-events: none;
}

/* Subtle xadrez pattern overlay */
.cta-final::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 14px,
            rgba(198, 162, 122, 0.04) 14px,
            rgba(198, 162, 122, 0.04) 15px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 14px,
            rgba(198, 162, 122, 0.04) 14px,
            rgba(198, 162, 122, 0.04) 15px
        );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.cta-ornament {
    display: block;
    color: var(--gold);
    opacity: 0.55;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.6rem;
}

.cta-label {
    color: rgba(198, 162, 122, 0.7);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.13;
    letter-spacing: -0.015em;
    margin-bottom: 1.5rem;
    font-feature-settings: "liga" 1, "kern" 1;
}

.cta-body {
    font-size: 0.92rem;
    color: var(--cream);
    opacity: 0.72;
    line-height: 1.88;
    max-width: 460px;
    margin: 0 auto 2.5rem;
}

.cta-note {
    margin-top: 1.3rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.5;
}

/* =========================================
   INSTAGRAM
   ========================================= */

.instagram {
    background-color: var(--off-white);
    padding: var(--space-2xl) 0;
}

.instagram-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1px;
    cursor: pointer;
}

.insta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ease-out);
}

.insta-item:hover .insta-img {
    transform: scale(1.06);
}

.insta-img--1 { background: linear-gradient(145deg, #EEE3CF 0%, #C6A27A 55%, #D9C2A0 100%); }
.insta-img--2 { background: linear-gradient(145deg, #4A2E24 0%, #2B1A14 100%); }
.insta-img--3 { background: linear-gradient(145deg, #D9C2A0 0%, #E8D8C3 55%, #F6F1E8 100%); }
.insta-img--4 { background: linear-gradient(145deg, #C6A27A 0%, #4A2E24 100%); }
.insta-img--5 { background: linear-gradient(145deg, #F6F1E8 0%, #E8D8C3 100%); }
.insta-img--6 { background: linear-gradient(145deg, #2B1A14 0%, #4A2E24 55%, #C6A27A 100%); }

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 26, 23, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.32s ease;
}

.insta-overlay span {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: white;
    opacity: 0;
    transition: opacity 0.32s ease;
}

.insta-item:hover .insta-overlay {
    background: rgba(30, 26, 23, 0.44);
}

.insta-item:hover .insta-overlay span {
    opacity: 1;
}

.instagram-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* Responsive instagram grid */
@media (max-width: 480px) {
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
}

/* =========================================
   DEPOIMENTOS
   ========================================= */

.depoimentos {
    background-color: var(--cream);
    padding: var(--space-2xl) 0;
    position: relative;
}

.depoimentos::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    opacity: 0.018;
    pointer-events: none;
}

.depoimentos-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.depoimento-card {
    background-color: rgba(246, 241, 232, 0.58);
    border: 1px solid rgba(198, 162, 122, 0.2);
    border-radius: 2px;
    padding: 2rem 1.75rem 1.75rem;
}

.depoimento-stars {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
    opacity: 0.75;
}

.depoimento-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    color: var(--coffee);
    line-height: 1.82;
    margin-bottom: 1.25rem;
}

.depoimento-autor {
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    color: var(--coffee);
    opacity: 0.45;
    font-style: normal;
    display: block;
}

@media (max-width: 768px) {
    .depoimentos-inner {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

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

.footer {
    background-color: var(--soft-black);
    padding-top: var(--space-lg);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    display: block;
    margin-bottom: 0.8rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--off-white);
    opacity: 0.6;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--off-white);
    opacity: 0.7;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.78rem;
    color: var(--off-white);
    opacity: 0.6;
    line-height: 1.85;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem var(--space-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: var(--off-white);
    opacity: 0.45;
    letter-spacing: 0.06em;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

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

/* =========================================
   ACCESSIBILITY & UTILITIES
   ========================================= */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

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

    .fade-up {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ─── Print ─── */
@media print {
    .grain-overlay,
    .nav,
    .hero-scroll,
    .cta-final,
    .instagram,
    .footer { display: none; }

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