/* DESIGN SYSTEM - LFT ADVOGADOS
   Inspirado no estilo visual de gpbonline.com.br/tonholi
   Desenvolvido com CSS Moderno e Responsivo
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

:root {
    /* Cores de Fundo */
    --color-bg: #06211c;
    --color-card-bg: #0a2d25;
    --color-footer-bg: #051916;
    --color-header-bg: rgba(6, 33, 28, 0.78);
    --color-header-scrolled: rgba(5, 25, 21, 0.96);
    
    /* Cores de Marca / Destaques */
    --color-primary: #7ddc72;         /* Verde Menta */
    --color-primary-hover: #5fcf64;
    --color-accent: #d7b15d;          /* Dourado */
    --color-accent-hover: #f0cf7a;
    --color-whatsapp: #25d366;
    
    /* Cores de Texto */
    --color-text-primary: #f3fff5;    /* Off-White com tom verde */
    --color-text-muted: #b4cdb9;      /* Sage/Cinza esverdeado */
    --color-text-light: #d9eadc;
    
    /* Bordas e Sombras */
    --color-border: rgba(125, 220, 114, 0.15);
    --color-border-glow: rgba(125, 220, 114, 0.45);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 15px rgba(125, 220, 114, 0.2);
    
    /* Fontes */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Transições padrão */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* RESET E PADRÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

/* TÍTULOS E TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

span.highlight {
    color: var(--color-accent);
    font-weight: 600;
}

/* COMPONENTES REUTILIZÁVEIS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 7rem 0;
}

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

.section-subtitle {
    display: block;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 1rem auto 4rem auto;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #03120f;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    box-shadow: 0 0 20px rgba(125, 220, 114, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #03120f;
    box-shadow: 0 0 20px rgba(215, 177, 93, 0.3);
    transform: translateY(-2px);
}

/* HEADER & NAVBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: var(--color-header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: var(--color-header-scrolled);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

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

.logo-horizontal-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.header.scrolled .logo-horizontal-img {
    height: 42px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

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

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

.nav-cta {
    display: block;
}

.header.scrolled .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
}

/* MENU BURGER (MOBILE) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1010;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-normal);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(6, 33, 28, 0.70), rgba(6, 33, 28, 0.90)), url('assets/fundo-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 4rem;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Logo Hero Frame */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 1.2s ease forwards 0.4s;
}

.logo-frame {
    width: 320px;
    height: 320px;
    border: 1px solid var(--color-border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: rgba(10, 45, 37, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-normal);
}

.logo-frame:hover {
    border-color: var(--color-border-glow);
    box-shadow: var(--shadow-glow);
}

.logo-hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-frame-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: center;
    letter-spacing: 1px;
}

.logo-frame-title span {
    color: var(--color-accent);
}

.logo-frame-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Fundo Fade */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg), transparent);
    pointer-events: none;
}

/* SEÇÃO SOBRE (QUEM SOMOS) */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
}

.about-content h2::after {
    left: 0;
    transform: none;
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pillar {
    display: flex;
    gap: 1rem;
}

.pillar-icon {
    width: 28px;
    height: 28px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Retrato do Advogado */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.portrait-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 0.82;
    border: 1px solid var(--color-accent);
    margin: 1.5rem;
    border-radius: 4px;
}

.portrait-img {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(15%) contrast(105%);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-subtle);
}

.portrait-frame:hover .portrait-img {
    transform: translate(0.5rem, 0.5rem);
}

/* SEÇÃO SERVIÇOS (COMO AJUDAMOS) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: 4px;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-glow);
    box-shadow: var(--shadow-glow);
    background-color: rgba(10, 45, 37, 0.3);
}

.service-icon {
    width: 45px;
    height: 45px;
    fill: var(--color-primary);
    margin-bottom: 1.8rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    fill: var(--color-accent);
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link svg {
    width: 14px;
    height: 14px;
    fill: var(--color-primary);
    transition: transform var(--transition-normal);
}

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

.service-card:hover .service-link svg {
    fill: var(--color-accent);
    transform: translateX(5px);
}

/* SEÇÃO DIFERENCIAIS (POR QUE NÓS) */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.diff-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.diff-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-glow);
    box-shadow: var(--shadow-glow);
}

.diff-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.diff-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.diff-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* SEÇÃO CTA CONVERSÃO BANNER */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    background-image: linear-gradient(rgba(6, 33, 28, 0.85), rgba(6, 33, 28, 0.95)), url('assets/fundo-hero.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

/* SEÇÃO FAQ (PERGUNTAS FREQUENTES) */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    text-align: left;
    padding: 0.8rem 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon-box {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon-line {
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: var(--color-accent);
    transition: transform var(--transition-normal) ease;
}

.faq-icon-line.vertical {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon-line.vertical {
    transform: rotate(0deg);
}

.faq-item.active .faq-icon-line {
    background-color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
    padding: 1rem 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* FOOTER (RODAPÉ) */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-muted);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text-light);
    transition: var(--transition-normal);
}

.social-icon:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.social-icon:hover svg {
    fill: var(--color-primary);
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-size: 0.9rem;
    display: inline-block;
}

.footer-link:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact-text strong {
    display: block;
    color: var(--color-text-primary);
    margin-bottom: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--color-primary);
}

/* WIDGET FLOATING WHATSAPP */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.whatsapp-widget:hover {
    transform: scale(1.08);
}

.whatsapp-widget svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-whatsapp);
    z-index: -1;
    animation: pulse-green 2s infinite;
}

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

/* ANIMATIONS */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MOBILE NAV SIDEBAR (DENTRO DO JS) */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: #092721;
    z-index: 1005;
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right var(--transition-normal) cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-sidebar-link {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.mobile-sidebar-link:hover {
    color: var(--color-primary);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* RESPONSIVIDADE */

@media (max-width: 1024px) {
    .container {
        max-width: 920px;
        padding: 0 2rem;
    }

    .section {
        padding: 5.5rem 0;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.45rem;
    }
    
    .nav-menu {
        gap: 1.4rem;
    }

    .nav-link {
        font-size: 0.78rem;
    }

    .nav-cta .btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.76rem;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero h1 span {
        font-size: 3.2rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .logo-frame {
        width: 280px;
        height: 280px;
        padding: 1.8rem;
    }

    .service-card,
    .diff-card {
        padding: 2.25rem;
    }

    .footer-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 900px) {
    .header,
    .header.scrolled {
        height: 72px;
    }

    .logo-horizontal-img,
    .header.scrolled .logo-horizontal-img {
        height: 42px;
    }

    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    /* Alternar burger para fechar */
    .burger-menu.open .burger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-accent);
    }
    
    .burger-menu.open .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.open .burger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-accent);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 112px;
        padding-bottom: 5rem;
        min-height: auto;
        background-position: center top;
    }

    .hero h1 {
        font-size: 3rem;
        max-width: 720px;
    }

    .hero p {
        max-width: 680px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .logo-frame {
        width: min(320px, 72vw);
        height: min(320px, 72vw);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-content h2 {
        text-align: center;
    }
    
    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-pillars {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }

    .portrait-frame {
        max-width: 340px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.15rem;
    }

    .section {
        padding: 4.25rem 0;
    }

    .section-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
        line-height: 1.45;
    }

    .section-desc {
        font-size: 1rem;
        margin: 0.9rem auto 2.6rem auto;
    }

    .header,
    .header.scrolled {
        height: 66px;
    }

    .logo-horizontal-img,
    .header.scrolled .logo-horizontal-img {
        height: 36px;
        max-width: 220px;
    }

    .burger-menu {
        width: 28px;
        height: 20px;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .mobile-sidebar {
        right: -86vw;
        width: min(86vw, 320px);
        padding: 5.5rem 1.35rem 1.5rem 1.35rem;
    }

    .hero {
        padding-top: 94px;
        padding-bottom: 4rem;
    }

    .hero-grid {
        gap: 2.2rem;
    }

    .hero-tagline {
        font-size: 0.72rem;
        letter-spacing: 2px;
        max-width: 330px;
        line-height: 1.55;
    }

    .hero h1 {
        width: 100%;
        max-width: 430px;
        font-size: clamp(2rem, 8.8vw, 2.35rem);
        margin-bottom: 1rem;
        overflow-wrap: break-word;
    }

    .hero h1 span {
        font-size: clamp(2.08rem, 9vw, 2.45rem);
        line-height: 1.08;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .hero-actions {
        width: 100%;
        gap: 0.85rem;
    }

    .hero-actions .btn,
    .cta-banner .btn,
    .mobile-sidebar .btn {
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1rem;
        text-align: center;
        white-space: normal;
        line-height: 1.35;
    }

    .logo-frame {
        width: min(260px, 70vw);
        height: min(260px, 70vw);
        padding: 1.35rem;
    }

    .about-grid {
        gap: 2.75rem;
    }

    .about-content h2 {
        margin-bottom: 1.4rem;
    }

    .about-text {
        margin-bottom: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .pillar {
        gap: 0.85rem;
    }

    .pillar-title {
        font-size: 1.2rem;
    }

    .portrait-frame {
        max-width: min(300px, 78vw);
        margin: 1rem;
    }

    .portrait-img {
        top: -1rem;
        left: -1rem;
    }

    .service-card,
    .diff-card {
        padding: 1.6rem;
    }

    .service-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 1.35rem;
    }

    .service-title {
        font-size: 1.45rem;
    }

    .service-desc,
    .diff-desc {
        font-size: 0.93rem;
    }

    .diff-num {
        font-size: 2.4rem;
    }

    .cta-banner {
        padding: 4.25rem 0;
    }

    .cta-banner p {
        font-size: 1rem;
        margin-bottom: 1.9rem;
    }

    .faq-item {
        padding: 0.9rem 0;
    }

    .faq-question {
        gap: 1rem;
        line-height: 1.3;
    }

    .faq-answer-inner {
        font-size: 0.93rem;
        padding: 0.7rem 0 0.9rem 0;
    }

    .footer {
        padding: 4rem 0 1.5rem 0;
    }

    .footer-brand .logo-horizontal-img {
        height: 40px !important;
        max-width: 230px;
    }

    .footer-contact-item {
        gap: 0.8rem;
        align-items: flex-start;
    }

    .footer-contact-text,
    .footer-contact-text a {
        overflow-wrap: anywhere;
    }

    .footer-legal-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .whatsapp-widget {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-widget svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.4rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 10.8vw, 2.25rem);
    }
    
    .hero h1 span {
        font-size: clamp(2.08rem, 11vw, 2.35rem);
        line-height: 1.08;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .logo-frame {
        width: min(230px, 68vw);
        height: min(230px, 68vw);
    }
    
    .service-card {
        padding: 1.35rem;
    }
    
    .faq-question {
        font-size: 1.15rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

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

    .logo-horizontal-img,
    .header.scrolled .logo-horizontal-img {
        height: 32px;
        max-width: 190px;
    }

    .hero h1 {
        font-size: 2.05rem;
    }

    .hero h1 span {
        font-size: 2.15rem;
    }

    h2,
    .cta-banner h2 {
        font-size: 1.7rem;
    }

    .btn {
        font-size: 0.78rem;
        letter-spacing: 0.6px;
    }

    .mobile-sidebar {
        width: 90vw;
        right: -90vw;
    }

    .service-title {
        font-size: 1.32rem;
    }
}
