/* ============================================
   MAPFIRE MARANHÃO - STYLESHEET MODULAR
   ============================================ */

/* 1. VARIÁVEIS E RESET */
:root {
    /* Cores principais */
    --cinza-azulado: #2A4359;
    --laranja-principal: #F2490C;
    --laranja-secundario: #F28322;
    --amarelo-ouro: #E5A710;
    --verde: #648F4C;
    --white: #ffffff;
    --grey: #f2f4f6;
    
    /* Aliases para compatibilidade */
    --primary-colour: var(--laranja-principal);
    --dark-colour: var(--cinza-azulado);
    --light-bg: #f8f4ef;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-colour);
    line-height: 1.6;
    background: var(--white);
}

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

ul {
    list-style: none;
}

/* 2. COMPONENTES GLOBAIS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn.primary:hover {
    background: transparent;
    color: var(--primary-colour);
}

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

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

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-colour);
    border-radius: 2px;
}

/* 3. HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0.5rem 0;
}

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

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

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

nav ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav li a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-colour);
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

nav li a:hover {
    color: var(--primary-colour);
}

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

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

/* 4. HERO SECTION */
.hero {
    position: relative;
    height: 650px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero .overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: linear-gradient(to right,
        rgba(42, 67, 89, 0.98),
        rgba(42, 67, 89, 0.7),
        rgba(242, 73, 12, 0.2),
        rgba(242, 131, 34, 0.1)
    );
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    color: var(--white);
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -3px;
    line-height: 0.85;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 0.55;
}

.hero-content h2 span:nth-child(1) {
    color: var(--laranja-principal);
    display: block;
}

.hero-content h2 span:nth-child(2) {
    color: var(--laranja-secundario);
    display: block;
}

.hero-content h2 span:nth-child(3) {
    color: var(--verde);
    display: block;
}

.hero-content p {
    font-size: 1rem;
    margin: 1.5rem 0;
    max-width: 350px;
    line-height: 1.5;
}

/* 6. SECTION - PRODUTOS */
.products {
    display: flex;
    background: var(--white);
    padding: 4rem 0;
    overflow: hidden;
    min-height: 400px;
}

.products-text-section {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--white);
}

.vertical-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--laranja-principal);
    letter-spacing: 6px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    transform: rotate(180deg);
}

.products-slider-section {
    width: 90%;
    overflow: hidden;
    position: relative;
    cursor: ew-resize;
}

.products-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 2rem 2rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    align-items: center;
    transition: transform 0.3s ease;
}

.products-wrapper::-webkit-scrollbar {
    display: none;
}

/* Indicador visual para mostrar que é interativo */
.products-slider-section::before {
    content: "← Mova o cursor para navegar →";
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(42, 67, 89, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.products-slider-section:hover::before {
    opacity: 1;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    min-width: 320px;
    max-width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

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

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-1 .product-image { background-image: url('content/EstoqueC_1.png'); }
.product-2 .product-image { background-image: url('content/balançoC_1.png'); }
.product-3 .product-image { background-image: url('content/brasa_1.png'); }
.product-4 .product-image { background-image: url('content/landscape_1.png'); }

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-colour);
}

.product-card h3 span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--primary-colour);
}

.product-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: #666;
    line-height: 1.5;
}

.card-button {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-colour);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* 7. SECTION - NÚMEROS E ESTATÍSTICAS */
.numbers {
    background: linear-gradient(135deg, var(--white) 0%, rgba(229, 167, 16, 0.03) 50%, var(--white) 100%);
    padding: 4rem 0;
}

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

.numbers-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.numbers-text {
    flex: 1;
}

.numbers-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-colour);
    margin-bottom: 1rem;
}

.numbers-subtitle {
    font-size: 1rem;
    color: var(--dark-colour);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat:nth-child(1) .stat-number,
.stat:nth-child(5) .stat-number {
    color: var(--laranja-principal);
}

.stat:nth-child(2) .stat-number,
.stat:nth-child(4) .stat-number {
    color: var(--verde);
}

.stat:nth-child(3) .stat-number {
    color: var(--amarelo-ouro);
}

.stat p {
    font-size: 0.9rem;
    color: var(--dark-colour);
    line-height: 1.4;
    margin: 0;
}

.numbers-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.numbers-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 5. SECTION - IMPORTÂNCIA DOS DADOS */
.importance {
    background: var(--white);
    padding: 4rem 0;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-top: 1rem;
}

.importance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-content: center;
}

.importance-card {
    background: var(--white);
    padding: 1.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(10, 33, 71, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-colour);
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    position: relative;
    overflow: hidden;
}

.importance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 33, 71, 0.12);
}

.card-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.importance-card:nth-child(1) .card-icon,
.importance-card:nth-child(4) .card-icon {
    background: var(--verde);
}

.importance-card:nth-child(2) .card-icon,
.importance-card:nth-child(3) .card-icon {
    background: var(--amarelo-ouro);
}

.importance-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark-colour);
    transition: color 0.3s ease;
}

.importance-card:hover h3 {
    color: var(--primary-colour);
}

.importance-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* 8. SECTION - STAKEHOLDERS */
.stakeholders {
    background: #fafafa;
    padding: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.stakeholders .images {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stakeholders .images .img {
    width: calc(50% - 0.25rem);
    height: 150px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.img1 { background-color: #8fb8c9; }
.img2 { background-color: #d8a48f; }
.img3 { background-color: #b8cfa4; }
.img4 { background-color: #f7c8a9; }

.stakeholders .content {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.stakeholders .content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stakeholders .content p {
    font-size: 0.95rem;
}

/* 9. SECTION - PUBLICAÇÕES */
.publications {
    background: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.publications h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.publications .cards {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.publication-card {
    flex: 1;
    min-width: 250px;
    height: 180px;
    background: var(--grey);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* 10. SECTION - LOGOS */
.logos {
    background: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.logos h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-placeholder {
    width: 120px;
    height: 60px;
    background: var(--grey);
    border-radius: 4px;
}

/* 11. FOOTER */
.footer {
    background: linear-gradient(135deg, var(--laranja-principal), var(--laranja-secundario));
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-contact h3,
.footer-links h3,
.footer-newsletter h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--amarelo-ouro);
    margin-bottom: 1.5rem;
}

.footer-contact p,
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--laranja-principal);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details span:first-child {
    color: var(--white);
    font-weight: 500;
}

.contact-details span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.links-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-column a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.links-column a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-colour);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.links-column a:hover {
    color: var(--primary-colour);
    padding-left: 1.5rem;
}

.links-column a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary-colour);
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.2);
}

.input-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    padding: 1rem;
    background: var(--amarelo-ouro);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--white);
}

.newsletter-btn svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.newsletter-btn:hover svg {
    color: var(--laranja-principal);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.brand-with-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: center;
}

.footer-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--amarelo-ouro);
    font-style: italic;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--laranja-principal);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--amarelo-ouro);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-copyright strong {
    color: var(--amarelo-ouro);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--laranja-principal);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(240, 90, 40, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e04a1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240, 90, 40, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   12. MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================ */

/* Desktop pequeno e tablets grandes */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 4rem; }
    .importance { padding: 3rem 0; }
    .section-title { font-size: 2rem; }
    .importance-grid { gap: 1rem; padding: 0 1rem; }
    .importance-card { padding: 1.5rem 1rem; min-width: 220px; max-width: 240px; }
    .products { padding: 3rem 0; }
    .vertical-text { font-size: 2.8rem; letter-spacing: 4px; }
    .products-wrapper { padding: 1.5rem 1.5rem 1.5rem 0.5rem; gap: 1.2rem; }
    .product-card { min-width: 280px; max-width: 280px; }
    .numbers { padding: 3rem 0; }
    .publications { padding: 3rem 0; }
    .stakeholders { padding: 4rem 0; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-newsletter { grid-column: 1 / -1; }
    .footer-bottom-content { grid-template-columns: 1fr; text-align: center; }
    .brand-with-social { justify-content: center; }
    .footer-copyright { text-align: center; }
}

/* Tablets */
@media (max-width: 768px) {
    header { padding: 0.4rem 0; }
    header .container { padding: 0 1rem; }
    .logo { height: 35px; }
    nav ul { gap: 1.5rem; }
    nav li a { font-size: 0.8rem; }
    
    .hero { height: 550px; }
    .hero .overlay { padding: 0 1rem; }
    .hero-content h1 { font-size: 3.2rem; letter-spacing: -2px; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1.1rem; margin: 1.2rem 0 2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    
    .importance-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
    .importance-card { flex: none; width: 100%; max-width: 400px; min-width: auto; }
    
    .products { flex-direction: column; padding: 3rem 0; }
    .products-text-section { width: 100%; height: 60px; }
    .vertical-text { 
        writing-mode: horizontal-tb; 
        transform: none; 
        font-size: 2rem; 
        text-align: center;
        letter-spacing: 2px;
    }
    .products-slider-section { 
        width: 100%; 
        cursor: grab;
    }
    .products-slider-section::before {
        content: "← Deslize para navegar →";
    }
    .products-wrapper { padding: 1rem; }
    .product-card { min-width: 250px; max-width: 250px; }
    .product-image { height: 160px; }
    .product-content { padding: 1.2rem; }
    
    .numbers-content { flex-direction: column; gap: 3rem; }
    .numbers-text { text-align: center; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 400px; margin: 0 auto; }
    
    .stakeholders { flex-direction: column; }
    .stakeholders .images { width: 100%; }
    .stakeholders .content { max-width: 100%; text-align: center; }
    
    .publications .publication-card { min-width: 100%; }
    
    .footer-container { grid-template-columns: 1fr; padding: 2rem 1rem; gap: 2rem; }
    .links-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom-content { padding: 1.5rem 1rem; }
    .brand-with-social { flex-direction: column; gap: 1rem; align-items: center; }
    .footer-logo { height: 35px; }
    .social-links { justify-content: center; }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content h2 { font-size: 1.6rem; }
    .hero-content p { font-size: 1rem; }
    
    .importance-card { padding: 1.5rem 1rem; max-width: 100%; }
    .card-icon { width: 50px; height: 50px; }
    .card-icon svg { width: 24px; height: 24px; }
    
    .products-text-section { height: 50px; }
    .vertical-text { font-size: 1.5rem; letter-spacing: 1px; }
    .products-slider-section::before {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    .product-card { min-width: 220px; max-width: 220px; }
    
    .links-grid { grid-template-columns: 1fr; }
    .input-group { flex-direction: column; }
    .newsletter-btn { padding: 0.75rem; }
    .back-to-top { width: 45px; height: 45px; bottom: 1.5rem; right: 1.5rem; }
    .brand-with-social { gap: 0.75rem; }
    .footer-logo { height: 30px; }
    .social-links { gap: 0.75rem; }
}

/* ============================================
   13. POPUPS DOS PRODUTOS
   ============================================ */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.popup-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

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

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-colour);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.popup-close:hover {
    background: var(--light-bg);
}

.popup-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.popup-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popup-image-brasa {
    background: linear-gradient(135deg, var(--laranja-principal), var(--laranja-secundario));
}

.popup-image-landscape {
    background: linear-gradient(135deg, var(--laranja-secundario), var(--amarelo-ouro));
}

.popup-image-estoquec {
    background: linear-gradient(135deg, var(--verde), var(--amarelo-ouro));
}

.popup-image-balanco {
    background: linear-gradient(135deg, var(--cinza-azulado), var(--laranja-principal));
}

.popup-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-colour);
    margin: 0;
}

.popup-header h2 span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-colour);
}

.popup-body {
    padding: 0 2rem 2rem;
}

.popup-description {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-colour);
    margin-bottom: 1.5rem;
    text-align: center;
}

.popup-details {
    margin-bottom: 2rem;
}

.popup-details p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-colour);
    margin-bottom: 1rem;
    text-align: justify;
}

.popup-cta {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsividade dos popups */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 1rem;
    }
    
    .popup-content {
        max-height: 95vh;
    }
    
    .popup-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .popup-body {
        padding: 0 1.5rem 1.5rem;
    }
    
    .popup-image {
        width: 100px;
        height: 100px;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-details p {
        text-align: left;
    }
}
