/* ============================================================
   DR. PEDRO WESTPHALEN — CIRURGIA PLÁSTICA
   style.css
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    /* Gold palette — alinhado com Design System */
    --gold-primary:  #9B8250;    /* accent sobre fundo claro, headings dark */
    --gold-warm:     #C4A96A;    /* subtítulos e labels em contexto escuro */
    --gold-peach:    #F2C8A0;    /* headlines hero */
    --gold:          #C4A96A;    /* alias → gold-warm (dark mode) */
    --gold-light:    #F2C8A0;    /* alias → gold-peach */
    --gold-dark:     #9B8250;    /* alias → gold-primary */
    --gold-muted:    rgba(196, 169, 106, 0.12);
    --gold-border:   rgba(196, 169, 106, 0.25);

    /* Dark backgrounds */
    --bg:            #0E0E0C;
    --bg-alt:        #141412;
    --bg-card:       #252830;    /* azul-ardósia escuro — DS bg-card-dark */
    --bg-card-hover: #2E3240;

    /* Light backgrounds */
    --bg-light:         #F2EEE6;   /* ivory editorial */
    --bg-card-lavender: #E8E5F0;   /* cards sobre fundo claro */
    --bg-inset-cream:   #EDE8DF;   /* card flutuante sobre preto */

    /* Dark mode text */
    --text:          #f0ede8;
    --text-secondary:#9a9590;
    --text-muted:    #5a5550;
    --border:        rgba(255, 255, 255, 0.06);

    /* Light mode text */
    --charcoal:      #2C2820;
    --gray-medium:   #7A7470;
    --gray-light:    #B0AAA6;

    --font-heading:  'Source Serif 4', Georgia, serif;
    --font-body:     'Spline Sans', system-ui, sans-serif;

    --radius:        4px;
    --radius-lg:     8px;
    --header-h:      72px;
    --transition:    0.3s ease;
    --shadow:        0 8px 40px rgba(0, 0, 0, 0.18);
    --shadow-card:   0 4px 20px rgba(0, 0, 0, 0.13);
}

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

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.section-header {
    max-width: 720px;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.1vw, 2.55rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin-top: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: 1rem;
}

.section-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-warm) 0%, var(--gold-primary) 100%);
    color: #0c0c0c;
    border: none;
}

.btn--primary:hover {
    filter: brightness(0.88);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 169, 106, 0.14);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--ghost:hover {
    border-color: var(--gold-border);
    color: var(--gold-light);
}

.btn--lg {
    font-size: 0.9rem;
    padding: 1rem 2.5rem;
}

/* ============================================================
   GRID
   ============================================================ */

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

/* ============================================================
   SECTION
   ============================================================ */

.section {
    padding: 7rem 0;
    background: var(--bg);
}

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

#procedimentos {
    padding-bottom: 0;
}

#depoimentos {
    padding-bottom: 0;
    margin-bottom: 0;
}
#depoimentos .section-header {
    margin-bottom: 0;
}

/* Seções editoriais light — DS: alternância dark/light como estratégia visual central */
.section--light {
    background: #FFFFFF;
    /* Override das custom props para contexto claro */
    --gold:          var(--gold-primary);
    --gold-light:    var(--gold-warm);
    --gold-muted:    rgba(155, 130, 80, 0.08);
    --gold-border:   rgba(155, 130, 80, 0.25);
    --text:          var(--charcoal);
    --text-secondary: var(--gray-medium);
    --text-muted:    var(--gray-light);
    --bg-card:       #FFFFFF;
    --bg-card-hover: #F5F4F8;
    --border:        rgba(44, 40, 32, 0.10);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition), box-shadow var(--transition);
    border-bottom: 1px solid transparent;
}

.header.is-scrolled {
    background: rgba(12, 12, 12, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ---- Brand ---- */
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.brand__dr {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold);
}

.brand__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

.brand__divider {
    width: 1px;
    height: 16px;
    background: var(--text-muted);
    display: block;
}

.brand__specialty {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---- Nav ---- */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__cta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0c0c0c;
    background: linear-gradient(135deg, var(--gold-warm) 0%, var(--gold-primary) 100%);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
    filter: brightness(0.88);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196, 169, 106, 0.14);
}

/* ---- Hamburger ---- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    height: 1px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.hamburger span:nth-child(3) { width: 60%; }

.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 100%; }

/* ---- Mobile menu ---- */
.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    transform: translateY(-110%);
    transition: transform var(--transition);
    padding: 2rem;
}

.mobile-menu.is-open {
    transform: translateY(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu__link {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.mobile-menu__link:last-of-type { border-bottom: none; }
.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__cta {
    display: inline-flex;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-warm) 0%, var(--gold-primary) 100%);
    color: #0c0c0c;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    justify-content: center;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 40%, rgba(196, 169, 106, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(196, 169, 106, 0.04) 0%, transparent 50%),
        var(--bg);
}

/* Geometric diamond decorators */
.hero__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__diamond {
    position: absolute;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.hero__diamond--lg {
    width: 400px;
    height: 400px;
    right: -80px;
    top: 50%;
    margin-top: -200px;
    opacity: 0.1;
}

.hero__diamond--sm {
    width: 220px;
    height: 220px;
    right: 60px;
    top: 50%;
    margin-top: -110px;
    opacity: 0.06;
}

/* Hero layout */
.hero__inner {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 5rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
    width: 100%;
}

.hero__content {
    max-width: 600px;
}

.hero__eyebrow {
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 4.6vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.hero__title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero__subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

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

/* Hero image */
.hero__image-wrap {
    position: relative;
}

.hero__image-placeholder {
    position: relative;
}

.hero__image {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
}

.hero__badge {
    position: absolute;
    bottom: -1rem;
    left: -1.5rem;
    background: var(--gold);
    color: #0c0c0c;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.hero__badge-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.hero__badge-sub {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 3px;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
    animation: scrollFade 2.8s ease-in-out infinite;
}

.hero__scroll:hover { color: var(--gold); }

.hero__scroll-label { order: 1; }

@media (max-width: 600px) {
    .hero__scroll-label { display: none; }
}

.hero__scroll-line {
    order: 2;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollFade {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
}

/* ============================================================
   CARDS (Procedimentos e Tecnologias)
   ============================================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card__number {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.card__text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
    flex: 1;
}

.card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    transition: gap var(--transition), color var(--transition);
}

.card:hover .card__cta { gap: 0.5rem; }


/* ============================================================
   TECNOLOGIAS — lista editorial
   Cada item é uma linha: número · conteúdo · CTA, separados por fio.
   ============================================================ */

.tech-list {
    display: grid;
    grid-template-columns: 1fr;
}

.card--tech {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 2.5rem;
    row-gap: 1.25rem;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: 3rem 0;
    overflow: visible;
    transition: border-color var(--transition);
}

.card--tech:last-child {
    border-bottom: 1px solid var(--border);
}

/* Neutraliza o hover de card (elevação/fundo) — aqui o feedback é tipográfico */
.card--tech:hover {
    background: transparent;
    border-color: var(--gold-border);
    transform: none;
    box-shadow: none;
}

.card__index {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--text-muted);
    transition: color var(--transition);
}

.card--tech:hover .card__index {
    color: var(--gold);
    opacity: 0.65;
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card--tech .card__title {
    font-size: 1.55rem;
    transition: color var(--transition);
}

.card--tech:hover .card__title {
    color: var(--gold);
}

.card--tech .card__text {
    font-size: 0.9rem;
    max-width: 46ch;
    flex: 0 1 auto;
}

.card--tech .card__cta {
    align-self: center;
    justify-self: end;
    margin-top: 0;
    white-space: nowrap;
}

/* ============================================================
   SOBRE
   ============================================================ */

.sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.sobre__visual {
    position: relative;
}

.sobre__frame {
    position: relative;
}

.sobre__photo {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.sobre__frame-decor {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold-border);
}

.sobre__frame-decor--tl {
    top: -16px;
    left: -16px;
    border-right: none;
    border-bottom: none;
}

.sobre__frame-decor--br {
    bottom: -16px;
    right: -16px;
    border-left: none;
    border-top: none;
}

.sobre__credential-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--gold);
    color: #0c0c0c;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.sobre__credential-badge-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.sobre__credential-badge-desc {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
    opacity: 0.75;
    max-width: 120px;
    line-height: 1.4;
}

.sobre__content {
    padding-top: 1rem;
}

.sobre__bio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.sobre__bio p strong {
    color: var(--text);
}

.sobre__credentials {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.sobre__credential {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
}

.sobre__credential:last-child { border-bottom: none; }

.sobre__credential-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.sobre__credential-value {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

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

.depoimentos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
    align-items: start;
}

.depoimento {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-left: 1.4rem;
    border-left: 1px solid var(--gold-border);
}

.depoimento__text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.85;
    color: var(--text);
    font-weight: 400;
}

.depoimento__name {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================================
   GOOGLE REVIEWS
   ============================================================ */

/* Loading dots */
.reviews-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 3rem 0;
}
.reviews-loading__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-border);
    animation: dotPulse 1.2s ease-in-out infinite;
}
.reviews-loading__dot:nth-child(2) { animation-delay: 0.2s; }
.reviews-loading__dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40%            { opacity: 1;   transform: scale(1);   }
}

/* Overall rating badge */
.google-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.google-badge__score {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--gold-warm);
}
.google-badge__detail {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.google-badge__stars {
    display: flex;
    gap: 2px;
    font-size: 1.1rem;
    color: var(--gold-warm);
}
.google-badge__count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.google-badge__link {
    margin-left: auto;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--gold-border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.google-badge__link:hover {
    color: var(--gold-warm);
    border-color: var(--gold-warm);
}

/* Review card: meta row (avatar + nome + estrelas + tempo) */
.depoimento__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.depoimento__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.depoimento__meta-info {
    flex: 1;
    min-width: 0;
}
.depoimento__meta-info .depoimento__name {
    display: block;
    margin-bottom: 0.25rem;
}
.depoimento__stars {
    display: flex;
    gap: 1px;
    font-size: 0.75rem;
    color: var(--gold-warm);
}
.depoimento__time {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: auto;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
    position: relative;
    background:
        linear-gradient(135deg, rgba(196, 169, 106, 0.15) 0%, transparent 60%),
        var(--bg-alt);
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
    padding: 5rem 0;
    overflow: hidden;
}

.cta-banner__decor {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 300px;
    height: 300px;
    border: 1px solid var(--gold-border);
    pointer-events: none;
}

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
}

.cta-banner__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

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

.footer {
    background: #080808;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.brand--footer { align-items: flex-start; }

.footer__tagline {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer__heading {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer__link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1;
    margin-bottom: 0.85rem;
    transition: color var(--transition);
}

.footer__link:hover { color: var(--text); }

.footer__link--whatsapp:hover { color: #4ade80; }

.footer__contact-type {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer__link--contact:hover .footer__contact-type { color: inherit; opacity: 0.7; }

.footer__address {
    font-size: 0.85rem;
    line-height: 2;
    color: var(--text-muted);
}

.footer__bottom {
    border-top: 1px solid var(--border);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 1rem;
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.footer__copy--link {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.footer__copy--link:hover { color: var(--gold); }

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #141414;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(0.98);
    transition: transform var(--transition);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    scrollbar-width: thin;
    scrollbar-color: var(--gold-border) transparent;
}

.modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
}

.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 2px; }

.modal__close {
    position: sticky;
    top: 1.25rem;
    float: right;
    margin: 1.25rem 1.25rem 0 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background var(--transition), color var(--transition);
    z-index: 1;
    flex-shrink: 0;
}

.modal__close svg, .modal__close i { width: 16px; height: 16px; font-size: 1rem; }
.modal__close:hover { background: var(--gold-muted); color: var(--gold); border-color: var(--gold-border); }

.modal__header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal__eyebrow { margin-bottom: 0.75rem; }

.modal__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
}

.modal__body {
    padding: 2rem 2.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.85;
}

.modal__body p { margin-bottom: 1rem; }
.modal__body p:last-child { margin-bottom: 0; }

.modal__body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(196, 169, 106, 0.04);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
}

.modal__body li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
}

.modal__body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.modal__body strong { color: var(--text); font-weight: 500; }

.modal__footer {
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 1px solid var(--border);
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */

.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #1a9e4a;
    color: #fff;
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(26, 158, 74, 0.18);
    transition: transform var(--transition), box-shadow var(--transition);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}


.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(26, 158, 74, 0.22);
}

/* ============================================================
   LOGO IMAGE
   ============================================================ */

.brand__logo {
    height: 36px;
    width: auto;
    display: block;
}

.brand--footer .brand__logo {
    height: 40px;
}

/* ============================================================
   CARD IMAGE
   ============================================================ */

.card__image {
    width: calc(100% + 4rem);
    height: 180px;
    object-fit: cover;
    object-position: center top;
    margin: -2rem -2rem 0 -2rem;
    flex-shrink: 0;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card__image {
    transform: none;
}

/* ============================================================
   SBCP BADGE LOGOS
   ============================================================ */

.hero__badge-logo {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.sobre__credential-badge-logo {
    height: 38px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

/* ============================================================
   PHOSPHOR ICONS — GLOBAL SIZING
   ============================================================ */

/* Modal close */
.modal__close .ph {
    font-size: 1rem;
    line-height: 1;
}

/* WhatsApp FAB */
.whatsapp-fab i {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Hero scroll icon */
.hero__scroll-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.7;
}

/* Card CTA arrow (Phosphor <i>) */
.card__cta-arrow {
    font-size: 0.95rem;
    line-height: 1;
    transition: transform var(--transition);
}

.card:hover .card__cta-arrow {
    transform: translateX(3px);
}

/* Footer contact icons */
.footer__link--contact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.footer__link--contact > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer__contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--gold);
    opacity: 0.7;
}

/* ============================================================
   PHOTO PLACEHOLDER
   ============================================================ */

.photo-placeholder {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.photo-placeholder i {
    font-size: 5rem;
    opacity: 0.2;
}

.hero__image-placeholder .photo-placeholder {
    aspect-ratio: 3/4;
}

.sobre__frame .photo-placeholder {
    aspect-ratio: 4/5;
}

/* ============================================================
   CAROUSEL — Procedimentos
   ============================================================ */

.carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 8vw, 140px);
    z-index: 3;
    pointer-events: none;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, #FFFFFF 0%, transparent 100%);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, #FFFFFF 0%, transparent 100%);
}

.carousel__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1.5rem clamp(2rem, 10vw, calc((100vw - 1160px) / 2 + 2rem)) 3rem;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--charcoal);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.carousel__btn:hover {
    background: var(--gold);
    color: var(--charcoal);
}

.carousel__btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.carousel__btn--prev { left: 0.25rem; }
.carousel__btn--next { right: 0.25rem; }

/* Carousel variant — fundo escuro (section--alt #141412) */
.carousel--dark::before {
    background: linear-gradient(to right, #141412 0%, transparent 100%);
}
.carousel--dark::after {
    background: linear-gradient(to left, #141412 0%, transparent 100%);
}
.carousel--dark .depoimento {
    flex-shrink: 0;
    width: clamp(280px, 42vw, 480px);
    scroll-snap-align: start;
}

/* ============================================================
   CARD — Photo variant (Procedimentos carousel)
   ============================================================ */

.card--photo {
    position: relative;
    flex: 0 0 300px;
    height: 420px;
    overflow: hidden;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    cursor: pointer;
    background: var(--bg-card);
    gap: 0;
}

.card--photo::before { display: none; }

.card--photo .card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    margin: 0;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.card--photo:hover .card__image {
    filter: grayscale(0%);
}

.card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card--photo .card__number {
    opacity: 1;
    color: var(--gold);
}

.card--photo .card__title {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.25;
}

.card--photo .card__cta {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    font-size: 0.7rem;
}

.card--photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-color: transparent;
    background: #252830;
}

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */

.contact-form {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 0.8rem 1rem;
    transition: border-color var(--transition), background var(--transition);
    width: 100%;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
    border-color: var(--gold-border);
    background: rgba(255, 255, 255, 0.08);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256'%3E%3Cpath fill='%23C4A96A' d='m213.66 101.66-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 53.66 90.34L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: #1a1a1a;
    color: var(--text);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check__input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--gold);
    cursor: pointer;
}

.form-check__label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.form-check__link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn--full { width: 100%; justify-content: center; }

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 480px;
}

.form-success.is-visible { display: flex; }

.form-success__icon {
    font-size: 3rem;
    color: var(--gold);
}

.form-success__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text);
}

.form-success__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   ANIMAÇÕES — scroll reveal + hero
   ============================================================ */

/* Scroll reveal base */
[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger: filhos ficam ocultos até o pai receber .is-visible */
[data-stagger] .card,
[data-stagger] .card--photo,
[data-stagger] .depoimento {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].is-visible .card,
[data-stagger].is-visible .card--photo,
[data-stagger].is-visible .depoimento {
    opacity: 1;
    transform: translateY(0);
}

/* Hero — auto-play no carregamento */
.hero__eyebrow  { opacity: 0; animation: heroUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.hero__title    { opacity: 0; animation: heroUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both; }
.hero__subtitle { opacity: 0; animation: heroUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both; }
.hero__actions  { opacity: 0; animation: heroUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.74s both; }
.hero__image-wrap { opacity: 0; animation: heroFade 0.9s ease 0.35s both; }
.hero__scroll   { opacity: 0; animation: heroFade 0.6s ease 1.1s both; }

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

@keyframes heroFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Gold shimmer no em do título */
.hero__title em {
    animation: goldBreath 6s ease-in-out infinite 1.4s;
}

@keyframes goldBreath {
    0%, 100% { color: var(--gold-peach); }
    50%       { color: var(--gold-warm); }
}

/* Badge flutua sutilmente */
.hero__badge {
    animation: badgeFloat 5s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-5px); }
}

/* Mobile: sem translateY, só fade */
@media (max-width: 768px) {
    [data-animate]           { transform: none; }
    [data-stagger] .card,
    [data-stagger] .card--photo,
    [data-stagger] .depoimento { transform: none; }

    .hero__eyebrow, .hero__title,
    .hero__subtitle, .hero__actions { animation-name: heroFade; }
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    [data-animate],
    [data-animate].is-visible,
    [data-stagger] .card,
    [data-stagger] .card--photo,
    [data-stagger] .depoimento,
    [data-stagger].is-visible .card,
    [data-stagger].is-visible .card--photo,
    [data-stagger].is-visible .depoimento,
    .hero__eyebrow, .hero__title, .hero__subtitle,
    .hero__actions, .hero__image-wrap, .hero__scroll {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hero__title em  { animation: none !important; color: var(--gold-peach); }
    .hero__badge     { animation: none !important; }
}

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

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero__content { max-width: 100%; }
    .hero__subtitle { max-width: 100%; margin-inline: auto; }
    .hero__eyebrow { justify-content: center; }
    .hero__actions { justify-content: center; }

    .hero__image-wrap {
        max-width: 380px;
        margin-inline: auto;
    }

    .hero__diamond--lg { right: -120px; }

    .sobre {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .sobre__visual { max-width: 420px; }

    .sobre__credential-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

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

    .depoimentos { grid-template-columns: 1fr; max-width: 560px; }

    /* Tecnologias: CTA desce para baixo do texto */
    .card--tech {
        grid-template-columns: 4rem minmax(0, 1fr);
        column-gap: 1.5rem;
        padding: 2.5rem 0;
    }

    .card__index { font-size: 1.9rem; }

    .card--tech .card__title { font-size: 1.35rem; }

    .card--tech .card__cta {
        grid-column: 2;
        align-self: start;
        justify-self: start;
    }

    .nav { display: none; }
    .hamburger { display: flex; }

    .carousel__btn { display: none; }
}

@media (max-width: 600px) {
    :root { --header-h: 64px; }

    .container { padding: 0 1.25rem; }

    .section { padding: 5rem 0; }

    .section-header { margin-bottom: 2.5rem; }

    .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }

    .card--tech {
        grid-template-columns: 1fr;
        row-gap: 0.85rem;
        padding: 2.25rem 0;
    }

    .card__index { font-size: 1.6rem; }

    .card--tech .card__cta { grid-column: 1; }

    .form-row--2 { grid-template-columns: 1fr; }

    .carousel { margin: 0 -1.25rem; }
    .carousel__track { padding: 0.5rem 1.25rem 1.25rem; }
    .card--photo { flex: 0 0 260px; height: 360px; }

    .hero__diamond--lg { display: none; }
    .hero__diamond--sm { display: none; }

    .sobre__credential {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 320px; }

    .modal { margin: 0; border-radius: var(--radius) var(--radius) 0 0; }
    .modal-overlay { align-items: flex-end; padding: 0; }

    .modal__header { padding: 2rem 1.5rem 1.25rem; }
    .modal__body { padding: 1.5rem; }
    .modal__footer { padding: 1.25rem 1.5rem 2rem; }

    .whatsapp-fab__label { display: none; }
    .whatsapp-fab { padding: 0.85rem; }
}
