@font-face {
    font-family: 'Abramo';
    src: url('../fonts/Abramo-Script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AnticDidone';
    src: url('../fonts/AnticDidone-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f7f3eb;
    --ink: #2d2a28;
    --muted: #6b635a;
    --accent: #c5a16a;
    --accent-dark: #9a7c43;
    --surface: #ffffff;
    --max-width: 1320px;
    --gutter: 24px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --hero-left-h: clamp(340px, 32vw, 420px);
    --hero-gap: 14px;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--muted);
    font-family: 'Playfair Display', 'Times New Roman', serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

a:hover {
    color: var(--ink);
}

.site-body {
    background: var(--bg);
}

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

.page-shell {
    overflow-x: hidden;
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 243, 235, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
}

@media (max-width: 991px) {
    .header-inner {
        gap: 12px;
    }
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 54px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.98rem;
    letter-spacing: 0.3px;
}

.header-nav a {
    padding: 6px 8px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ink);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.98rem;
    letter-spacing: 0.3px;
    text-transform: none;
    background: transparent;
    color: var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    background: var(--ink);
    color: #fff;
}

/* Menu Hambúrguer Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Esconder botão "Acessar Sistema" na página de login */
body.login-page .header-cta {
    display: none;
}

.section-block {
    padding: 96px 0;
}

.center {
    text-align: center;
}

.serif {
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

.script {
    font-family: 'Allura', cursive;
}

.font-abramo {
    font-family: 'Abramo', 'Playfair Display', 'Times New Roman', serif;
}

.font-antic-didone {
    font-family: 'AnticDidone', 'Playfair Display', 'Times New Roman', serif;
    text-transform: uppercase;
    text-align: left;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

p {
    margin: 0 0 12px;
}

.eyebrow {
    letter-spacing: 4px;
    font-size: 5.78rem;
    color: var(--ink);
}

.subtitle {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 32px;
}

/* HERO */
.header-hero {
    padding-top: 80px;
    padding-bottom: 72px;
    background: var(--surface);
}

.logo-band {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.logo-main {
    width: clamp(180px, 20vw, 240px);
    height: auto;
}

.hero-collage {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--hero-gap);
}

.left-column {
    display: grid;
    grid-template-rows: auto auto;
    gap: 14px;
}

.left-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--hero-gap);
    height: var(--hero-left-h);
}

.photo-vertical {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e8e2d5;
    box-shadow: var(--shadow-soft);
}

.photo-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-collage img {
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .hero-collage img:hover {
        transform: scale(1.03);
        filter: saturate(1.05) brightness(1.02);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    }
}

.right-stack {
    position: relative;
    display: grid;
    grid-template-rows: 45% 55%;
    gap: var(--hero-gap);
    height: calc(var(--hero-left-h) * 1.5);
}

.right-top {
    overflow: hidden;
    border-radius: 12px;
    background: #e8e2d5;
    box-shadow: var(--shadow-soft);
}

.right-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--hero-gap);
}

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

.impact-line {
    margin: 0;
    color: var(--ink);
}

.impact-line.serif {
    font-size: clamp(1.7rem, 2vw, 2rem);
    letter-spacing: 0.6px;
}

.impact-line.script {
    font-size: clamp(2.3rem, 3vw, 2.8rem);
    color: var(--accent-dark);
}

.impact-line.font-antic-didone {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    letter-spacing: -2px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.impact-line.font-abramo {
    font-size: clamp(3.8rem, 6.5vw, 6.5rem);
    color: var(--accent-dark);
}

/* SPLIT - QUEM SOMOS */
.who-values-section {
    background: var(--bg);
    padding-bottom: 32px;
}

.who-block {
    display: grid;
    gap: 40px;
}

.who-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.who-row.second {
    align-items: stretch;
}

/* No desktop, reordenar visualmente para manter texto primeiro, imagem depois */
@media (min-width: 992px) {
    .who-row.second {
        grid-template-areas: "text image";
    }
    
    .who-row.second .who-text {
        grid-area: text;
    }
    
    .who-row.second .who-media.outlined {
        grid-area: image;
        justify-self: end;
    }
}

.who-row.second .who-text {
    padding-bottom: 2px;
    padding-top: 0;
    font-size: 1.02rem;
    line-height: 1.55;
}

.who-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #e8e2d5;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 3 / 4;
    min-height: 460px;
    max-height: 560px;
    width: 90%;
    justify-self: end;
}

.who-row.first .who-media {
    justify-self: start;
    width: 95%;
}

.who-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.who-media.outlined {
    border: 1px solid #111;
    min-height: 420px;
    max-height: 520px;
    width: 90%;
}

.who-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--muted);
    font-size: 1.02rem;
    align-self: stretch;
    justify-content: center;
}

.who-text.second {
    margin-top: -150px !important;
    justify-content: flex-start !important;
    font-size: 1.02rem;
    line-height: 1.55;
}

.who-row.second .who-text.second {
    margin-top: 10px !important;
    justify-content: flex-start !important;
}

@media (max-width: 991px) {
    .who-row.second .who-text.second {
        margin-top: 0 !important;
    }
}

.who-text .eyebrow {
    margin-bottom: -50px;
}

@media (max-width: 991px) {
    .who-text .eyebrow {
        margin-bottom: 8px;
    }
}

.who-text h2,
.who-text h3 {
    margin-top: 0;
    margin-bottom: 4px;
}

@media (max-width: 991px) {
    .who-text h2,
    .who-text h3 {
        margin-bottom: 12px;
    }
    
    /* H3 na segunda parte flui ao lado da imagem */
    .who-row.second .who-text h3 {
        width: auto;
        max-width: none;
    }
}

.who-text p {
    margin: 0;
    line-height: 1.7;
}

/* VALORES */
.titulo-valor {
    font-size: 0.95rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-weight: 700 !important;
}

.value-card .titulo-valor {
    font-weight: 700 !important;
}

.values-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    align-items: start;
    margin-top: -32px;
}

.values-copy {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    align-self: start;
}

.values-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 12px;
}

.values-title {
    margin: 0;
    font-size: clamp(6rem, 7.5vw, 6.9rem);
    font-weight: 400;
    line-height: 1.02;
    transform: translateY(-40px);
    padding-left: 4px;
}

@media (max-width: 991px) {
    .values-title {
        font-size: clamp(5rem, 6.5vw, 6rem);
        transform: translateY(10px);
    }
}

@media (max-width: 767px) {
    .values-title {
        font-size: clamp(4rem, 5.5vw, 5rem);
        transform: translateY(15px);
    }
}

.values-line-long {
    flex: 1;
    height: 2px;
    background: #000;
    margin-top: -18px;
}

.values-grid {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 18px;
}

.value-card {
    background: none;
    padding: 6px 10px;
    border-radius: 0;
    box-shadow: none;
}

.value-card h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.value-card h3.titulo-valor {
    font-weight: 700 !important;
}

.value-card p {
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.impact-full {
    width: 100%;
    max-width: 100vw;
    margin-top: 24px;
    margin-bottom: 8px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.impact-full img {
    width: 100%;
    height: clamp(280px, 32vw, 340px);
    object-fit: cover;
    object-position: center 75%;
    display: block;
}

/* ATUAÇÃO */
.atuacao-section {
    background: var(--surface);
    padding-top: 80px;
    padding-bottom: 120px;
}

.atuacao-header {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 6px;
    padding-left: 6px;
}

.atuacao-title {
    margin: 0;
    font-size: clamp(6rem, 7.5vw, 6.9rem);
    font-weight: 400;
    line-height: 1;
    transform: translateY(-6px);
}

@media (max-width: 991px) {
    .atuacao-title {
        font-size: clamp(5rem, 6.5vw, 6rem);
    }
}

@media (max-width: 767px) {
    .atuacao-title {
        font-size: clamp(4rem, 5.5vw, 5rem);
    }
}

.atuacao-subtitle {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1.05rem;
    padding-left: 6px;
}

.atuacao-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 12px 0 22px;
}

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

.atuacao-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    display: block;
}

.atuacao-item p {
    margin: 10px 0 0;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
}

.atuacao-item p.font-antic-didone {
    text-align: center;
}

.atuacao-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.atuacao-btn {
    display: inline-block;
    width: min(100%, 960px);
    text-align: center;
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
    padding: 14px 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.atuacao-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: var(--ink);
    color: #fff;
}

/* DEPOIMENTOS */
.testimonials-section {
    background: var(--bg);
    padding-top: 80px;
    padding-bottom: 120px;
}

.testimonials-section .site-container {
    max-width: calc(var(--max-width) + 160px);
}

.testimonials-title {
    font-size: clamp(6rem, 7.5vw, 6.9rem);
    margin: 0 0 10px;
    color: var(--ink);
}

@media (max-width: 991px) {
    .testimonials-title {
        font-size: clamp(5rem, 6.5vw, 6rem);
    }
}

@media (max-width: 767px) {
    .testimonials-title {
        font-size: clamp(4rem, 5.5vw, 5rem);
    }
}

/* Container do carrossel */
.testimonials-carousel {
    position: relative;
    padding: 12px 38px 0;
    overflow: hidden;
}

/* Track (container interno que se move) */
.testimonials-carousel .testimonials-track {
    display: flex;
    gap: 14px;
    transition: transform 0.45s ease;
    flex-wrap: nowrap;
    will-change: transform;
}

/* Slides individuais - Desktop: 3 por vez */
.testimonials-carousel .testimonial-slide {
    flex: 0 0 calc((100% - (14px * 2)) / 3);
    min-width: calc((100% - (14px * 2)) / 3);
    max-width: calc((100% - (14px * 2)) / 3);
    flex-shrink: 0;
    text-align: left;
    padding: 6px 6px 0;
    position: relative;
    box-sizing: border-box;
}

/* Conteúdo do depoimento */
.testimonial-item {
    padding: 8px 6px;
    color: var(--ink);
}

.testimonial-item i.bi-quote {
    font-size: 1.6rem;
    color: var(--accent-dark);
    display: block;
    margin-bottom: 8px;
}

.testimonial-item .quote {
    margin: 0 0 10px;
    font-size: 1.16rem;
    line-height: 1.68;
}

.testimonial-sep {
    width: 60px;
    height: 2px;
    background: var(--ink);
    margin: 6px 0 8px;
    opacity: 0.6;
}

.testimonial-item .author {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--accent-dark);
}

/* Botões de navegação */
.testimonials-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.testimonials-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    color: var(--accent);
}

.testimonials-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonials-arrow-prev {
    left: 0;
}

.testimonials-arrow-next {
    right: 0;
}

/* CONTATO */
.contact-section {
    background: var(--surface);
    padding-top: 80px;
    padding-bottom: 80px;
}

.lead-highlight {
    font-size: 1.1rem;
    color: var(--ink);
    letter-spacing: 0.4px;
}

.contact-lead {
    text-align: left;
    max-width: none;
    margin: 0 0 20px;
}

.contact-lead.font-antic-didone {
    text-align: left;
}

.contact-title {
    text-align: left;
    font-size: clamp(4rem, 5vw, 5rem);
    margin: 0 0 32px 24px;
    line-height: 1;
}

.contact-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.contact-cta.left {
    justify-content: center;
}

.btn-wide {
    min-width: 380px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
    font-size: 0.95rem;
}

.field.full {
    grid-column: 1 / -1;
}

.field span {
    letter-spacing: 0.3px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #d9d1c5;
    border-radius: 8px;
    background: #fbf8f2;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(197, 161, 106, 0.15);
}

.field-error {
    border-color: #c6533d !important;
    box-shadow: 0 0 0 2px rgba(198, 83, 61, 0.15) !important;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
    padding: 18px 48px;
    border: none;
    border-radius: 999px;
    letter-spacing: 1px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.alert {
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 18px;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.alert.success {
    background: #e7f5ec;
    color: #2e7d4a;
}

.alert.error {
    background: #fff3f0;
    color: #b23c26;
}

/* SERVIÇOS */
.servicos-section {
    background: var(--surface);
    padding-top: 80px;
    padding-bottom: 120px;
}

.servicos-header {
    margin-bottom: 40px;
    padding-left: 6px;
}

.servicos-header .eyebrow {
    font-size: clamp(5.5rem, 7.5vw, 6.9rem);
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--ink);
    margin-bottom: 12px;
    display: block;
    font-weight: 400;
    line-height: 1.02;
}

.servicos-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin: 0;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--muted);
}

.servicos-intro {
    margin-bottom: 48px;
    padding-left: 6px;
}

.servicos-intro p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 800px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.servico-card {
    padding: 32px 24px;
    background: var(--bg);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

.servico-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    border-radius: 50%;
    margin-bottom: 20px;
}

.servico-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.servico-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    margin: 0 0 16px;
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.servico-card > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 20px;
}

.servico-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servico-lista li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--muted);
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.servico-lista li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--accent-dark);
    font-weight: bold;
    font-size: 1.2rem;
}

.servicos-valores {
    margin-bottom: 60px;
    padding: 48px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.servicos-valores h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0 0 40px;
    text-align: center;
    font-weight: 300;
    letter-spacing: -1px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.valor-item {
    text-align: center;
    padding: 20px;
}

.valor-item h4 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin: 0 0 12px;
    font-weight: 300;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.valor-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.servicos-cta {
    text-align: center;
    padding-top: 40px;
}

.servicos-cta .subtitle {
    font-size: 1.15rem;
    margin-bottom: 16px;
    color: var(--muted);
}

.servicos-cta .contact-title {
    text-align: center;
    margin: 0 0 32px;
    font-size: clamp(3.5rem, 5vw, 4.5rem);
}

@media (max-width: 1199px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .servicos-header .eyebrow {
        font-size: clamp(4.5rem, 6.5vw, 6rem);
    }
}

@media (max-width: 767px) {
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .servico-card {
        padding: 24px 20px;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .servicos-header .eyebrow {
        font-size: clamp(3.5rem, 5.5vw, 5rem);
    }
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

/* FOOTER */
.site-footer {
    background: #141210;
    color: #dcd7cf;
    padding: 0;
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 0;
    }
}

.insta-section {
    background: var(--bg);
}

.insta-area {
    padding: 22px 0 6px;
    display: grid;
    gap: 14px;
    text-align: center;
}

.insta-header .footer-cta {
    text-transform: lowercase;
    letter-spacing: 2.4px;
    font-size: 1.1rem;
}

.insta-header .footer-handle {
    font-size: 1.2rem;
}

.insta-header .footer-cta.font-antic-didone,
.insta-header .footer-handle.font-antic-didone {
    text-align: center;
}

.insta-carousel {
    position: relative;
    overflow: hidden;
}

.insta-track {
    display: flex;
    gap: 6px;
    transition: transform 0.35s ease;
}

.insta-item {
    position: relative;
    display: block;
    flex: 0 0 220px;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

.insta-item:hover {
    transform: scale(1.08);
    z-index: 5;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.insta-multi {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    border-radius: 8px;
    padding: 3px 6px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.insta-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.insta-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.insta-prev {
    left: 6px;
}

.insta-next {
    right: 6px;
}

.footer-base {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 18px;
    padding: 18px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #f1ede6;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

.footer-logo {
    height: 46px;
    width: auto;
}

.footer-cta {
    letter-spacing: 2.2px;
    text-transform: lowercase;
    font-size: 0.85rem;
    margin: 0;
    font-family: 'AnticDidone', 'Playfair Display', 'Times New Roman', serif;
    color: #dcd7cf;
}

.footer-handle {
    color: var(--accent);
    margin: 6px 0 0;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 1rem;
}

.footer-handle:hover {
    color: var(--accent);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    font-size: 0.95rem;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

.footer-links a {
    color: #f1ede6;
}

.footer-links .login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
}

/* GLOBAL */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
}

/* Animação de aparição ao rolar */
.section-block:not(.header-hero) {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-block:not(.header-hero).scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado para elementos dentro das seções */
.section-block:not(.header-hero) .site-container > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.section-block:not(.header-hero).scroll-visible .site-container > * {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section aparece imediatamente - sem animação */
.section-block.header-hero {
    opacity: 1;
    transform: translateY(0);
}

.section-block.header-hero .site-container > * {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199px) {
    .hero-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .values-layout {
        grid-template-columns: 1fr;
    }
    
    /* Layout especial para who-row no mobile - imagem à esquerda, texto flui ao lado */
    .who-row {
        grid-template-columns: 1fr !important;
        gap: 0;
        display: block !important;
    }
    
    /* Primeira parte: imagem à esquerda */
    .who-media {
        float: left;
        width: 45% !important;
        min-height: 280px !important;
        max-height: 360px !important;
        margin: 0 20px 12px 0;
        shape-outside: inset(0);
    }
    
    .who-row.first .who-media {
        float: left;
        width: 45% !important;
        margin: 0 20px 12px 0;
    }
    
    /* Segunda parte: imagem à direita, texto flui ao lado */
    .who-row.second {
        display: block;
    }
    
    .who-row.second .who-media.outlined {
        float: right;
        width: 45% !important;
        min-height: 260px !important;
        max-height: 340px !important;
        margin: 0 0 12px 20px;
        shape-outside: inset(0);
    }
    
    .who-row.second .who-text {
        display: block;
        overflow: visible;
        width: auto;
    }
    
    .who-row.second .who-text h3 {
        display: block;
        margin-bottom: 12px;
        width: auto;
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .who-row.second .who-text p {
        display: block;
        width: auto;
        margin-bottom: 12px;
    }
    
    .who-text {
        font-size: 0.9rem;
        gap: 10px;
        display: block;
        overflow: visible;
    }
    
    .who-text .eyebrow {
        display: block;
        margin-bottom: 8px;
        white-space: normal;
        line-height: 1.2;
        font-size: clamp(3.2rem, 12vw, 5rem);
        width: 100%;
    }
    
    .who-text h2 {
        display: block;
        white-space: normal;
        line-height: 1.3;
        margin-bottom: 12px;
        font-size: clamp(1.5rem, 6.5vw, 2rem);
        width: 100%;
    }
    
    .who-text h3 {
        display: block;
        white-space: normal;
        line-height: 1.3;
        margin-bottom: 12px;
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .who-row.first .who-text h2 {
        width: 100%;
    }
    
    .who-text.second {
        margin-top: 0 !important;
        font-size: 0.88rem;
    }
    
    .who-text p {
        margin-bottom: 12px;
    }
    
    .who-block {
        gap: 40px;
    }
    
    .who-row::after {
        content: "";
        display: table;
        clear: both;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-base {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
    }

    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-logo {
        height: 36px;
    }

.footer-brand p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

.footer-text {
    order: -1;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

    .footer-cta {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
        letter-spacing: 1.5px;
    }

    .footer-handle {
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.8rem;
    }

    .footer-links a {
        padding: 0.4rem 0.6rem;
    }

    .header-nav {
        gap: 12px;
        font-size: 0.92rem;
    }

    .header-logo {
        height: 46px;
    }

    .insta-item {
        flex: 0 0 180px;
        height: 180px;
    }

    /* Tablet: 2 depoimentos por vez */
    .testimonials-carousel {
        padding: 12px 26px 0;
    }

    .testimonials-carousel .testimonials-track {
        gap: 10px;
    }

    .testimonials-carousel .testimonial-slide {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }

    .testimonials-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
        top: 46%;
    }
}

@media (max-width: 767px) {
    .section-block {
        padding: 72px 0;
    }

    .hero-collage {
        grid-template-columns: 1fr;
    }
    
    .who-media {
        width: 40% !important;
        min-height: 260px !important;
        max-height: 320px !important;
        margin-right: 16px;
        margin-left: 0;
    }
    
    .who-row.first .who-media {
        width: 40% !important;
        margin-right: 16px;
        margin-left: 0;
    }
    
    .who-row.second .who-media.outlined {
        width: 40% !important;
        min-height: 240px !important;
        max-height: 300px !important;
        margin-left: 16px;
        margin-right: 0;
    }
    
    .who-row.second .who-text h3 {
        font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
        width: auto;
    }
    
    .who-row.second .who-text p {
        width: auto;
    }
    
    .who-text h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }
    
    .who-text h3 {
        font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
    }
    
    .who-text {
        font-size: 0.85rem;
    }

    .who-text.second {
        font-size: 0.85rem;
    }
    
    .who-text .eyebrow {
        font-size: clamp(2.8rem, 11vw, 4rem) !important;
        white-space: normal;
        line-height: 1.2;
    }
    
    .who-text h2,
    .who-text h3 {
        font-size: clamp(1.1rem, 4vw, 1.3rem) !important;
        white-space: normal;
        line-height: 1.3;
    }

    .left-stack {
        height: clamp(260px, 70vw, 340px);
    }

    .right-stack {
        height: auto;
        grid-template-rows: auto auto;
    }

    .right-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text {
        margin-top: 12px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .header-cta {
        display: none;
    }

    .header-brand {
        order: 1;
        flex: 0 0 auto;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        flex: 0 0 auto;
    }

    .header-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(247, 243, 235, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        display: none;
    }

    .header-nav.active {
        transform: translateX(0);
        display: flex;
    }

    .header-nav a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1rem;
    }

    .header-nav a:last-child {
        border-bottom: none;
    }

    .header-nav .header-cta-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid var(--ink);
        padding: 12px 20px;
        border-radius: 999px;
        font-size: 0.98rem;
        letter-spacing: 0.3px;
        text-transform: none;
        background: transparent;
        color: var(--ink);
        margin-top: 1rem;
        width: 100%;
        border-bottom: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .header-nav .header-cta-mobile:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        background: var(--ink);
        color: #fff;
    }

    body.login-page .header-cta {
        display: none !important;
    }

    /* Mobile: 1 depoimento por vez */
    .testimonials-carousel {
        padding: 8px 18px 0;
    }

    .testimonials-carousel .testimonials-track {
        gap: 8px;
    }

    .testimonials-carousel .testimonial-slide {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .testimonials-arrow {
        top: 50%;
        font-size: 1.6rem;
        width: 40px;
        height: 40px;
    }

    .impact-full img {
        height: 240px;
    }

    .logo-main {
        width: 60%;
    }

    .insta-item {
        flex: 0 0 160px;
        height: 160px;
    }

    .insta-arrow {
        width: 36px;
        height: 36px;
    }
}
