:root {
    --bg: #f7f3ef;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --surface-soft: #f4ede6;
    --text: #1d2430;
    --muted: #667085;
    --primary: #6f0d12;
    --primary-2: #8f1d22;
    --accent: #c8a46a;
    --accent-2: #e5c88f;
    --line: rgba(111, 13, 18, 0.10);
    --shadow-sm: 0 10px 24px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 20px 50px rgba(17, 24, 39, 0.10);
    --shadow-lg: 0 28px 70px rgba(17, 24, 39, 0.16);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 40px;
    --container: 1280px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(200, 164, 106, 0.14), transparent 30%),
        linear-gradient(180deg, #fbf8f5 0%, #f5efe8 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    zoom: 90%;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.parallax-img {
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 50vh;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    padding: 88px 0;
}

.section-kicker,
.office-kicker,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.98;
    color: #182331;
}

.section-sub {
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1.9;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 999;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 32px;
    background-color: rgb(93, 2, 2);

    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
}

/* REMOVE efeito glass */
.navbar::before {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo-mark {
    width: 100px;
    padding: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.logo-text span {
    margin-top: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e3c381;
}

.nav-links a {
    position: relative;

    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);

    letter-spacing: 0.4px;
    font-size: 18px;

    padding: 20px;

    transition: all 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, #b68b5c, #d4af37);

    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hero {
    width: 100%;
    min-height: 115svh;

    display: flex;
    align-items: center;

    background-color: #6d0101;
    /* ORIGINAL */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;

    padding: 64px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
    align-items: center;
    gap: 56px;
}

.hero-content {
    color: #fff;
}


.hero-content h1 {
    margin-bottom: 28px;
    font-size: 72px;
    line-height: 1;
    color: #ffffff;
}

.hero-content h1 i {
    color: #d4af37;
    border-bottom: 3px solid #d4af37;
}

.hero-desc {
    font-size: 19px;
    color: #f2dede;
    max-width: 580px;
    line-height: 1.8;
    text-wrap: balance;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn-whatsapp-hero,
.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-whatsapp-hero {
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;

    color: #fff;
    background: linear-gradient(135deg, #25D366, #1ebe5d);

    box-shadow: 0px 12px 28px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-hero:hover,
.contact-whatsapp:hover,
.whatsapp-float:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(37, 211, 102, 0.34);
}

.btn-whatsapp-hero i,
.contact-whatsapp i {
    font-size: 32px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 840px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metric {
    position: relative;
    padding: 26px 28px 24px;
    text-align: center;
    transition: transform 0.28s ease, background 0.28s ease;
}

.hero-metric:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    bottom: 18px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-metric:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.03);
}

.hero-metric strong {
    display: block;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 3.4vw, 3.4rem);
    letter-spacing: -0.03em;
    color: var(--accent-2);
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hero-metric span {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-image img {
    display: block;
    width: 80%;
    max-width: 520px;
    object-fit: contain;
    filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.18));
}

.section-transition {
    position: relative;
    height: clamp(260px, 35vw, 420px);
    overflow: hidden;
}

.section-transition-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.55s ease;
}

.section-transition-bg.is-visible {
    opacity: 1;
}

.section-transition::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.34), rgba(7, 7, 10, 0.55));
    z-index: 2;
}


#areas {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #f6f0ea 0%, #fcfaf7 100%);
}

#areas.container {
    width: min(100% - 28px, 1540px);
}

#areas .areas-header {
    width: min(100%, 900px);
}

#areas .areas-showcase {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#areas .areas-header,
.testimonials-header {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

#areas .section-kicker,
.testimonials-header .section-kicker,
.contact-card .section-kicker,
.office-kicker {
    color: var(--accent);
    background: rgba(111, 13, 18, 0.05);
    border-color: rgba(111, 13, 18, 0.10);
    backdrop-filter: none;
}

#areas .section-title,
.testimonials-header .section-title {
    margin-bottom: 5vh;
}

#areas .section-sub {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.95;
}

#areas .section-title em {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(111, 13, 18, 0.12);
    border-left: 1px solid rgba(111, 13, 18, 0.12);
}

.practice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 28px 26px 24px;
    border-right: 1px solid rgba(111, 13, 18, 0.12);
    border-bottom: 1px solid rgba(111, 13, 18, 0.12);
    background: transparent;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.practice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(111, 13, 18, 0.94), rgba(143, 29, 34, 0.92));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.36s ease;
}

.practice-card::after {
    display: none;
}

.practice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 13, 18, 0.2);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card-wide {
    grid-column: span 1;
    min-height: 210px;
}

.practice-icon-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.practice-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(111, 13, 18, 0.10);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(111, 13, 18, 0.12), rgba(200, 164, 106, 0.24));
    color: var(--primary);
    font-size: 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 18px 30px rgba(111, 13, 18, 0.08);
    transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.practice-icon::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 34px;
    background: radial-gradient(circle, rgba(200, 164, 106, 0.14), transparent 72%);
    z-index: -1;
}

.practice-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    line-height: 1.02;
    color: #182331;
    text-align: center;
    transition: color 0.28s ease;
}

.practice-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.75;
    text-align: center;
    transition: color 0.28s ease;
}

.practice-card:hover .practice-icon {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 30px rgba(0, 0, 0, 0.16);
}

.practice-card:hover h3,
.practice-card:hover p {
    color: #fff;
}

#escritorio {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
}

#escritorio::before {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 106, 0.20), transparent 68%);
    pointer-events: none;
}

#escritorio::after {
    display: none;
}

.office-shell {
    width: min(100% - 36px, 1440px);
    margin: 0 auto;
}

.office-layout {
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 56px;
}

.office-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    justify-self: end;
}

.office-kicker {
    color: var(--accent);
    width: fit-content;
    margin-bottom: 16px;
}

#escritorio .section-title {
    max-width: 760px;
    margin-bottom: 28px;
}

.office-lead-card {
    max-width: 700px;
    margin-bottom: 30px;
    padding: 24px 28px;
    border: 1px solid rgba(111, 13, 18, 0.08);
    border-left: 4px solid rgba(111, 13, 18, 0.75);
    border-radius: 0 28px 28px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 238, 229, 0.82));
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.08);
}

.office-lead-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: #152130;
    letter-spacing: 0.01em;
}

.office-lead-card p {
    color: #516172;
    line-height: 1.9;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin-bottom: 28px;
}

.about-text p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.office-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
    margin-bottom: 28px;
}

.office-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(111, 13, 18, 0.08);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.office-point::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(111, 13, 18, 0.94), rgba(143, 29, 34, 0.92));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.36s ease;
}

.office-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.12);
    border-color: rgba(111, 13, 18, 0.2);
}

.office-point:hover::before {
    transform: scaleX(1);
}

.office-point i {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--primary);
    font-size: 1.05rem;
    background: linear-gradient(135deg, rgba(111, 13, 18, 0.10), rgba(200, 164, 106, 0.22));
    transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.office-point>div {
    position: relative;
    z-index: 1;
}

.office-point strong {
    display: block;
    margin-bottom: 6px;
    color: #1a2737;
    font-size: 1rem;
    transition: color 0.28s ease;
}

.office-point span {
    display: block;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.94rem;
    transition: color 0.28s ease;
}

.office-point:hover i {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 30px rgba(0, 0, 0, 0.16);
}

.office-point:hover strong,
.office-point:hover span {
    color: #fff;
}

.office-highlight-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(111, 13, 18, 0.12);
    border-left: 1px solid rgba(111, 13, 18, 0.12);
}

.office-mini-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    min-height: 220px;
    padding: 28px 24px 24px;
    border-right: 1px solid rgba(111, 13, 18, 0.12);
    border-bottom: 1px solid rgba(111, 13, 18, 0.12);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.office-mini-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(111, 13, 18, 0.94), rgba(143, 29, 34, 0.92));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.36s ease;
}

.office-mini-card:hover {
    border-color: rgba(111, 13, 18, 0.2);
}

.office-mini-card:hover::before {
    transform: scaleX(1);
}

.office-mini-card i {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 0;
    background: transparent;
    color: var(--primary);
    font-size: 1.5rem;
}

.office-mini-card strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 2.5em;
    line-height: 0.9;
    color: rgba(111, 13, 18, 0.88);
    text-align: left;
    letter-spacing: -0.03em;
}

.office-mini-card span {
    position: relative;
    z-index: 1;
    display: block;
    color: black;
    max-width: 13ch;
    line-height: 1.45;
    font-size: 1.25em;
    text-align: left;
}

.office-mini-card:hover i {
    color: #fff;
}

.office-mini-card:hover strong,
.office-mini-card:hover span {
    color: #fff;
}

.office-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.office-image-panel {
    width: 80vh;
    height: 80vh;
    position: relative;
    padding: 18px;
    border-radius: 38px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(246, 238, 229, 0.9)),
        linear-gradient(145deg, rgba(200, 164, 106, 0.10), rgba(111, 13, 18, 0.05));
    border: 1px solid rgba(111, 13, 18, 0.08);
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.10);
}

.office-image-panel::before {
    content: "";
    position: absolute;
    inset: -18px 42px 42px -18px;
    border-radius: 40px;
    border: 1px solid rgba(200, 164, 106, 0.34);
    z-index: -1;
}

.office-image-stage {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
}

.office-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.9s ease, transform 1.4s ease;
}

.office-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.office-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding-top: 28px;
}

.timeline-track {
    position: absolute;
    top: 37px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 164, 106, 0.35), rgba(111, 13, 18, 0.35), rgba(200, 164, 106, 0.35));
}

.timeline-item {
    position: relative;
    z-index: 1;
    padding: 0 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-bottom: 5px solid black;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(111, 13, 18, 0.94), rgba(143, 29, 34, 0.92));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.36s ease;
}

.timeline-item:hover {
    transform: translateY(-6px);
}

.timeline-item:hover::before {
    transform: scaleX(1);
}

.timeline-dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 8px rgba(111, 13, 18, 0.05), 0 8px 16px rgba(111, 13, 18, 0.12);
    transition: transform 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.timeline-step {
    position: absolute;
    top: 66px;
    left: 20px;
    z-index: 1;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 0.8;
    color: var(--accent) !important;
    letter-spacing: -0.04em;
    transition: color 0.32s ease, transform 0.32s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.2));
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14), 0 0 0 16px rgba(255, 255, 255, 0.06), 0 16px 28px rgba(0, 0, 0, 0.18);
}

.timeline-item h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding: 84px 20px 0;
    font-size: 2rem;
    color: #1d2c3d;
    transition: transform 0.3s ease, color 0.3s ease;
}

.timeline-item p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    line-height: 1.75;
    padding: 0 20px 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.timeline-item:hover .timeline-step {
    color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.timeline-item:hover h4 {
    transform: translateY(-1px);
    color: #fff;
}

.timeline-item:hover p {
    transform: translateY(-1px);
    color: #fff;
}

.testimonials {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(180deg, #f6f0ea 0%, #fcfaf7 100%);
    border-top-left-radius: 52px;
    border-top-right-radius: 52px;
    margin-top: 38px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px 28px;
    border: 1px solid rgba(111, 13, 18, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: ease-out 0.25s all;
}

.testimonial-card:hover {
    transform: translateY(-12px);
}

.testimonial-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.testimonial-card p {
    color: #485769;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 22px;
    text-align: justify;
}

.testimonial-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8a46a;
}

.testimonial-rating i {
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-section {
    /* padding: 100px 0 110px; */
    padding: 28px 0 88px;
    background: linear-gradient(180deg, #f6f0ea 0%, #fcfaf7 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 30px;
    align-items: stretch;
}

.contact-card,
.contact-map iframe {
    border-radius: 32px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px;
    border: 1px solid rgba(111, 13, 18, 0.08);
    background: #6d0101;
    box-shadow: var(--shadow-md);
}

.contact-card img {
    width: min(140px, 42%);
}

.contact-card .section-kicker {
    width: fit-content;
    margin-bottom: 14px;
}

.contact-card h2 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin-bottom: 14px;
    color: #1a2737;
}

.contact-sub {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-items {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background-color: white;
    border: 1px solid rgba(111, 13, 18, 0.05);
    transition: 0.3s ease-out all;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(111, 13, 18, 0.07);
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: #1b2837;
}

.contact-item span {
    color: var(--muted);
}

.contact-whatsapp {
    margin-top: 8px;
    width: fit-content;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #1da851);
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.24);
}

.contact-map {
    display: flex;
    flex-direction: column;
    min-height: 460px;
}

.map-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.map-btn {
    padding: 13px 20px;
    border-radius: 999px;
    border: 1px solid rgba(111, 13, 18, 0.08);
    background: rgba(255, 255, 255, 0.86);
    color: #293547;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: 0.22s ease;
}

.map-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(111, 13, 18, 0.16);
    color: var(--primary);
}

.map-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border-color: transparent;
}

.contact-map iframe {
    width: 100%;
    flex: 1;
    border: none;
    box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
    .contact-section .container.contact-wrapper {
        width: min(100% - 40px, 1380px);
    }

    .contact-wrapper {
        grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
        gap: 24px;
    }

    .contact-card,
    .contact-map iframe {
        border-radius: 28px;
    }

    .contact-card {
        min-height: clamp(420px, 54vh, 500px);
        padding: 24px 26px;
    }

    .contact-card h2 {
        margin-bottom: 10px;
    }

    .contact-sub {
        margin-bottom: 16px;
    }

    .contact-items {
        gap: 12px;
    }

    .contact-item {
        padding: 12px 14px;
    }

    .contact-map {
        min-height: clamp(420px, 54vh, 500px);
    }

    .map-tabs {
        margin-bottom: 10px;
    }
}

footer {
    position: relative;
    background: linear-gradient(180deg, #4f0508 0%, #320406 100%);
    color: rgba(255, 255, 255, 0.74);
    padding: 0 0 28px;
}

.footer-top-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 200, 143, 0.6), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 36px;
    padding-top: 56px;
    margin-bottom: 38px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
}

.footer-brand img {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
}

.footer-brand-main {
    width: min(100%, 220px);
    flex: 0 1 220px;
}

footer h4 {
    font-size: 1.4rem;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    line-height: 1.9;
}

.copyright {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    font-size: 0.95rem;
}

#inicio,
#areas,
#escritorio {
    scroll-margin-top: 0px;
}

#contato {
    scroll-margin-top: 80px;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1da851);
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.34);
    z-index: 1000;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


@media (max-width: 1180px) {

    .hero-inner,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .office-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding-top: 170px;
    }

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

    .hero-image {
        order: -1;
        margin-bottom: 8px;
    }

    .hero-desc,
    .hero-metrics {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image img {
        width: min(72%, 300px);
    }

    #areas {
        min-height: auto;
    }

    .hero-metrics,
    .practice-grid,
    .testimonials-grid,
    .office-points,
    #escritorio .office-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .practice-card-wide {
        grid-column: span 2;
    }

    .office-highlight-row,
    #escritorio .office-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .office-content {
        max-width: 100%;
    }

    .office-image-wrap {
        order: 2;
    }

    .office-image-panel {
        width: min(100%, 760px);
        height: auto;
        margin: 0 auto;
    }

    #escritorio-img,
    .office-image-stage {
        min-height: 460px;
    }

    .contact-card img {
        width: min(130px, 34%);
    }
}

@media (max-width: 820px) {
    .navbar {
        width: 100%;
        padding: 14px 14px 12px;
        border-radius: 0;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .logo-text {
        min-width: 0;
        text-align: center;
    }

    .nav-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .container {
        width: min(100% - 24px, var(--container));
        padding: 64px 0;
    }

    .hero-content h1 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .hero-desc {
        max-width: 40rem;
    }

    .hero-metrics,
    .practice-grid,
    .office-points,
    .office-highlight-row,
    .testimonials-grid,
    #escritorio .office-timeline,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    #areas .areas-showcase {
        padding: 18px;
    }

    .practice-card,
    .practice-card-wide {
        grid-column: auto;
        min-height: 200px;
    }

    .practice-icon-wrap {
        margin-bottom: 18px;
    }

    .office-lead-card {
        padding: 22px 20px;
    }

    .office-shell {
        width: min(100% - 24px, 1440px);
    }

    .office-content {
        order: 1;
    }

    .office-image-wrap {
        order: 2;
    }

    .office-image-panel {
        width: 100%;
        height: auto;
        padding: 14px;
        border-radius: 28px;
    }

    .office-image-panel::before {
        inset: -12px 26px 26px -12px;
        border-radius: 30px;
    }

    .office-image-stage {
        min-height: 360px;
        max-height: 480px;
        aspect-ratio: 4 / 5;
    }

    .office-image-badge {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .office-image-badge span {
        padding: 10px 12px;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .timeline-item h4 {
        font-size: 1.7rem;
    }

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

    .timeline-item {
        padding: 0;
    }

    .contact-card img {
        width: min(120px, 40%);
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-map {
        min-height: 420px;
    }

    .map-tabs {
        flex-direction: column;
    }

    .map-btn {
        width: 100%;
        text-align: center;
    }

    .section-transition {
        background-attachment: scroll;
    }

    .section-transition-bg {
        background-attachment: scroll;
    }

    .footer-grid {
        gap: 22px;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: clamp(2.2rem, 11vw, 3.2rem);
        line-height: 1.02;
    }

    .section-sub,
    .about-text p,
    .hero-desc,
    .contact-sub,
    .testimonial-card p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    #areas .section-sub {
        max-width: 38rem;
        margin: 0 auto;
        line-height: 1.8;
    }

    .logo-mark {
        width: 72px;
    }

    .logo-text {
        max-width: min(100%, 260px);
    }

    .logo-text strong {
        font-size: clamp(1.1rem, 5vw, 1.45rem);
        letter-spacing: 0.08em;
        line-height: 1.05;
        white-space: normal;
        text-wrap: balance;
    }

    .logo-text span {
        font-size: clamp(0.58rem, 2.3vw, 0.66rem);
        letter-spacing: 0.12em;
        line-height: 1.35;
    }

    .nav-links a {
        padding: 12px 10px;
        font-size: 0.96rem;
        white-space: nowrap;
    }

    .hero {
        padding: 148px 0 28px;
    }

    .hero-inner {
        gap: 20px;
    }

    .hero-content h1 {
        margin-bottom: 20px;
        font-size: clamp(2.2rem, 11.5vw, 3.2rem);
    }

    .hero-desc {
        max-width: 32rem;
        padding: 0 4px;
        text-wrap: pretty;
    }

    .btn-whatsapp-hero,
    .contact-whatsapp {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
    }

    .btn-whatsapp-hero i,
    .contact-whatsapp i {
        font-size: 1.5rem;
    }

    .hero-metric {
        padding: 20px 18px 18px;
    }

    .hero-metric strong {
        font-size: 2rem;
    }

    .hero-image img {
        width: min(84%, 300px);
    }

    .hero-metrics {
        gap: 16px;
    }

    #areas.container,
    .office-shell {
        width: min(100% - 20px, 1540px);
    }

    #areas {
        padding-top: 92px;
        padding-bottom: 72px;
    }

    #areas .areas-header,
    .testimonials-header {
        margin-bottom: 42px;
    }

    .practice-card,
    .practice-card-wide {
        min-height: 188px;
        padding: 22px 18px 20px;
    }

    .practice-icon {
        width: 68px;
        height: 68px;
        border-radius: 22px;
        font-size: 1.6rem;
    }

    .practice-card h3 {
        font-size: 1.95rem;
        margin-bottom: 10px;
    }

    .practice-card p {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    #escritorio {
        padding: 78px 0;
    }

    .office-layout {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 34px;
    }

    .office-content {
        order: 1;
    }

    .office-lead-card {
        margin-bottom: 22px;
        padding: 18px 16px;
    }

    .office-highlight-row {
        border-top: 1px solid rgba(111, 13, 18, 0.12);
        border-left: 1px solid rgba(111, 13, 18, 0.12);
    }

    .office-point {
        padding: 16px;
        border-radius: 18px;
    }

    .office-highlight-row {
        gap: 0;
    }

    .office-mini-card {
        min-height: 180px;
        padding: 22px 18px 18px;
    }

    .office-mini-card strong {
        font-size: 2.4rem;
    }

    .office-image-stage {
        min-height: 300px;
        max-height: none;
        aspect-ratio: 4 / 5;
        border-radius: 24px;
    }

    .office-image-panel {
        width: 100%;
        height: auto;
        padding: 12px;
        border-radius: 24px;
    }

    .office-image-panel::before {
        inset: -10px 18px 18px -10px;
        border-radius: 26px;
    }

    .office-timeline {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 0;
    }

    .timeline-dot {
        margin-bottom: 16px;
    }

    .timeline-track {
        left: 9px;
        right: auto;
        top: 10px;
        bottom: 10px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(200, 164, 106, 0.3), rgba(111, 13, 18, 0.35), rgba(200, 164, 106, 0.3));
    }

    .timeline-item {
        padding-left: 28px;
    }

    .timeline-item::before {
        top: 0;
        left: 30px;
    }

    .timeline-dot {
        margin: 0 0 18px;
    }

    .timeline-step {
        top: 16px;
        left: 46px;
    }

    .timeline-item h4 {
        padding: 64px 18px 0 18px;
    }

    .timeline-item p {
        padding: 0 18px 20px 18px;
    }

    .testimonial-card,
    .contact-card {
        border-radius: 24px;
    }

    .contact-section {
        padding: 24px 0 88px;
    }

    .contact-wrapper {
        gap: 20px;
    }

    .contact-card {
        padding: 22px 18px;
    }

    .contact-item {
        padding: 14px 14px;
        border-radius: 18px;
    }

    .contact-item i {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .contact-map {
        min-height: 360px;
    }

    .map-btn {
        padding: 12px 14px;
        font-size: 0.94rem;
    }

    footer {
        padding-bottom: 20px;
    }

    .footer-grid {
        padding-top: 40px;
        margin-bottom: 24px;
    }

    footer h4 {
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 0.84rem;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {

    .container,
    #areas.container,
    .office-shell {
        width: min(100% - 16px, 1540px);
    }

    .navbar {
        padding: 10px 10px 12px;
    }

    .logo {
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .logo-mark {
        width: 52px;
        flex-shrink: 0;
    }

    .logo-text {
        max-width: 220px;
    }

    .logo-text strong {
        font-size: clamp(0.96rem, 5.2vw, 1.12rem);
        letter-spacing: 0.06em;
    }

    .logo-text span {
        margin-top: 4px;
        font-size: clamp(0.5rem, 2.5vw, 0.56rem);
        letter-spacing: 0.1em;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
    }

    .nav-links a {
        padding: 10px 6px;
        font-size: 0.88rem;
        text-align: center;
    }

    .hero {
        padding-top: 142px;
    }

    .hero-inner {
        gap: 16px;
    }

    .hero-image {
        margin-bottom: 0;
    }

    .hero-desc {
        max-width: 100%;
        padding: 0;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .hero-metric:not(:last-child)::after {
        top: auto;
        left: 18px;
        right: 18px;
        bottom: 0;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    }

    .section-transition {
        height: 190px;
    }

    .practice-card h3 {
        font-size: 1.75rem;
    }

    .office-image-badge span {
        width: 100%;
        justify-content: center;
    }

    .office-image-stage {
        min-height: 260px;
        aspect-ratio: 4 / 5;
    }

    .contact-card img {
        width: 96px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
    }
}

.google-img:hover {
    cursor: pointer;
}
