/* ===== VARIÁVEIS E RESET UNIFICADAS ===== */
:root {
    /* Cores principais unificadas */
    --primary-color: #1a5276;
    --secondary-color: #27ae60;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #34495e;
    --text-light: #7f8c8d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --onde-vou-color: #1a5276;

    /* Espaçamentos padronizados */
    --section-padding: 80px 0;
    --card-padding: 25px;
    --mobile-padding: 60px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== HEADER UNIFICADO ===== */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

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

/* ===== HERO SECTION UNIFICADA ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-hero-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ===== ABOUT SECTION UNIFICADA ===== */
.about {
    background-color: white;
}

.about .btn {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-text p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(39, 174, 96, 0.2), rgba(26, 82, 118, 0.2));
    z-index: 1;
}

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

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

/* ===== SERVICES SECTION UNIFICADA ===== */
.services {
    background-color: var(--light-color);
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--card-padding);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    flex-grow: 1;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

.sites-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0 0;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.site-card {
    background: #f0f4ff;
    border-radius: 14px;
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.site-card i {
    font-size: 42px;
    color: #005bbb;
    margin-bottom: 10px;
}

.site-card a {
    text-decoration: none;
    color: #004aad;
    font-weight: bold;
    font-size: 17px;
    display: block;
    margin-bottom: 8px;
}

.site-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .sites-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }
    
    .site-card {
        max-width: 260px;
        padding: 15px;
    }
}

/* ===== ANVISA SECTION UNIFICADA ===== */
.anvisa {
    background-color: white;
}

.anvisa-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.anvisa-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.anvisa-item:hover {
    transform: translateY(-5px);
}

.anvisa-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.anvisa-text {
    flex: 1;
}

.anvisa-text h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.regulation-highlight {
    background-color: white;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.regulation-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ===== DOWNLOADS SECTION UNIFICADA ===== */
.downloads {
    background-color: var(--light-color);
}

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

.download-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.download-card p {
    margin-bottom: 20px;
    color: var(--text-color);
    flex-grow: 1;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.download-link:hover {
    background-color: #e0e0e0;
}

/* ===== COMPANIES SECTION UNIFICADA ===== */
.companies {
    background-color: white;
}

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

.company-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.company-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.company-image img {
    max-width: 80%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.company-info {
    flex: 1;
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
}

.company-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.3;
    text-align: center;
}

.company-info p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.company-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

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

.company-link::after {
    content: '→';
    margin-left: 8px;
    transition: var(--transition);
}

.company-link:hover::after {
    transform: translateX(3px);
}

/* ===== ONDEVOU SECTION UNIFICADA ===== */
.onde-vou {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.onde-vou::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.onde-vou .section-title h2 {
    color: white;
}

.onde-vou .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.onde-vou .section-title h2::after {
    background-color: var(--secondary-color);
}

.onde-vou-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.onde-vou-text {
    flex: 1;
}

.onde-vou-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.onde-vou-text p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.onde-vou-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.onde-vou-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.onde-vou-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.onde-vou-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.onde-vou-feature-text p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.onde-vou-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-onde-vou {
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.btn-onde-vou:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.onde-vou-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.onde-vou-image:hover {
    transform: translateY(-10px);
}

.onde-vou-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CARDS EXPANSÍVEIS UNIFICADOS ===== */
.legal-section {
    background-color: var(--light-color);
}

.legal-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.legal-card-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: white;
}

.legal-card-header:hover {
    background-color: #f9f9f9;
}

.legal-card-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
}

.expand-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: var(--transition);
}

.legal-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 25px;
}

.legal-card.expanded .legal-card-content {
    max-height: 2000px;
    padding: 0 25px 25px;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin: 20px 0 10px;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.legal-highlight {
    background-color: #e8f6f3;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin: 20px 0;
}

.legal-highlight p {
    margin: 0;
}

/* ===== FOOTER UNIFICADO ===== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

/* Footer Legal Column - DESTAQUE */
.footer-legal-column {
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
}

.footer-legal-column h3 {
    color: var(--secondary-color) !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.legal-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.legal-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.legal-notice {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

.legal-notice p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Footer Bottom Melhorado */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px 0 20px;
    margin-top: 40px;
}

.footer-bottom-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-main-notice {
    margin-bottom: 15px;
}

.footer-main-notice p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.footer-legal-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
    margin: 20px 0;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.footer-disclaimer strong {
    color: var(--secondary-color);
    font-size: 1rem;
}

.footer-credits {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVIDADE UNIFICADA ===== */
/* Ajustes para tablets */
@media (max-width: 992px) {

    .about-content,
    .onde-vou-content {
        flex-direction: column;
    }

    .anvisa-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* CORREÇÃO: Ícones da ANVISA centralizados */
    .anvisa-icon {
        margin-bottom: 15px;
    }

    /* Ajuste para 1 coluna em tablets */
    .companies-grid {
        grid-template-columns: 1fr;
    }

    /* Ajustes de fonte para tablets */
    .section-title h2 {
        font-size: 2.2rem;
    }

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

/* Ajustes para mobile - CORREÇÕES PRINCIPAIS */
@media (max-width: 768px) {
    .section {
        padding: var(--mobile-padding);
    }

    /* CORREÇÃO: Seção Sobre - conteúdo não passa mais nas laterais */
    .about-content {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .about-text,
    .about-image {
        width: 100%;
        padding: 0 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        margin-bottom: 10px;
    }

    /* CORREÇÃO: Ícones da ANVISA centralizados em mobile */
    .anvisa-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px 15px;
    }

    .anvisa-icon {
        margin-bottom: 15px;
    }

    .regulation-highlight {
        padding: 15px;
        margin: 15px 0;
    }

    /* Ajustes de texto para mobile */
    .logo {
        font-size: 1.3rem;
        font-weight: 700;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .section-title p {
        padding: 0 15px;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu {
        display: block;
    }

    .onde-vou-features {
        grid-template-columns: 1fr;
    }

    .onde-vou-buttons {
        flex-direction: column;
    }

    /* CORREÇÃO: Garantir que tudo use 100% da largura */
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* CORREÇÃO: Grids ocupam 100% da largura */
    .services-grid,
    .companies-grid,
    .downloads-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    /* CORREÇÃO: Cards ocupam 100% da largura */
    .service-card,
    .company-card,
    .download-card,
    .anvisa-item {
        width: 100%;
        margin: 0 auto;
        margin-top: 20px;
        border-radius: 8px;
    }

    .service-content,
    .download-card,
    .anvisa-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0;
    }

    /* Ajuste para cards de empresa em mobile */
    .company-info {
        padding: 20px;
    }

    .company-image {
        height: 160px;
        padding: 20px;
    }

    .company-image img {
        max-width: 70%;
        max-height: 100px;
    }

    /* CORREÇÃO: Redução de fontes para evitar overflow */
    .service-content h3,
    .company-info h3,
    .download-card h3,
    .anvisa-text h3 {
        font-size: 1.2rem;
    }

    .regulation-highlight h4 {
        font-size: 1.1rem;
    }

    .legal-card-header h3 {
        font-size: 1.1rem;
    }

    /* Ajustes para rodapé em mobile */
    .footer-bottom {
        padding: 20px 0 15px;
    }

    .footer-main-notice p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .footer-disclaimer {
        margin: 15px 10px;
        padding: 12px;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal-links span {
        display: none;
    }

    /* Footer Legal Column - Mobile */
    .footer-legal-column {
        border-left: none;
        border-top: 3px solid var(--secondary-color);
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
    }

    /* Ajustes para cards expansíveis em mobile */
    .legal-card-header {
        padding: 15px 20px;
    }

    .legal-card-header h3 {
        font-size: 1.1rem;
    }

    .legal-card-content {
        padding: 0 20px;
    }

    .legal-card.expanded .legal-card-content {
        padding: 0 20px 20px;
    }

    /* CORREÇÃO: IMAGENS COMPLETAS NOS CARDS EM MOBILE */
    .service-image {
        height: auto !important;
        min-height: 200px;
        max-height: 300px;
    }

    .service-image img {
        object-fit: contain !important;
        width: 100%;
        height: auto;
    }

    .company-image {
        height: auto !important;
        min-height: 150px;
        max-height: 200px;
    }

    .company-image img {
        object-fit: contain !important;
        width: 100%;
        height: auto;
    }
}

/* Ajustes para dispositivos muito pequenos */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .service-image {
        height: 180px;
    }

    .anvisa-item,
    .download-card {
        padding: 15px;
    }

    .regulation-highlight {
        padding: 15px;
    }

    .company-info h3 {
        font-size: 1.1rem;
    }

    .company-image {
        height: 140px;
    }

    .company-image img {
        max-width: 65%;
        max-height: 90px;
    }

    /* CORREÇÃO: Redução adicional de fontes para telas muito pequenas */
    .service-content h3,
    .company-info h3,
    .download-card h3,
    .anvisa-text h3 {
        font-size: 1.1rem;
    }

    .legal-card-header h3 {
        font-size: 1rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}