/* ============================================================
   Dr. George Oliveira — Site Institucional Premium
   Estilo: Odontologia / Cirurgia Bucomaxilofacial
   Estrutura: Mobile First, Sem Frameworks
   ============================================================ */

/* ===========================================
   1. RESET & BASE
   =========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* === Paleta de cores ===
       Azul-marinho #021429 | Dourado creme #C9A84C | Branco gelo #F0EFEE | Vermelho pontual #C0392B
    */
    --primary: #021429;
    --primary-light: #0a2440;
    --secondary: #0f3258;
    --secondary-light: #1a4570;
    --accent: #C9A84C;
    --accent-light: #E0C76E;
    --accent-dark: #A8893D;
    --gold: #C9A84C;
    --gold-light: #E0C76E;
    --red-detail: #C0392B;
    --whatsapp: #25d366;
    --whatsapp-dark: #1ebe5a;
    --light: #F0EFEE;
    --light-alt: #e6e5e3;
    --white: #ffffff;
    --text: #1f2933;
    --text-light: #4a5568;
    --muted: #667085;
    --border: rgba(255, 255, 255, 0.12);
    --border-dark: rgba(2, 20, 41, 0.08);

    /* === Gradientes === */
    --gradient-primary: linear-gradient(135deg, #021429 0%, #0f3258 60%, #1a4570 100%);
    --gradient-hero: linear-gradient(135deg, rgba(2, 20, 41, 0.96) 0%, rgba(15, 50, 88, 0.92) 50%, rgba(2, 20, 41, 0.95) 100%);
    --gradient-gold: linear-gradient(135deg, #C9A84C 0%, #E0C76E 100%);
    --gradient-accent: linear-gradient(135deg, #C9A84C 0%, #E0C76E 100%);
    --gradient-accent-deep: linear-gradient(135deg, #A8893D 0%, #C9A84C 100%);
    --gradient-cta: linear-gradient(135deg, #021429 0%, #0f3258 100%);

    /* === Tipografia === */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* === Espaçamentos === */
    --container: 1200px;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* === Sombras === */
    --shadow-sm: 0 2px 8px rgba(2, 20, 41, 0.06);
    --shadow: 0 8px 30px rgba(2, 20, 41, 0.10);
    --shadow-lg: 0 20px 60px rgba(2, 20, 41, 0.14);
    --shadow-xl: 0 30px 80px rgba(2, 20, 41, 0.20);
    --shadow-glow: 0 0 40px rgba(201, 168, 76, 0.25);

    /* === Transições === */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary);
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ===========================================
   2. UTILITÁRIOS
   =========================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section--alt {
    background: linear-gradient(180deg, var(--light) 0%, var(--light-alt) 100%);
}

.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 28px;
}

.section__eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.section__eyebrow::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red-detail);
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.75;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.section__lead {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
}

/* Reveal animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   3. BOTÕES
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--lg {
    padding: 1.125rem 2rem;
    font-size: 1rem;
}

.btn--xl {
    padding: 1.375rem 2.75rem;
    font-size: 1.0625rem;
}

.btn--block {
    width: 100%;
}

/* WhatsApp button */
.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42);
}

.btn--whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn--whatsapp:hover::before {
    transform: translateX(100%);
}

/* Outline button */
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

/* Header button (smaller) */
.btn--header {
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem;
}

/* ===========================================
   4. HEADER
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(2, 20, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.header.is-scrolled {
    background: rgba(2, 20, 41, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    color: var(--white);
}

.logo__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
    flex-shrink: 0;
}

.logo__icon svg {
    width: 24px;
    height: 24px;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.logo__sub {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Nav */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    gap: 0.25rem;
}

.nav__link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    position: relative;
    transition: color var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    width: 24px;
}

/* Menu mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 110;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================
   5. HERO SECTION
   =========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
    color: var(--white);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(160, 24, 24, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.hero__glow--1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.4), transparent);
    animation: float 18s ease-in-out infinite;
}

.hero__glow--2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(160, 24, 24, 0.25), transparent);
    animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero__xray {
    position: absolute;
    top: 50%;
    right: -5%;
    width: 60%;
    max-width: 800px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero__content {
    max-width: 640px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-detail);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); }
}

.hero__title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero__title-sub {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 1rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.hero__text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero__text strong {
    color: var(--white);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero__trust-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.hero__trust-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

.hero__trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
}

/* Hero card lateral */
.hero__card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(160, 24, 24, 0.25), transparent 70%);
    pointer-events: none;
}

.hero__card-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__card-eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.hero__card-title {
    font-size: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.hero__card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero__card-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.hero__card-list li:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hero__card-list li > div {
    display: flex;
    flex-direction: column;
}

.hero__card-list li strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

.hero__card-list li small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.hero__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    flex-shrink: 0;
}

.hero__card-icon svg {
    width: 20px;
    height: 20px;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    position: relative;
}

.hero__scroll span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ===========================================
   6. AUTORIDADE
   =========================================== */
.authority__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.authority__card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-dark);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.authority__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.authority__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 168, 76, 0.2);
}

.authority__card:hover::before {
    transform: scaleX(1);
}

.authority__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.authority__card:hover .authority__icon {
    background: var(--gradient-accent);
    color: var(--white);
    transform: rotate(-5deg) scale(1.05);
}

.authority__icon svg {
    width: 28px;
    height: 28px;
}

.authority__card h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.625rem;
    color: var(--primary);
}

.authority__card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===========================================
   7. ESPECIALIDADES
   =========================================== */
.specialties__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.spec-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(201, 168, 76, 0.2);
}

.spec-card__visual {
    position: relative;
    height: 180px;
    background: var(--gradient-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(201, 168, 76, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(160, 24, 24, 0.15) 0%, transparent 50%);
}

.spec-card__pattern {
    position: absolute;
    inset: 0;
    color: var(--accent-light);
    opacity: 0.45;
    transition: all var(--transition-slow);
}

.spec-card__pattern svg {
    width: 100%;
    height: 100%;
}

.spec-card:hover .spec-card__pattern {
    opacity: 0.7;
    transform: scale(1.08);
}

.spec-card__icon {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.spec-card:hover .spec-card__icon {
    background: linear-gradient(135deg, var(--accent), var(--secondary-light));
    border-color: var(--accent);
    transform: rotate(-8deg);
    box-shadow: var(--shadow-glow);
}

.spec-card__icon svg {
    width: 36px;
    height: 36px;
}

.spec-card__body {
    padding: 1.75rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spec-card__num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.spec-card__num::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--red-detail);
    margin-right: 5px;
    vertical-align: middle;
    opacity: 0.6;
}

.spec-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    padding-right: 2.5rem;
}

.spec-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}

.spec-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition);
    align-self: flex-start;
}

.spec-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.spec-card__link:hover {
    color: var(--secondary);
    gap: 0.75rem;
}

.spec-card__link:hover svg {
    transform: translateX(2px);
}

/* ===========================================
   8. WHEN — Quando procurar
   =========================================== */
.when__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.when__content .section__title {
    text-align: left;
}

.when__content .section__lead {
    margin-bottom: 2rem;
}

.when__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.when__list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}

.when__list li:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.when__check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.when__check svg {
    width: 14px;
    height: 14px;
}

.when__visual {
    position: relative;
}

.when__image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/5;
    background: var(--gradient-primary);
}

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

.when__image-frame svg {
    width: 100%;
    height: 100%;
    display: block;
}

.when__floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    background: var(--white);
}

.when__floating-card div {
    display: flex;
    flex-direction: column;
}

.when__floating-card strong {
    font-size: 0.9375rem;
    color: var(--primary);
    font-weight: 600;
}

.when__floating-card small {
    font-size: 0.75rem;
    color: var(--muted);
}

.when__floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.when__floating-icon svg {
    width: 22px;
    height: 22px;
}

/* ===========================================
   9. ABOUT
   =========================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 3/4;
}

.about__image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Comente este bloco se for usar imagem real */
.about__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    z-index: 2;
}

.about__badge div {
    display: flex;
    flex-direction: column;
}

.about__badge strong {
    font-size: 0.9375rem;
    color: var(--primary);
    font-weight: 600;
}

.about__badge small {
    font-size: 0.75rem;
    color: var(--muted);
}

.about__badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__badge-icon svg {
    width: 22px;
    height: 22px;
}

.about__content .section__title {
    text-align: left;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about__text strong {
    color: var(--primary);
    font-weight: 600;
}

.about__features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.about__feature:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.about__feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about__feature-icon svg {
    width: 20px;
    height: 20px;
}

.about__feature div {
    display: flex;
    flex-direction: column;
}

.about__feature strong {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.about__feature small {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 1px;
}

/* ===========================================
   10. DIFERENCIAIS
   =========================================== */
.differentials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.diff-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-dark);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.diff-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width var(--transition-slow);
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 168, 76, 0.3);
}

.diff-card:hover::after {
    width: 100%;
}

.diff-card__num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
}

.diff-card__num::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 16px;
    height: 2px;
    background: var(--red-detail);
    border-radius: 1px;
    opacity: 0.55;
}

.diff-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.diff-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===========================================
   11. CTA
   =========================================== */
.cta__box {
    background: var(--gradient-cta);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
}

.cta__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta__pattern svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta__box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.2), transparent 60%);
    pointer-events: none;
}

.cta__box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(160, 24, 24, 0.15), transparent 60%);
    pointer-events: none;
}

.cta__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.cta__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-detail);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.cta__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.cta__text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta__meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta__meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.cta__meta svg {
    width: 16px;
    height: 16px;
    color: var(--accent-light);
}

/* ===========================================
   12. CONTATO
   =========================================== */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-dark);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.contact-card:hover .contact-card__icon {
    transform: rotate(-5deg) scale(1.05);
}

.contact-card__icon svg {
    width: 28px;
    height: 28px;
}

.contact-card__icon--whatsapp {
    background: var(--whatsapp);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.contact-card__icon--instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
}

.contact-card__icon--gold {
    background: var(--gradient-gold);
    box-shadow: 0 8px 20px rgba(160, 24, 24, 0.3);
}

.contact-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.contact-card__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.contact-card__desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition);
}

.contact-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.contact-card:hover .contact-card__cta {
    gap: 0.75rem;
}

.contact-card:hover .contact-card__cta svg {
    transform: translateX(2px);
}

.contact__cta-mobile {
    display: none;
    text-align: center;
}

/* ===========================================
   13. FOOTER
   =========================================== */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(160, 24, 24, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo--footer {
    margin-bottom: 1.25rem;
}

.footer__about {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 360px;
}

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    display: inline-block;
    position: relative;
}

.footer__col a:hover {
    color: var(--accent-light);
    transform: translateX(2px);
}

.footer__bottom {
    text-align: center;
}

.footer__bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.footer__small {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ===========================================
   14. WHATSAPP FLUTUANTE
   =========================================== */
.float-whats {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
}

.float-whats svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

.float-whats:hover {
    transform: scale(1.08) rotate(-4deg);
    background: var(--whatsapp-dark);
}

.float-whats__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: float-pulse 2s ease-out infinite;
}

@keyframes float-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===========================================
   15. RESPONSIVO — Tablet
   =========================================== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__card {
        max-width: 480px;
    }

    .when__grid,
    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .when__visual,
    .about__visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .footer__main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* ===========================================
   16. RESPONSIVO — Mobile
   =========================================== */
@media (max-width: 768px) {
    /* Header — esconder nav desktop */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--primary);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        justify-content: flex-start;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.4);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav.is-open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav__link {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav__link:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .nav__link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .btn--header {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__trust {
        gap: 1rem;
        justify-content: space-between;
    }

    .hero__trust-divider {
        display: none;
    }

    .hero__trust-num {
        font-size: 1.25rem;
    }

    .hero__xray {
        opacity: 0.3;
        width: 100%;
        right: -20%;
    }

    .hero__scroll {
        display: none;
    }

    .hero__card {
        padding: 1.5rem;
    }

    /* Sections */
    .section {
        padding: 3.5rem 0;
    }

    .section__head {
        margin-bottom: 2.5rem;
    }

    /* About */
    .about__features {
        grid-template-columns: 1fr;
    }

    .about__badge {
        right: 1rem;
        bottom: -1rem;
        padding: 1rem 1.25rem;
    }

    /* When */
    .when__list {
        grid-template-columns: 1fr;
    }

    .when__floating-card {
        left: 1rem;
        bottom: -1rem;
        padding: 1rem 1.25rem;
    }

    /* CTA */
    .cta__box {
        padding: 3rem 1.5rem;
    }

    /* Contato — mostrar CTA mobile */
    .contact__cta-mobile {
        display: block;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    /* WhatsApp flutuante */
    .float-whats {
        bottom: 1rem;
        right: 1rem;
        width: 54px;
        height: 54px;
    }

    .float-whats svg {
        width: 26px;
        height: 26px;
    }
}

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

    .logo__sub {
        display: none;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }

    .btn--lg {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn--xl {
        padding: 1.125rem 1.75rem;
        font-size: 1rem;
    }

    .cta__box {
        padding: 2.5rem 1.25rem;
    }

    .spec-card__visual {
        height: 160px;
    }

    .authority__card,
    .diff-card,
    .contact-card {
        padding: 1.5rem;
    }
}

/* ===========================================
   17. ACESSIBILIDADE & PRINT
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

/* Hide focus on mouse click, keep on keyboard */
:focus:not(:focus-visible) {
    outline: none;
}
