/* ========================================
   BACHINI ADVOCACIA - STYLES
   ======================================== */

/* Reset & Variables */
:root {
    --color-navy-dark: #111b37;
    --color-navy: #1c2745;
    --color-gold: #dfb187;
    --color-cream: #f6f5f2;
    --color-white: #ffffff;
    --color-text: #111b37;
    --color-text-light: #4a5578;
    
    --font-display: 'Montaga', Georgia, serif;
    --font-body: 'Reddit Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --container-width: 1200px;
    --header-height: 100px;
    
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--color-white);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
    transition: all 0.4s var(--ease-out);
}

.header.scrolled {
    background: rgba(17, 27, 55, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-horizontal {
    height: 64px;
    width: auto;
    transition: transform 0.3s var(--ease-out);
}

.logo-link:hover .logo-horizontal {
    transform: scale(1.03);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.5px;
    padding: 8px 0;
    transition: color 0.3s var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

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

.linkedin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--color-white);
    transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.linkedin-icon:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
}

.linkedin-icon svg {
    width: 100%;
    height: 100%;
}

.lang-switcher {
    position: absolute;
    top: 24px;
    right: 40px;
    font-size: 13px;
    color: var(--color-white);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.lang-switcher:hover {
    opacity: 0.8;
}

.lang-active {
    color: var(--color-gold);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

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

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: var(--color-navy-dark);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease,
                visibility 0s linear 0.45s;
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.nav-mobile.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease,
                visibility 0s linear 0s;
}

.nav-mobile .nav-link,
.nav-mobile .mobile-lang {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-mobile.open .nav-link,
.nav-mobile.open .mobile-lang {
    opacity: 1;
    transform: translateX(0);
}

.nav-mobile.open .nav-link:nth-child(1) { transition-delay: 0.15s; }
.nav-mobile.open .nav-link:nth-child(2) { transition-delay: 0.22s; }
.nav-mobile.open .nav-link:nth-child(3) { transition-delay: 0.29s; }
.nav-mobile.open .nav-link:nth-child(4) { transition-delay: 0.36s; }
.nav-mobile.open .mobile-lang { transition-delay: 0.43s; }

.nav-mobile .nav-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(223, 177, 135, 0.15);
}

.mobile-lang {
    margin-top: 24px;
    color: var(--color-white);
    font-size: 14px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 180px 40px 80px;
    width: 100%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    max-width: 720px;
    margin-bottom: 32px;
}

.hero-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-white);
    max-width: 600px;
    letter-spacing: -0.01em;
}

/* ========================================
   ÁREAS DE ATUAÇÃO (HOME)
   ======================================== */
.areas-section {
    background: var(--color-navy-dark);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.decorative-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 140px;
    width: auto;
    opacity: 0.08;
    z-index: 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.area-card {
    background: var(--color-navy);
    padding: 48px 40px;
    border-radius: 2px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-gold);
    transition: height 0.5s var(--ease-out);
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(223, 177, 135, 0.2);
}

.area-card:hover::before {
    height: 100%;
}

.area-icon {
    color: var(--color-gold);
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.area-icon svg,
.area-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.area-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.area-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ========================================
   ABOUT PREVIEW (HOME)
   ======================================== */
.about-preview {
    background: var(--color-cream);
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 3/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 20px 0;
}

.kicker {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--color-gold);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-navy-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-navy-dark);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
    z-index: -1;
}

.btn-outline:hover {
    color: var(--color-navy-dark);
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   CTA BANNER (HOME)
   ======================================== */
.cta-banner {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.cta-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
    padding: 48px 24px;
    width: 100%;
}

.cta-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-white);
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

/* ========================================
   PAGE BANNER (sub-pages)
   ======================================== */
.page-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center top;
    padding-top: var(--header-height);
    overflow: hidden;
    margin: 0;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.page-banner-title {
    position: relative;
    z-index: 3;
    width: 100%;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0 24px;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ========================================
   PHILOSOPHY (QUEM SOMOS)
   ======================================== */
.philosophy-section {
    background: var(--color-cream);
    padding: 120px 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: visible;
}

.philosophy-image img:not(.watermark-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.watermark-logo {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    height: 55%;
    width: auto;
    opacity: 0.35;
    pointer-events: none;
    z-index: 2;
}

.philosophy-text p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-navy-dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.philosophy-text strong {
    color: var(--color-navy-dark);
    font-weight: 700;
}

/* ========================================
   VALUES (QUEM SOMOS)
   ======================================== */
.values-section {
    background: var(--color-navy-dark);
    padding: 120px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.value-card {
    background: var(--color-navy);
    padding: 56px 48px;
    border-radius: 2px;
    transition: transform 0.5s var(--ease-out);
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.value-item {
    margin-bottom: 28px;
}

.value-item h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.value-item p,
.value-card > p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.value-card > p {
    margin-bottom: 20px;
}

/* ========================================
   TEAM (QUEM SOMOS)
   ======================================== */
.team-section {
    background: var(--color-white);
    padding: 120px 0;
}

.team-member {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 80px;
    margin-bottom: 120px;
    align-items: start;
}

.team-member:last-child {
    margin-bottom: 0;
}

.team-member.reverse {
    grid-template-columns: 1fr 450px;
}

.team-member.reverse .member-photo {
    order: 2;
}

.team-member.reverse .member-info {
    order: 1;
}

.member-photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--color-navy-dark);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
}

.member-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-navy-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.member-lang {
    margin-top: 24px;
    padding: 16px;
    background: var(--color-cream);
    border-left: 3px solid var(--color-gold);
    font-size: 0.95rem !important;
}

/* ========================================
   ÁREAS (INTRO + CARDS)
   ======================================== */
.areas-intro {
    background: var(--color-navy-dark);
    padding: 100px 0;
}

.areas-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.areas-intro-text p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-white);
    margin-bottom: 20px;
}

.areas-intro-list {
    margin-top: 32px;
    list-style: none;
    padding: 0;
}

.areas-intro-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--color-white);
    font-size: 1.0625rem;
    line-height: 1.55;
}

.areas-intro-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}

.areas-intro-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.areas-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.areas-detail-section {
    background: var(--color-cream);
    padding: 120px 0;
}

.areas-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.area-detail-card {
    background: rgba(28, 39, 69, 0.06);
    padding: 48px 44px;
    border-radius: 2px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

.area-detail-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.area-detail-card:hover {
    background: var(--color-white);
    box-shadow: 0 20px 50px rgba(17, 27, 55, 0.1);
    transform: translateY(-4px);
}

.area-detail-card:hover::after {
    transform: scaleX(1);
}

.area-detail-card-full {
    grid-column: 1 / -1;
    max-width: 600px;
}

.area-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: 400;
    color: var(--color-navy);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    line-height: 1.15;
}

.area-detail-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-navy);
    margin-bottom: 14px;
}

/* ========================================
   CONTATO
   ======================================== */
.contact-section {
    background: var(--color-navy-dark);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.contact-text,
.contact-info {
    background: var(--color-navy);
    padding: 56px 48px;
    border-radius: 2px;
}

.contact-text p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-text strong {
    color: var(--color-gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--color-white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(223, 177, 135, 0.15);
    transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-gold);
}

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

.contact-info-item span:last-child {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form */
.contact-form-section {
    background: var(--color-cream);
    padding: 100px 0;
}

.form-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 400;
    color: var(--color-navy-dark);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.contact-form {
    max-width: 720px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-navy-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    padding: 14px 18px;
    background: var(--color-white);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-navy-dark);
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    border-radius: 2px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(223, 177, 135, 0.15);
}

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

.btn-submit {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-navy-dark);
    color: var(--color-white);
    border: 1px solid var(--color-navy-dark);
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
    z-index: 0;
}

.btn-submit span,
.btn-submit {
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    border-color: var(--color-gold);
    color: var(--color-navy-dark);
}

.btn-submit:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.form-feedback {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 2px;
    display: none;
    font-size: 0.95rem;
}

.form-feedback.success {
    display: block;
    background: rgba(223, 177, 135, 0.15);
    border-left: 3px solid var(--color-gold);
    color: var(--color-navy-dark);
}

.map-section {
    background: var(--color-cream);
    padding-bottom: 0;
    line-height: 0;
    filter: grayscale(0.3);
}

.map-section iframe {
    display: block;
    filter: contrast(1.05);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 64px 0 32px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr 2fr auto;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 110px;
    width: auto;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.75rem;
    color: var(--color-white);
    letter-spacing: 0.08em;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--color-white);
}

.contact-icon {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-social {
    display: flex;
    align-items: flex-start;
}

.social-icon {
    width: 26px;
    height: 26px;
    color: var(--color-white);
    transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.social-icon:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(223, 177, 135, 0.1);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 4px 0;
}

.site-credit a {
    color: var(--color-gold);
    text-decoration: none;
    transition: opacity 0.3s var(--ease-out);
}

.site-credit a:hover {
    opacity: 0.7;
}

/* Hover nos links de contato do footer */
.footer-contact a:hover {
    color: var(--color-gold);
}

/* Lang switcher ativo */
.lang-switcher a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

.lang-switcher a:hover {
    color: var(--color-gold);
}

.lang-switcher .lang-active {
    color: var(--color-gold);
    font-weight: 700;
}

.mobile-lang a {
    color: inherit;
    text-decoration: none;
    margin: 0 4px;
}

.mobile-lang a:hover,
.mobile-lang .lang-active {
    color: var(--color-gold);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes pulseWhatsapp {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* ========================================
   ANIMATIONS (reveal on scroll)
   ======================================== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal {
    transform: translateY(20px);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* hero reveal runs on load */
.hero .reveal {
    animation: heroReveal 1s var(--ease-out) forwards;
    animation-delay: var(--delay, 0.2s);
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 24px;
    }
    
    .nav-desktop {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .lang-switcher {
        right: 24px;
        font-size: 12px;
    }
    
    .areas-grid {
        gap: 20px;
    }
    
    .area-card {
        padding: 40px 32px;
    }
    
    .team-member,
    .team-member.reverse {
        grid-template-columns: 350px 1fr;
        gap: 48px;
    }
    
    .about-grid,
    .philosophy-grid,
    .areas-intro-grid {
        gap: 48px;
    }
    
    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .footer-container {
        grid-template-columns: auto 1fr 1fr auto;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .lang-switcher {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header {
        padding: 16px 0;
        background: rgba(17, 27, 55, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .logo-horizontal {
        height: 48px;
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-content {
        padding-top: 140px;
    }
    
    .areas-section,
    .about-preview,
    .philosophy-section,
    .values-section,
    .team-section,
    .areas-intro,
    .areas-detail-section,
    .contact-section,
    .contact-form-section {
        padding: 72px 0;
    }
    
    .cta-banner {
        min-height: 160px;
    }
    
    .cta-banner .container {
        padding: 32px 20px;
    }
    
    .areas-grid,
    .values-grid,
    .areas-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid,
    .philosophy-grid,
    .areas-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .area-card {
        padding: 32px 28px;
    }
    
    .value-card {
        padding: 40px 32px;
    }
    
    .team-member,
    .team-member.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 72px;
    }
    
    .team-member.reverse .member-photo {
        order: 0;
    }
    
    .team-member.reverse .member-info {
        order: 0;
    }
    
    .member-photo {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .philosophy-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .watermark-logo {
        display: none;
    }
    
    .contact-text,
    .contact-info {
        padding: 40px 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand,
    .footer-social {
        justify-content: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-contact .contact-item {
        justify-content: flex-start;
        text-align: left;
    }
    
    .page-banner {
        min-height: 320px;
    }
    
    /* Remover overlays azul/escuro dos banners em mobile */
    .hero-overlay,
    .page-banner-overlay {
        background: transparent;
    }
    
    .area-detail-card-full {
        max-width: none;
    }
    
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-text {
        font-size: 0.9375rem;
    }
    
    .area-card {
        padding: 28px 24px;
    }
    
    .value-card {
        padding: 32px 24px;
    }
    
    .area-detail-card {
        padding: 32px 24px;
    }
    
    .section-title,
    .about-title,
    .form-title {
        font-size: 1.625rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-image,
    .page-banner::before {
        animation: none;
    }
}
