/* ==================================================
   SynapseDev Studio — Tema Contabilidade Premium (híbrido)
   Cartão digital + seções institucionais | CSS puro
   ================================================== */

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

/*
 * Sem text-size-adjust: o site já é mobile-first com meta viewport.
 * A propriedade é experimental, suporte irregular (Firefox/Safari) e
 * gera avisos cruzados no Edge Tools entre prefixo e padrão.
 */
html {
    scroll-behavior: smooth;
}

body.theme-premium {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; }

:root {
    --color-primary: #C9A84C;
    --color-secondary: #1A1410;
    --color-bg: #120E0C;
    --color-bg-alt: #1C1612;
    --color-bg-soft: #241C17;
    --color-text: #F4EFE6;
    --color-text-muted: rgba(244, 239, 230, 0.68);
    --color-border: rgba(201, 168, 76, 0.18);
    --color-glass: rgba(255, 255, 255, 0.06);
    --color-glass-border: rgba(255, 255, 255, 0.16);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
    --container: 1120px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1.3;
    min-height: 48px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #a8872f);
    color: #120E0C;
    border-color: transparent;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-glass-border);
}
.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.875rem; min-height: 40px; }

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(18, 14, 12, 0.55);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(18, 14, 12, 0.92);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.header-logo {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}
.header-monogram {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}
.header-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-nav { display: flex; gap: 1.75rem; align-items: center; }
.header-nav-cta { display: none; }
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--color-primary); }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.header-actions { display: flex; gap: 0.75rem; }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* --- HERO --- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}
.hero-bg-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.85) brightness(0.55);
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(180deg, rgba(18,14,12,0.45) 0%, rgba(18,14,12,0.78) 48%, rgba(18,14,12,0.97) 100%),
        radial-gradient(ellipse at 50% 20%, rgba(201,168,76,0.16), transparent 55%);
}
.hero-watermark {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(7rem, 22vw, 16rem);
    font-weight: 600;
    line-height: 0.8;
    color: rgba(201, 168, 76, 0.06);
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    letter-spacing: -0.04em;
}
.hero-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    align-items: center;
    gap: 2rem;
}
.hero-copy {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.hero-portrait {
    display: none;
}
.hero-portrait img,
.hero-portrait-fallback {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}
.hero-portrait-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.18), transparent 60%),
        var(--color-bg-soft);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.hero-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}
.hero-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.45rem;
}
.hero-avatar-wrap { flex-shrink: 0; }
.hero-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(201, 168, 76, 0.55);
    box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.08);
    background: var(--color-bg-soft);
}
.hero-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
}
.hero-identity-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.85rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.hero-role {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0 auto 0.85rem;
    max-width: 28rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.hero-subtitle {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin: 0 auto 1rem;
    max-width: 28rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}
.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 auto 1.5rem;
    width: 100%;
    max-width: 420px;
    text-align: left;
}
.pill-cta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.15rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-glass-border);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--color-text);
    min-height: 64px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.pill-cta:hover {
    border-color: rgba(201, 168, 76, 0.55);
    background: rgba(201, 168, 76, 0.1);
    transform: translateY(-1px);
}
.pill-cta-primary {
    border-color: rgba(201, 168, 76, 0.45);
    background: rgba(201, 168, 76, 0.12);
}
.pill-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: var(--color-primary);
    flex-shrink: 0;
}
.pill-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.pill-text strong {
    font-size: 0.98rem;
    font-weight: 600;
}
.pill-text small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.hero-secondary {
    text-align: center;
}

/* --- SECTIONS --- */
.section { padding: 5.5rem 0; position: relative; }
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- ABOUT --- */
.section-about { background: var(--color-bg-alt); }
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid var(--color-border);
    border-radius: inherit;
    pointer-events: none;
}
.about-image-fallback {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.16), transparent 60%),
        var(--color-bg-soft);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--color-border);
}
.about-content .section-label,
.about-content .section-title { text-align: left; }
.about-text {
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;
    line-clamp: 12;
    overflow: hidden;
}
.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

/* --- SERVICES --- */
.section-services {
    background: var(--color-bg);
    overflow: hidden;
}
.services-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}
.services-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: grayscale(0.3);
}
.services-backdrop-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(18,14,12,0.85), rgba(18,14,12,0.96));
}
.section-services > .container { position: relative; z-index: 1; }

.services-carousel-wrap { position: relative; }
.services-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem;
}
.services-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.service-card {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: center;
    background: rgba(28, 22, 18, 0.72);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    min-height: 200px;
    transition: var(--transition);
}
.service-card:hover {
    border-color: rgba(201, 168, 76, 0.45);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.service-icon svg {
    width: 26px;
    height: 26px;
}
.service-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}
.service-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.services-controls,
.differentials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-glass-border);
    background: var(--color-glass);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.carousel-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.services-hint,
.differentials-hint {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* --- DIFFERENTIALS --- */
.section-differentials { background: var(--color-bg-alt); }
.differentials-carousel-wrap { position: relative; }
.differentials-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem;
}
.differentials-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
.differential-card {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: center;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.15rem;
    text-align: center;
    transition: var(--transition);
}
.differential-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}
.differential-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}
.differential-icon svg {
    width: 22px;
    height: 22px;
}
.differential-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.differential-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* --- ATTENDANCE --- */
.section-attendance { background: var(--color-bg); }
.attendance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.attendance-card {
    text-align: center;
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    transition: var(--transition);
}
.attendance-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.attendance-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}
.attendance-icon svg {
    width: 22px;
    height: 22px;
}
.attendance-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.attendance-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 0.2rem;
}

/* --- TESTIMONIALS --- */
.section-testimonials { background: var(--color-bg-alt); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.testimonial-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-quote { color: var(--color-primary); margin-bottom: 0.85rem; opacity: 0.7; }
.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.35rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #8a6d28);
    color: #120E0C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--color-text);
}
.testimonial-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- CTA --- */
.section-cta { background: var(--color-bg); padding: 4.5rem 0; }
.cta-panel {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--color-border);
    background:
        radial-gradient(ellipse at top, rgba(201,168,76,0.14), transparent 55%),
        var(--color-bg-alt);
}
.cta-panel h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    margin-bottom: 0.85rem;
}
.cta-panel p {
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto 1.75rem;
}

/* --- CONTACT --- */
.section-contact { background: var(--color-bg-alt); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    min-height: 84px;
}
.contact-item:hover {
    border-color: rgba(201, 168, 76, 0.45);
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}
.contact-item strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}
.contact-item span {
    font-size: 0.95rem;
    color: var(--color-text);
    word-break: break-word;
}

/* --- FOOTER --- */
.site-footer {
    background: #0C0A09;
    color: var(--color-text-muted);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--color-border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand strong {
    display: block;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}
.footer-brand p { font-size: 0.875rem; max-width: 360px; }
.footer-social { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}
.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #120E0C;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.35rem;
    font-size: 0.8rem;
}
.footer-credit a { color: var(--color-primary); }
.footer-credit a:hover { text-decoration: underline; }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-whatsapp 2.2s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55); }
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (min-width: 768px) {
    .hero-copy { max-width: 560px; }
    .hero-ctas { max-width: 440px; }
}

@media (min-width: 1024px) {
    .hero {
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: calc(var(--header-h) + 3rem);
        padding-bottom: 4rem;
    }
    .hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
        gap: 4.5rem;
        max-width: var(--container);
        margin: 0 auto;
    }
    .hero-copy {
        max-width: none;
        margin: 0;
        text-align: left;
    }
    .hero-identity {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }
    .hero-avatar-wrap { display: none; }
    .hero-identity-text { align-items: flex-start; }
    .hero-name { font-size: clamp(2.4rem, 3.4vw, 3.35rem); }
    .hero-headline,
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        max-width: 34rem;
    }
    .hero-ctas {
        margin-left: 0;
        max-width: 420px;
    }
    .hero-secondary { text-align: left; }
    .hero-portrait {
        display: flex;
        justify-content: flex-end;
    }
    .hero-watermark { left: 18%; }
    .services-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0.5rem;
        gap: 1rem;
    }
    .service-card {
        flex: none;
        width: auto;
        min-height: 210px;
    }
    .services-controls { display: none; }

    .differentials-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0.5rem;
        gap: 1rem;
    }
    .differential-card {
        flex: none;
        width: auto;
    }
    .differentials-controls { display: none; }
}

@media (max-width: 1024px) {
    .testimonials-grid,
    .attendance-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 2.25rem; }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-actions { display: none; }
    .header-nav.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(18, 14, 12, 0.98);
        padding: 0.5rem 1.25rem 1.25rem;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }
    .header-nav.active .nav-link {
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .header-nav.active .header-nav-cta {
        display: inline-flex;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    .hamburger { display: block; flex-shrink: 0; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .header-brand { flex: 1; min-width: 0; }
    .header-logo { height: 32px; max-width: 104px; }
    .header-name { font-size: 0.95rem; }

    .hero {
        align-items: center;
        padding: calc(var(--header-h) + 1.75rem) 0 2.5rem;
    }
    .hero-copy { max-width: 420px; }
    .hero-portrait { display: none; }
    .hero-avatar-wrap { display: block; }
    .hero-avatar { width: 104px; height: 104px; }
    .hero-bg-photo { object-position: center 18%; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { max-width: 280px; margin: 0 auto 0.5rem; }
    .about-image img,
    .about-image-fallback {
        max-height: 340px;
        aspect-ratio: 3 / 4;
    }
    .about-content .section-label,
    .about-content .section-title { text-align: center; }
    .about-content { text-align: center; }
    .testimonials-grid,
    .attendance-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-social { justify-content: center; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .section { padding: 4rem 0; }
    .services-track,
    .differentials-track {
        padding-left: 0.15rem;
        padding-right: 0.15rem;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    body.theme-premium { font-size: 15px; }
    .container { padding: 0 1rem; }
    .hero-avatar { width: 92px; height: 92px; }
    .hero-ctas {
        gap: 0.65rem;
        max-width: 100%;
    }
    .pill-cta {
        min-height: 58px;
        padding: 0.8rem 1rem;
    }
    .pill-text strong { font-size: 0.92rem; }
    .pill-text small { font-size: 0.75rem; }
    .service-card { flex-basis: min(74vw, 270px); }
    .differential-card { flex-basis: min(74vw, 270px); }
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 360px) {
    .header-name { max-width: 120px; }
    .header-logo { max-width: 88px; }
    .hero-name { font-size: 1.7rem; }
    .hero-headline { font-size: 1.15rem; }
}

@media (min-width: 1440px) {
    :root { --container: 1200px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1; transform: none; transition: none; }
    .whatsapp-float { animation: none; }
}
