@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #c9a959; /* Dourado */
    --secondary-color: #333;
    --background-color: #ffffff; /* Branco */
    --text-color: #555;
    --font-family: 'EB Garamond', serif;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Barra de Rolagem Personalizada (Scrollbar) */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    border: 2px solid #f5f5f5; /* Espaço entre o scroll e a borda */
}
::-webkit-scrollbar-thumb:hover {
    background: #b38f4a;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

.content-section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s, transform 0.4s ease-in-out;
}

.header.hide {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 70px;
    width: auto;
}

.logo-mobile {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

.nav-links .btn-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, #eebb4d 100%);
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(201, 169, 89, 0.2);
    transition: all 0.3s ease;
}

.nav-links .btn-nav:hover {
    background-color: #b38f4a;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('public/heroimage.jpg') center/cover no-repeat;
    background-color: #333; 
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content > * {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-content .btn-primary {
    animation-delay: 0.6s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.text-highlight {
    color: #ffda6b;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra nítida para contraste elegante */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #eebb4d 100%);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(201, 169, 89, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b38f4a;
    transform: translateY(-3px);
}

.btn-primary i {
    margin-right: 0.8rem;
    font-size: 1.5rem; /* Aumentado o ícone */
    vertical-align: middle;
}

/* Arrow Animation */
.arrow-animate {
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-animate,
.btn-nav:hover .arrow-animate {
    animation: arrowPulse 1s infinite ease-in-out;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

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

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-direction: row-reverse;
}

.about-visuals {
    position: relative;
    width: 450px;
    margin: 0 auto;
    display: block;
}

.main-photo-container {
    position: relative;
    z-index: 2;
}

.main-img {
    width: 450px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.main-img:hover {
    box-shadow: 0 0 30px rgba(201, 169, 89, 0.6);
    transform: scale(1.02);
}

.radio-badge:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    margin: 1.5rem 0;
}

.about-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.about-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Radio Feature in About */
.radio-feature {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-left: 10px solid var(--primary-color);
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Ícone decorativo de fundo */
.radio-feature::before {
    content: '\f130'; /* Ícone de microfone do FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -30px;
    bottom: -40px;
    font-size: 12rem;
    color: rgba(201, 169, 89, 0.05);
    z-index: 0;
    transform: rotate(-15deg);
}

.radio-feature img {
    width: 380px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 1;
}

.radio-badge {
    background-color: #fff;
    padding: 0;
    width: 225px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    justify-content: center;
    box-shadow: none;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 1rem;
    margin: 1rem auto 0;
}

.radio-badge:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: white;
    box-shadow: 0 6px 14px rgba(201, 169, 89, 0.3);
}
.radio-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.radio-info {
    flex: 1;
    z-index: 1;
}

.radio-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.radio-feature h4 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0;
}

.radio-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 89, 0.2);
}

.radio-topics-list {
    list-style: none;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.radio-topics-list li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #555;
    font-weight: 500;
}

.radio-topics-list li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

.radio-cta {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.radio-feature p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Practice Areas */
.practice-areas-section {
    background-color: #f9f9f9;
}

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

.area-card {
    background: #fff;
    padding: 2.5rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05); /* Borda sutil para definição */
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.area-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.area-card:hover::after {
    width: 100%;
}

.area-icon {
    font-size: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    background-color: rgba(201, 169, 89, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.area-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.area-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.area-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
}

/* Testimonials */
.testimonials-section {
    padding-bottom: 1.1rem;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1.5rem; /* Espaço entre os cards "emendados" */
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
    align-items: center; /* Centraliza verticalmente as imagens */
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move metade do track (o set original) */
}

.testimonial-card-marquee {
    flex: 0 0 auto;
    width: 280px; /* Largura fixa para cada print */
    transition: transform 0.3s ease;
}

.testimonial-card-marquee img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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

/* Locations */
.locations-section {
    text-align: center;
    padding-top: 1rem;
}

.locations-intro {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.location-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
    border: 1px solid rgba(0,0,0,0.05);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.location-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.location-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.map-container {
    margin-top: 1rem;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.map-link:hover {
    color: #b38f4a;
    text-decoration: underline;
}

/* Urgency Section */
.urgency-section {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.urgency-section h2 {
    margin-bottom: 1rem;
}

.urgency-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.urgency-section .btn-primary {
    background-color: #fff;
    background: #fff; /* Remove gradiente para o botão branco */
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.urgency-section .btn-primary:hover {
    background-color: #f0f0f0;
    color: #b38f4a;
}

/* Footer */
.footer-section {
    background: linear-gradient(to bottom, #1a1a1a, #050505);
    color: #fff;
    padding: 4rem 0 2rem 0;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.logo-footer {
    max-width: 150px; /* Ajuste este valor conforme o tamanho desejado */
    margin-bottom: 1.5rem;
    display: block;
}

.footer-col p {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    /* padding-left removido para focar na animação da listra */
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #888;
}

.developer-credit {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-float:visited {
    color: #FFF;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 1.5rem;
    border: 1px solid rgba(201, 169, 89, 0.2);
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.4s ease-out;
}

.modal-content h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    text-align: center;
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ccc;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    background-color: #fff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Estilo personalizado para o Select (Dropdown) */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:focus {
    /* Muda a seta para cima quando o select está focado/aberto */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Estilização das Opções (Limitado pelo navegador, mas melhora onde possível) */
option {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 10px; /* Funciona bem no Firefox */
    background-color: #fff;
    color: #333;
    min-height: 1.5rem;
}

/* Estilo específico para Radio Buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    color: #555;
    transition: all 0.3s;
    flex: 1 0 auto;
    min-width: 100px;
    text-align: center;
}

.radio-label:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(201, 169, 89, 0.15);
}

/* Estado Selecionado (Dourado) */
.radio-label:has(input:checked) {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(201, 169, 89, 0.4);
}

.radio-label:has(input:checked) input {
    accent-color: #fff;
}

.radio-label input[type="radio"] {
    width: auto; /* Reseta a largura de 100% */
    margin: 0;
    accent-color: var(--primary-color);
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.15);
    outline: none;
}

/* Botão de Envio Personalizado */
.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Garante que a animação da seta funcione sempre no botão de enviar (Mobile Friendly) */
.btn-submit .arrow-animate {
    animation: arrowPulse 1.5s infinite ease-in-out;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .about-text p, .radio-feature p, .area-card p, .about-list li, .locations-intro {
        font-size: 1.15rem;
    }

    /* Garante o sombreado no Tablet e Mobile para melhor leitura */
    .hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url('public/heroimage.jpg') center/cover no-repeat;
    }

    /* Menu Tablet/Mobile (Hamburger) */
    .hamburger {
        display: block;
    }

    .navbar {
        padding: 1rem 2rem;
    }

    .nav-links {
        position: absolute;
        top: 105px; /* Altura do header Desktop (Logo Grande) */
        left: 50%;
        width: 75%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        opacity: 0;
        transform: translateX(-50%) scale(0.95) translateY(-20px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-links.active {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
        pointer-events: all;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .about-visuals {
        margin-bottom: 5rem;
    }

    .radio-feature {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .radio-feature img {
        max-width: 450px;
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    .radio-topics-list li {
        justify-content: center;
    }

    .radio-header-row {
        justify-content: center;
    }

    /* Áreas de Atuação na vertical no Tablet */
    .areas-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 0;
    }

    .about-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .radio-topics-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .modal-content {
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
    }

    .about-text p, .radio-feature p, .area-card p, .about-list li, .locations-intro {
        font-size: 0.95rem;
    }

    .hero-section {
        padding-top: 6rem;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo img {
        max-height: 50px;
    }
    
    /* Ajuste do Menu para Mobile */
    .nav-links {
        top: 70px; /* Altura do header Mobile (Logo Pequeno) */
        width: 85%;
        padding: 1.5rem 0;
    }

    .nav-links li {
        margin: 0.8rem 0;
    }

    .about-content {
        gap: 2rem;
    }

    .radio-feature {
        padding: 2rem 1rem;
    }
    .radio-feature img {
        width: 100%;
    }

    .radio-badge {
        width: 130px;
        height: 75px;
    }

    
    .about-visuals {
        margin: 0 auto 4rem auto;
        width: 100%;
        max-width: 300px;
    }

    .main-img {
        max-width: 100%;
        height: auto;
    }
    
    .team-photo-container {
        right: -20px;
        left: auto;
        transform: none;
    }

    .btn-primary {
        width: auto;
        display: inline-block;
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    .modal-content {
        padding: 1.5rem 1rem;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        margin: 0 auto;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .modal-content .btn-primary {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .radio-label {
        padding: 0.3rem;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }
}
