:root {
    /* Colors */
    --primary-blue: #0A2342;
    --secondary-blue: #1C4E80;
    --accent-orange: #E85D04;
    --accent-orange-hover: #DC2F02;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --text-gray: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-blue);
}

.btn-outline {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-whatsapp-lg {
    background-color: #25D366;
    color: white;
    font-size: 1.2rem;
    padding: 16px 40px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

/* Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    animation-play-state: paused;
}

.fade-in-up {
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in-left {
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s forwards;
}

.fade-in-right {
    transform: translateX(30px);
    animation: fadeInRight 0.8s forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header */
#header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

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

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

.desktop-nav a {
    font-weight: 500;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.desktop-nav a:hover {
    color: var(--accent-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.mobile-nav.active {
    display: flex;
}

/* Hero */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--primary-blue);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.95) 0%, rgba(28, 78, 128, 0.9) 100%), url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    color: var(--text-light);
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Sobre */
#sobre {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sobre-image {
    flex: 1;
}

.sobre-image img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--primary-blue);
}

.sobre-text {
    flex: 1;
}

.bio-intro {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 30px;
}

.timeline-list {
    margin-bottom: 40px;
}

.timeline-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-gray);
}

.timeline-list li i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Áreas */
#areas {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-orange);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--accent-orange);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

/* Diferenciais */
#diferenciais {
    padding: 60px 0;
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.diferenciais-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.diff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.diff-item i {
    font-size: 2.5rem;
    color: var(--accent-orange);
}

.diff-item span {
    font-weight: 500;
}

.diff-quote {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    opacity: 0.9;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

/* Metodologia */
#metodologia {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    padding: 0 15px;
    text-align: center;
    flex: 1;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-white);
}

.timeline-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Ebooks */
#ebooks {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.ebooks-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ebook-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ebook-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.ebook-card h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
}

/* Depoimentos */
#depoimentos {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent-orange);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card cite {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    font-style: normal;
}

/* Blog */
#blog {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.blog-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}

.blog-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 320px;
    flex-shrink: 0;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.blog-card-header {
    height: 140px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%), linear-gradient(135deg, #0b2b50, #0a2342);
}

.blog-card-body {
    padding: 22px 22px 26px;
}

.blog-card-body .category {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.blog-card-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.blog-card-btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--accent-orange);
    color: var(--text-light);
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(232, 93, 4, 0.3);
}

.blog-card-btn:hover {
    background: var(--accent-orange-hover);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.3s;
    opacity: 0.85;
}

.carousel-btn:hover {
    background: var(--accent-orange);
    opacity: 1;
}

.carousel-btn.prev {
    left: -6px;
}

.carousel-btn.next {
    right: -6px;
}

/* Contato */
#contato {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    color: var(--text-gray);
}

.contact-wrapper {
    display: flex;
    gap: 70px;
    align-items: center;
    padding: 50px 40px;
    border-radius: 14px;
    background: var(--bg-white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 25px;
}

.contact-whatsapp-btn {
    border-radius: 50px;
    padding: 16px 34px;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.contact-list {
    margin: 25px 0 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-list i {
    color: var(--primary-blue);
}

.contact-social {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}

.contact-social a {
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.contact-social a:hover {
    color: var(--accent-orange);
}

.contact-card {
    flex: 1.2;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form button {
    width: 100%;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 0;
    border-top: 5px solid var(--accent-orange);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo span {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

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

/* Blog Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.modal-content {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-orange);
}

.modal-body {
    padding: 40px;
}

.modal-image {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    background-image: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 8px;
    margin: 20px 0;
}

#modal-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

#modal-text p {
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

.modal-meta {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.modal-faqs ul {
    margin-top: 10px;
    padding-left: 18px;
    list-style: disc;
    color: var(--text-dark);
}

.modal-faqs li {
    margin-bottom: 10px;
}

.modal-cta {
    margin-top: 20px;
}

.cta-note {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .sobre-container {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 40px 30px;
    }

    .timeline {
        flex-direction: column;
        gap: 30px;
    }

    .timeline::before {
        width: 2px;
        height: 100%;
        left: 25px;
        top: 0;
    }

    .timeline-item {
        text-align: left;
        padding-left: 70px;
    }

    .timeline-number {
        position: absolute;
    }
}

@media (max-width: 1024px) {
    .blog-card {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
        margin-bottom: 30px;
    }

    .hero-image img {
        max-height: 40vh;
    }

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

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .diferenciais-grid {
        flex-direction: column;
    }

    .blog-card {
        min-width: 100%;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }

    .modal-body {
        padding: 25px;
    }

    #modal-title {
        font-size: 1.5rem;
    }

    .modal-image {
        height: 200px;
    }
}

/* ========== LOGO AO LADO DO NOME ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;           /* espaço entre logo e texto */
    text-decoration: none;
}

.logo-img {
    height: 48px;        /* ajuste do tamanho */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #002b5c;      /* nome azul site */
}

.logo-text span {
    color: #f47c20;      /* Advocacia em laranja */
    margin-left: 4px;
}
