/* 
 * undressaipornBR.site - Estilo Brasileiro
 * Esquema de cores: Verde (#009c3b), Amarelo (#ffdf00), Azul (#002776)
 */

/* Definições de cores diretas para maior compatibilidade */
:root {
    --primary: #009c3b;
    --secondary: #ffdf00;
    --accent: #002776;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

h1 {
    font-size: 4.2rem;
    font-weight: 800;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
    color: var(--text-medium);
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Container */
.container {
    width: 92%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 2.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-lg {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 156, 59, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 156, 59, 0.4);
}

.btn-light {
    background: var(--text-light);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--background);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    transform: scale(0);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Cabeçalho e Navegação */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.site-header.sticky {
    padding: 1.2rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-svg {
    height: 4rem;
    width: auto;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 2.8rem;
}

.menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.6rem;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

.menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3.2rem;
    height: 2.4rem;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:last-child {
    bottom: 0;
}

.menu-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Seção Hero */
.hero {
    padding: 18rem 0 10rem;
    position: relative;
    background: linear-gradient(135deg, var(--background), var(--background-alt));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(0, 156, 59, 0.1), rgba(0, 156, 59, 0));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 60rem;
}

.badge {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.4rem;
    border-radius: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 156, 59, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.hero h1 {
    margin-bottom: 2.4rem;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3.2rem;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

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

.metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.metric-label {
    font-size: 1.4rem;
    color: var(--text-medium);
}

.hero-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 100%;
    max-width: 40rem;
    filter: drop-shadow(0 20px 30px rgba(0, 156, 59, 0.2));
}

/* Cabeçalho de Seção */
.section-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 6rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Seção de Recursos */
.features-section {
    padding: var(--section-padding);
    background-color: var(--background);
    position: relative;
}

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

.feature-card {
    padding: 3.5rem;
    border-radius: var(--border-radius);
    background-color: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-left: 4px solid transparent;
}

.feature-card:nth-child(3n+1) {
    border-left-color: var(--primary);
}

.feature-card:nth-child(3n+2) {
    border-left-color: var(--secondary);
}

.feature-card:nth-child(3n+3) {
    border-left-color: var(--accent);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 156, 59, 0.2);
}

.feature-icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 2.5rem;
}

.feature-card h3 {
    margin-bottom: 1.6rem;
    font-size: 2.2rem;
}

/* Seção Como Funciona */
.workflow-section {
    padding: var(--section-padding);
    background-color: var(--background-alt);
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 39, 118, 0.05) 0%, rgba(0, 39, 118, 0) 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 223, 0, 0.05) 0%, rgba(255, 223, 0, 0) 50%);
}

.workflow-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8rem;
}

.workflow-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    border-radius: 50%;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 156, 59, 0.3);
}

.workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    margin-top: 6rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--border-radius);
    padding: 5rem 3rem;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 15px 30px rgba(0, 156, 59, 0.2);
}

.cta-box h3 {
    color: var(--text-light);
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* Seção de Avaliações */
.reviews-section {
    padding: var(--section-padding);
    background-color: var(--background);
}

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

.review-card {
    padding: 3.5rem;
    border-radius: var(--border-radius);
    background-color: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-bottom: 3px solid var(--primary);
}

.review-card.featured {
    border-bottom-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 156, 59, 0.15);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 156, 59, 0.15);
}

.review-stars {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.review-text {
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 2.2rem;
    color: var(--text-medium);
}

.review-author {
    font-weight: 600;
    color: var(--primary);
}

/* Seção FAQ */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 156, 59, 0.05);
}

.faq-question h3 {
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
    transition: var(--transition);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 2.2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 2.2rem 2.2rem;
    max-height: 50rem;
}

/* Seção CTA */
.cta-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--text-light);
    font-size: 3.6rem;
    margin-bottom: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto 4rem;
}

/* Rodapé */
.site-footer {
    padding: 7rem 0 3rem;
    background-color: var(--accent);
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand {
    margin-bottom: 2.5rem;
}

.footer-logo {
    height: 5rem;
    width: auto;
    margin-bottom: 2.2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    max-width: 32rem;
}

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

.footer-column h4 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 2px;
    background-color: var(--secondary);
}

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

.footer-column li {
    margin-bottom: 1.2rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1.5rem;
}

.footer-column a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.footer-favicon {
    display: flex;
    align-items: center;
}

.footer-icon {
    width: 3.2rem;
    height: auto;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .workflow-container {
        flex-direction: column;
    }
    
    .workflow-step {
        margin-bottom: 4rem;
    }
    
    .workflow-connector {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 5rem 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        z-index: 999;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 15rem 0 8rem;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .review-card {
        padding: 2.5rem;
    }
}
