/* ============================================================
   CARVALHO ADVOCACIA — DIREITO TRABALHISTA
   Identidade Visual: #10505a, #367588, #FFFFFF & Dourado Nobre
   ============================================================ */

:root {
    --primary-dark: #10505a;
    --primary-teal: #367588;
    --primary-light: #4a8fa3;
    --bg-light: #f4f8f9;
    --bg-card: #ffffff;
    --bg-dark: #093339;
    --white: #ffffff;

    --gold-300: #f5e4a4;
    --gold-400: #e6ca65;
    --gold-500: #d4af37;
    --gold-600: #aa7c11;

    --text-primary: #18282b;
    --text-secondary: #4a6368;
    --text-light: rgba(255, 255, 255, 0.92);
    --text-muted: rgba(255, 255, 255, 0.7);

    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 4px 15px rgba(16, 80, 90, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 80, 90, 0.12);
    --shadow-lg: 0 20px 45px rgba(16, 80, 90, 0.18);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);

    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --border-radius: 12px;
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Utility Classes */
.gold {
    color: var(--gold-500);
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-teal-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: rgba(16, 80, 90, 0.08);
    border: 1px solid rgba(16, 80, 90, 0.2);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.section-tag-dark {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-400);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-title-dark {
    color: var(--white);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

/* ====== BOTÃO CTA UNIFICADO ====== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.4rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.btn-cta svg {
    flex-shrink: 0;
}

/* Premium Buttons (navbar) */
.btn-premium-outer {
    display: inline-block;
    position: relative;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    cursor: pointer;
}

.btn-premium-outer:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.btn-premium-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 48px;
    transition: var(--transition);
}

.btn-premium-outer:hover .btn-premium-inner {
    background: var(--primary-teal);
}

/* Manter compatibilidade com btn-whatsapp-large legado */
.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 80, 90, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(16, 80, 90, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-dark-version {
    display: none;
}

.navbar.scrolled .logo-light-version {
    display: block !important;
    filter: brightness(0) invert(1);
}

.logo-light-version {
    display: none;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-500);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary-teal);
}

.navbar.scrolled .nav-link:hover {
    color: var(--gold-400);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .menu-toggle span {
    background-color: var(--white);
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    padding: 1.5rem 2.5rem 2.5rem 2.5rem;
    flex-direction: column;
    gap: 1.2rem;
    border-bottom: 3px solid var(--gold-500);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
}

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

.mobile-menu a {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ====== HERO ====== */
.hero {
    position: relative;
    padding: 11.5rem 1.5rem 7.5rem 1.5rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-image: url('../assets/capa de fundo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-bg-overlay {
    display: none;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-oab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    color: var(--gold-300);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.hero-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.hero-logo-img {
    max-width: 360px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    transition: var(--transition);
}

.hero-logo-img:hover {
    transform: scale(1.03);
}

/* ====== MARQUEE TICKER ====== */
.marquee-section {
    background: var(--primary-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 2px solid var(--gold-500);
    padding: 0.9rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0 2.5rem;
}

.marquee-item svg {
    width: 18px;
    height: 18px;
    fill: var(--gold-400);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ====== SERVIÇOS / ÁREAS DE ATUAÇÃO ====== */
.section {
    padding: 5.5rem 1.5rem;
}

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

.services-main-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-title-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    margin: 0.6rem auto 1.5rem auto;
    border-radius: 2px;
}

.services-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.8rem;
}

.service-card {
    grid-column: span 2;
    background: linear-gradient(165deg, #093339 0%, #10505a 60%, #125964 100%);
    border-radius: 20px;
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 16px 38px rgba(9, 51, 57, 0.22);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
    grid-column: span 3;
    padding: 2.8rem 3rem 2.2rem 3rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(16, 80, 90, 0.38);
    border-color: var(--gold-400);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--white);
    transition: var(--transition);
}

.service-card:hover .card-icon svg {
    fill: var(--gold-400);
    transform: scale(1.1);
}

.card-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.35;
    margin-bottom: 1.1rem;
    min-height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-400);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    margin-top: auto;
}

.card-link span {
    transition: transform 0.3s ease;
}

.service-card:hover .card-link {
    color: var(--gold-300);
}

.service-card:hover .card-link span {
    transform: translateX(5px);
}

/* ====== SOBRE (F SOBRE / O ESCRITÓRIO) ====== */
.about-section {
    background: var(--white);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(16, 80, 90, 0.15);
}

.about-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
}

.about-oab-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 1rem 1.6rem;
    border-radius: 12px;
    border: 2px solid var(--gold-500);
    box-shadow: var(--shadow-md);
}

.about-oab-badge span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-300);
}

.about-oab-badge strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.about-lead {
    font-family: var(--font-title);
    font-size: 1.65rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1.4rem;
    line-height: 1.35;
}

.about-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.8rem;
    background: rgba(16, 80, 90, 0.03);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-teal);
    border-radius: 0 10px 10px 0;
}

/* ====== DIFERENCIAIS ====== */
.differentials-section {
    background: linear-gradient(180deg, #0b353c 0%, #10505a 100%);
    color: var(--white);
}

.differentials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
}

.diff-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.diff-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-400);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.diff-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.diff-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-dark);
}

.diff-card h4 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

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

/* ====== CTA WHATSAPP / IDENTIFICATION ====== */
.cta-identification-section {
    background: var(--bg-light);
}

.cta-box-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(16, 80, 90, 0.1);
    overflow: hidden;
}

.ident-top-box {
    padding: 3rem 3rem 2rem 3rem;
    background: linear-gradient(135deg, #10505a 0%, #1a6270 100%);
    color: var(--white);
}

.ident-title {
    font-family: var(--font-title);
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    color: var(--gold-300);
    text-align: center;
}

.ident-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.ident-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--white);
}

.ident-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.ident-bottom-box {
    padding: 2.5rem 3rem;
    text-align: center;
    background: var(--white);
}

.ident-bottom-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.ident-bottom-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2rem auto;
}

/* ====== FAQ (DÚVIDAS FREQUENTES) ====== */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid rgba(16, 80, 90, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.faq-item summary {
    padding: 1.4rem 1.8rem;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 80, 90, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary-dark);
    stroke-width: 2.5;
    transition: var(--transition);
}

.faq-item[open] .faq-icon {
    background: var(--primary-dark);
    transform: rotate(45deg);
}

.faq-item[open] .faq-icon svg {
    stroke: var(--gold-400);
}

.faq-answer {
    padding: 0 1.8rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px dashed rgba(16, 80, 90, 0.1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

/* ====== FOOTER ====== */
.footer {
    background: linear-gradient(180deg, #07262b 0%, #041a1e 100%);
    color: var(--white);
    padding-top: 4.5rem;
    border-top: 4px solid var(--gold-500);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand .logo-img {
    height: 95px;
    margin-bottom: 1.2rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.footer-heading {
    color: var(--gold-400);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--text-light);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-400);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    color: var(--text-light);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold-400);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item a:hover {
    color: var(--gold-400);
}

.footer-map-frame {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.8rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-developer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--white);
}

.footer-dev-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* ====== FLOATING WHATSAPP WIDGET & MINI BALLOON ====== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s infinite;
}

.whatsapp-btn svg {
    width: 34px;
    height: 34px;
    fill: var(--white);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #128C7E;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* WhatsApp Mini Popover Balloon */
.whatsapp-balloon {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(16, 80, 90, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: var(--transition);
}

.whatsapp-balloon.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-balloon.hidden-force {
    display: none !important;
}

.wa-header {
    background: var(--primary-dark);
    padding: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--white);
    position: relative;
}

.wa-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-400);
    flex-shrink: 0;
}

.wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid var(--primary-dark);
}

.wa-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.wa-info p {
    font-size: 0.75rem;
    color: var(--gold-300);
}

.wa-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
}

.wa-body {
    padding: 1.2rem;
    background: #eef5f6;
}

.wa-msg-bubble {
    background: var(--white);
    padding: 0.9rem 1.1rem;
    border-radius: 0 14px 14px 14px;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.wa-action-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    background: #25D366;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: var(--transition);
}

.wa-action-btn:hover {
    background: #128C7E;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.2rem;
    }

    .hero-logo-box {
        padding: 0;
    }

    .hero-logo-img {
        max-width: 220px;
    }

    .hero-description {
        margin: 0 auto 2.2rem auto;
    }

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

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }

    .hero-text {
        order: 2;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 1;
        padding: 2.5rem 1.8rem 2rem 1.8rem;
    }

    .service-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    .navbar {
        display: none !important;
    }

    .hero {
        padding: 4rem 1.5rem 4rem 1.5rem;
        min-height: auto;
    }

    .btn-cta {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        padding: 0.95rem 1.4rem;
        font-size: 0.95rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title,
    .services-main-title {
        font-size: 1.85rem;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 1;
        padding: 2.2rem 1.6rem 1.8rem 1.6rem;
    }

    .card-title {
        min-height: auto;
    }

    .ident-top-box,
    .ident-bottom-box {
        padding: 2rem 1.5rem;
    }

    /* Quem Somos / Sobre */
    .about-text-content {
        text-align: center;
    }

    .about-body {
        text-align: center;
    }

    /* Diferenciais */
    .diff-card {
        text-align: center;
    }

    .diff-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Rodapé */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        text-align: center;
    }

    .footer-brand .logo-img {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .footer-developer {
        justify-content: center;
    }

    .whatsapp-balloon {
        width: 290px;
        right: -10px;
    }
}