/* Geraltest - CSS Profissional seguindo Guia de Marca */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

:root {
    /* Cores do Guia de Marca */
    --navy: #141438;
    --orange: #F7662D;
    --white: #FFFFFF;
    --gray: #454545;
    --black: #19171E;
    --light-bg: #F8F9FA;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Header Fixo */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(20, 20, 56, 0.1);
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu > li > a:hover {
    color: var(--orange);
}

.nav-menu a.active {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(20, 20, 56, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--navy);
    color: var(--white);
    border-left-color: var(--orange);
}

.btn-area-cliente {
    background: var(--orange);
    color: var(--white) !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-area-cliente:hover {
    background: #e05525;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 102, 45, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a1a38 100%);
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Logo transparente de fundo - apenas no hero */
.hero::before {
    content: '';
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    background-image: url('../images/logo-hero.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}



.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #e05525;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(247, 102, 45, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

/* Cards */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(20, 20, 56, 0.1);
    transform: translateY(-5px);
}

.card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.card p {
    color: var(--gray);
    line-height: 1.7;
    font-weight: 400;
}

/* Icon Cards */
.icon-card {
    text-align: center;
}

.icon-card .icon {
    width: 70px;
    height: 70px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.icon-card .icon.orange {
    background: var(--orange);
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(20, 20, 56, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    border: 1px solid #E5E7EB;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(20, 20, 56, 0.95), transparent);
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Content Box */
.content-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    margin-bottom: 2rem;
}

.content-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-weight: 700;
}

.content-box h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--navy);
    font-weight: 600;
}

.content-box p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
}

.content-box ul {
    list-style: none;
    margin: 1rem 0;
}

.content-box ul li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    color: var(--gray);
    position: relative;
    font-weight: 400;
}

.content-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.content-box ul li strong {
    color: var(--navy);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.cta-section .btn-secondary {
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--orange);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--orange);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 400;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 400;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 56, 0.9);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    color: var(--gray);
    float: right;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.scope-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.scope-table th,
.scope-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
    font-weight: 400;
}

.scope-table th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.scope-table tr:hover {
    background: var(--light-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .content-box {
        padding: 2rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Layout 75/25 para páginas de ensaios */
.content-75-25 {
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 2rem;
    align-items: start;
}

.content-75-25 .text-column {
    padding-right: 2rem;
}

.content-75-25 .image-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

@media (max-width: 1024px) {
    .content-75-25 {
        grid-template-columns: 1fr;
    }
    
    .content-75-25 .text-column {
        padding-right: 0;
    }
}

/* Layout 75/25 com imagens à ESQUERDA */
.content-25-75 {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 2rem;
    align-items: start;
}

.content-25-75 .text-column {
    padding-left: 2rem;
}

.content-25-75 .image-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-75-25 .image-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-75-25 .image-column img,
.content-25-75 .image-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .content-25-75 {
        grid-template-columns: 1fr;
    }
    
    .content-25-75 .text-column {
        padding-left: 0;
    }
    
    .content-25-75 .image-column {
        order: -1;
    }
}

/* Garantir altura igual entre texto e imagens */
.content-75-25 .image-column,
.content-25-75 .image-column {
    min-height: 100%;
}

.content-75-25 .text-column .content-box,
.content-25-75 .text-column .content-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 3 imagens empilhadas - ajuste de altura */
.content-75-25 .image-column img:nth-child(3),
.content-25-75 .image-column img:nth-child(3) {
    margin-top: 1.5rem;
}

/* Email Popup */
.email-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 56, 0.8);
    animation: fadeIn 0.3s;
}

.email-popup-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.email-popup-close {
    color: var(--gray);
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.email-popup-close:hover {
    color: var(--navy);
}

.email-popup h2 {
    color: var(--navy);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.email-popup-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--orange);
}

.info-item strong {
    color: var(--navy);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text);
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-copy {
    background: var(--orange);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
}

.btn-copy:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .email-popup-content {
        margin: 10% auto;
        padding: 2rem;
        width: 95%;
    }
    
    .email-popup h2 {
        font-size: 1.5rem;
    }
}
