/* =====================================================
   Medcão — Clínica Veterinária, Cirurgia e Pet Shop
   Design System Oficial: Vinho Profundo & Neutros Modernos
   Com o Gradiente Oficial "gg" da 21st.dev no Background
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores da Marca Medcão — Vinho & Bordô Puro */
    --primary: #8A0A3A;
    --primary-hover: #6E082E;
    --primary-dark: #4A031B;
    --primary-deep: #2D0110;
    --primary-light: rgba(138, 10, 58, 0.06);
    --primary-border: rgba(138, 10, 58, 0.18);

    /* 21st.dev "gg" Palette */
    --gg-white: #FFFFFF;
    --gg-coral: #B96A96;
    --gg-ruby: #950F46;
    --gg-charcoal: #4D0026;

    /* Gradiente "gg" 21st.dev com Noise Texture */
    --gradient-gg-css: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.210'/%3E%3C/svg%3E"), linear-gradient(38deg, #FFFFFF 4.32%, #FFFFFF 33.18%, #B96A96 37.86%, #B96A96 58.14%, #950F46 58.86%, #950F46 79.64%, #4D0026 80%, #4D0026 100%);

    /* Gradientes da Marca */
    --gradient-wine: linear-gradient(135deg, #950F46 0%, #8A0A3A 40%, #4D0026 100%);
    --gradient-hero: linear-gradient(90deg, rgba(12, 2, 6, 0.96) 0%, rgba(12, 2, 6, 0.90) 38%, rgba(12, 2, 6, 0.50) 65%, rgba(12, 2, 6, 0.15) 88%, transparent 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FBFBFC 100%);

    /* Neutros e Superfícies */
    --bg-page: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-light: #E2E8F0;
    --border-card: #E2E8F0;
    --border-card-hover: rgba(149, 15, 70, 0.35);

    /* Textos */
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Acentos */
    --success: #16A34A;
    --warning: #F59E0B;

    /* Tipografia */
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 14px 30px rgba(149, 15, 70, 0.14);
    --shadow-wine: 0 8px 24px rgba(77, 0, 38, 0.3);

    /* Transições */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Cursor da marca */
    --cursor-paw: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Cg%20fill='%238A0A3A'%20stroke='%23FFFFFF'%20stroke-width='1.4'%3E%3Cellipse%20cx='8'%20cy='10'%20rx='3'%20ry='4'%20transform='rotate(-24%208%2010)'/%3E%3Cellipse%20cx='13.5'%20cy='6.5'%20rx='3'%20ry='4'/%3E%3Cellipse%20cx='18.5'%20cy='6.5'%20rx='3'%20ry='4'/%3E%3Cellipse%20cx='24'%20cy='10'%20rx='3'%20ry='4'%20transform='rotate(24%2024%2010)'/%3E%3Cpath%20d='M16%2014c-4.9%200-9%204.2-9%208.2%200%203.4%202.6%205.3%205.7%204.2%201.4-.5%202.4-.5%203.3-.5s1.9%200%203.3.5c3.1%201.1%205.7-.8%205.7-4.2%200-4-4.1-8.2-9-8.2Z'/%3E%3C/g%3E%3C/svg%3E") 16 18, auto;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

@media (pointer: fine) {
    body,
    a,
    button,
    [role="button"] {
        cursor: var(--cursor-paw);
    }
}

/* =====================================================
   CLASSE UTILITÁRIA DO GRADIENTE "GG" (21ST.DEV)
   ===================================================== */
.gradient-gg {
    background-color: #4D0026;
    background-image: var(--gradient-gg-css);
    background-size: 120px 120px, cover;
    background-blend-mode: overlay, normal;
}

/* =====================================================
   TIPOGRAFIA & ESTRUTURA GLOBAL
   ===================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-family);
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gg-ruby);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.6;
    margin: 12px auto 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

/* =====================================================
   BOTÕES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-wine);
    color: #FFFFFF;
    box-shadow: var(--shadow-wine);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A81250 0%, #6E082E 50%, #360215 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(77, 0, 38, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.84rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.98rem;
}

.btn-white {
    background: #FFFFFF;
    color: var(--gg-ruby);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    background: #F8F9FA;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* =====================================================
   HEADER & NAVEGAÇÃO
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 8px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
    padding: 0 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.header-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.header-nav a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: color var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.header-nav a:hover {
    color: var(--gg-ruby);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gg-ruby);
    transition: width var(--transition-fast);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
}

/* =====================================================
   HERO FULLSCREEN (ORIGINAL COM GRADIENTE SUAVE À DIREITA)
   ===================================================== */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../img/hero-facade.jpg');
    background-size: cover;
    background-position: left 15% center;
    background-repeat: no-repeat;
    padding: 140px 0 80px;
    color: #FFFFFF;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, 
        rgba(8, 2, 5, 0.92) 0%, 
        rgba(8, 2, 5, 0.84) 30%, 
        rgba(8, 2, 5, 0.60) 50%, 
        rgba(8, 2, 5, 0.30) 70%, 
        rgba(8, 2, 5, 0.08) 85%, 
        transparent 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-content-right {
    max-width: 500px;
    margin-left: auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.hero-title {
    color: #FFFFFF;
    margin-bottom: 18px;
    font-weight: 800;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-action-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* =====================================================
   BARRA DE CONFIANÇA
   ===================================================== */
.trust-bar {
    padding: 22px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: #FFFFFF;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--gg-ruby);
    flex-shrink: 0;
}

.trust-item strong {
    color: var(--text-heading);
    font-weight: 700;
}

/* =====================================================
   SERVIÇOS — REEL HORIZONTAL INFINITO
   ===================================================== */
.services {
    position: relative;
    background-image: url('../img/gradient-gg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 104px 0;
}

.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 1, 16, 0.08), rgba(45, 1, 16, 0.42));
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .section-header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.services .section-label {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.services h2 {
    color: #FFFFFF;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    margin: 12px auto 0;
}

.services-reel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scroll-behavior: auto;
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.services-reel::-webkit-scrollbar {
    display: none;
}

.services-reel-track {
    display: flex;
    align-items: stretch;
    gap: 22px;
    width: max-content;
    padding: 8px max(24px, calc((100vw - 1180px) / 2 + 24px)) 30px;
}

.services-reel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.services-reel-button {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.services-reel-button:hover {
    background: rgba(255, 255, 255, 0.23);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.services-reel-button:active {
    transform: translateY(0) scale(0.96);
}

.services-reel-button:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

.services-reel-button svg {
    width: 22px;
    height: 22px;
}

.service-card {
    position: relative;
    isolation: isolate;
    width: clamp(310px, 29vw, 380px);
    min-height: 390px;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(40, 2, 18, 0.97), rgba(91, 5, 42, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
    box-shadow: 0 24px 55px -22px rgba(24, 0, 10, 0.72);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.service-card:nth-child(3n + 2) {
    background: linear-gradient(145deg, rgba(117, 8, 52, 0.98), rgba(164, 24, 83, 0.96));
}

.service-card:nth-child(3n) {
    background: linear-gradient(145deg, rgba(58, 12, 45, 0.98), rgba(111, 17, 70, 0.96));
}

.service-card::before {
    content: attr(data-service-number);
    position: absolute;
    top: 24px;
    right: 26px;
    z-index: -1;
    color: rgba(255, 255, 255, 0.14);
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    right: -95px;
    bottom: -110px;
    z-index: -1;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.035), 0 0 0 64px rgba(255, 255, 255, 0.025);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.48);
    transform: translateY(-8px) rotate(-0.35deg);
    box-shadow: 0 30px 65px -22px rgba(24, 0, 10, 0.88);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-icon-box svg {
    width: 26px;
    height: 26px;
    stroke: #FFFFFF;
    stroke-width: 1.7;
}

.service-card h3 {
    max-width: 290px;
    margin-bottom: 13px;
    font-size: clamp(1.26rem, 2vw, 1.48rem);
    color: #FFFFFF;
    line-height: 1.28;
}

.service-card p {
    font-size: 0.91rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 28px;
}

.service-card-action {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    margin-left: -13px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 700;
    color: #FFFFFF;
    transition: gap var(--transition-fast), background var(--transition-fast);
}

.service-card:hover .service-link {
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   SOBRE / HISTÓRIA
   ===================================================== */
.about {
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-light);
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 20%;
}

.about-content h2 {
    margin-bottom: 16px;
}

.about-content p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-box {
    padding: 18px;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--gg-ruby);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* =====================================================
   DEPOIMENTOS
   ===================================================== */
.testimonials {
    background: var(--bg-page);
    overflow: hidden;
}

.testimonials-columns {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-height: 620px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.testimonial-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-scroll {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: scroll-up var(--scroll-duration, 20s) linear infinite;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes trust-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card-21st {
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    width: 320px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.testimonial-card-21st:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-card-hover);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.testimonial-stars svg {
    width: 14px;
    height: 14px;
    fill: var(--warning);
}

.testimonial-card-21st .text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-body);
}

.testimonial-card-21st .author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.testimonial-card-21st .author-avatar-initial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(149, 15, 70, 0.12) 0%, rgba(77, 0, 38, 0.18) 100%);
    color: var(--gg-ruby);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(149, 15, 70, 0.2);
    flex-shrink: 0;
}

.testimonial-card-21st .name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.testimonial-card-21st .role {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =====================================================
   BANNER CTA (COM O GRADIENTE "GG" 21ST.DEV)
   ===================================================== */
.cta-banner {
    padding: 72px 0;
    background: var(--bg-page);
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, #8A0A3A 0%, #6E082E 50%, #4A031B 100%);
    border-radius: var(--radius-2xl);
    padding: 68px 36px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 20px 50px -10px rgba(138, 10, 58, 0.45);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card h2 {
    color: #FFFFFF;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* =====================================================
   CONTATO & LOCALIZAÇÃO (CLEAN LIGHT THEME COM MAPA)
   ===================================================== */
.contact {
    background: var(--bg-page);
    color: var(--text-body);
    border-top: 1px solid var(--border-light);
    position: relative;
    padding: 96px 0;
}

.contact .section-label {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact h2 {
    color: var(--text-heading);
    margin-bottom: 12px;
}

.contact .section-subtitle {
    color: var(--text-muted);
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 20px;
}

.contact-details-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-2xl);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(138, 10, 58, 0.06) 0%, rgba(138, 10, 58, 0.14) 100%);
    border: 1px solid rgba(138, 10, 58, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 1.8;
}

.contact-item-info h4 {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.contact-item-info p,
.contact-item-info a {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    transition: color var(--transition-fast);
}

.contact-item-info a:hover {
    color: var(--primary);
}

.btn-contact-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--gradient-wine);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(138, 10, 58, 0.35);
    transition: all var(--transition-base);
}

.btn-contact-whatsapp:hover {
    background: linear-gradient(135deg, #A81250 0%, #6E082E 50%, #360215 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(138, 10, 58, 0.5);
}

.contact-map-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 480px;
    position: relative;
    background: #FFFFFF;
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    display: block;
}

/* =====================================================
   RODAPÉ (VINHO MEDCÃO PROFUNDO)
   ===================================================== */
.footer {
    background: linear-gradient(180deg, #4A031B 0%, #2D0110 100%);
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo-wrap {
    margin-bottom: 16px;
}

.footer-brand .footer-logo-wrap img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-column h4 {
    font-size: 0.84rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-column a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* =====================================================
   RESPONSIVIDADE
   ===================================================== */
@media (max-width: 1024px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
    .contact-map-card {
        min-height: 400px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .testimonial-column:nth-child(3) {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        width: min(82vw, 300px);
        height: 100vh;
        height: 100dvh;
        background: #FFFFFF;
        flex-direction: column;
        justify-content: center;
        padding: 32px;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition-base);
    }
    .header-nav.open { right: 0; }
    .header-nav a { color: var(--text-heading) !important; font-size: 1.05rem; }
    .header-actions .btn { display: none; }
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }
}

@media (max-width: 768px) {
    .hero-fullscreen {
        min-height: 100svh;
        background-position: center center;
        padding: 112px 0 56px;
    }
    .hero-bg-overlay {
        background: linear-gradient(180deg,
            rgba(8, 2, 5, 0.78) 0%,
            rgba(8, 2, 5, 0.82) 45%,
            rgba(8, 2, 5, 0.90) 100%
        );
    }
    .hero-content-right {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
    .hero-title { font-size: clamp(1.9rem, 7.5vw, 2.2rem); }
    .hero-lead { font-size: 1rem; line-height: 1.65; }
    .hero-action-buttons { flex-direction: column; width: 100%; }
    .hero-action-buttons .btn { width: 100%; justify-content: center; }

    .trust-bar {
        overflow: hidden;
    }
    .trust-bar-inner {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        width: max-content;
        animation: trust-marquee 24s linear infinite;
    }
    .trust-item {
        width: auto;
        flex-shrink: 0;
        white-space: nowrap;
        padding-right: 44px;
    }

    .services {
        padding: 82px 0;
    }
    .services .section-header {
        margin-bottom: 28px;
    }
    .services-reel {
        mask-image: none;
        -webkit-mask-image: none;
    }
    .services-reel-track {
        gap: 16px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .services-reel-button {
        width: 48px;
        height: 48px;
    }
    .service-card {
        width: min(82vw, 340px);
        min-height: 400px;
        padding: 27px;
    }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .testimonial-column:nth-child(2) { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .header-inner {
        padding-left: 18px;
        padding-right: 18px;
    }
    .header-logo img {
        height: 40px;
    }
    .section {
        padding: 72px 0;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .hero-fullscreen {
        padding: 104px 0 48px;
    }
    .hero-eyebrow {
        font-size: 0.78rem;
        line-height: 1.4;
    }
    .hero-title {
        font-size: clamp(1.8rem, 8.4vw, 2.05rem);
    }
    .trust-bar-inner {
        gap: 0;
    }

    .services {
        padding: 72px 0;
    }
    .services-reel-track {
        padding-left: 18px;
        padding-right: 18px;
    }
    .service-card {
        width: min(calc(100vw - 36px), 340px);
        padding: 24px;
    }
    .about-image-wrap img {
        height: 360px;
    }
    .testimonial-card-21st {
        width: min(calc(100vw - 36px), 320px);
        padding: 22px;
    }
    .cta-card {
        padding: 48px 20px;
    }
    .cta-actions .btn {
        width: 100%;
    }
    .contact {
        padding: 72px 0;
    }
    .contact-details-card {
        padding: 28px 22px;
    }
    .contact-map-card,
    .contact-map-card iframe {
        min-height: 320px;
    }
    .footer {
        padding-top: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }
