/* 
 * nudefyBR.site - Folha de Estilo
 * Site para usuários brasileiros criarem conteúdo nudefy
 */

/* ---------- Estilos Base ---------- */
:root {
    /* Cores Primárias - Baseadas nas cores da bandeira brasileira */
    --color-green: #009c3b;
    --color-yellow: #ffdf00;
    --color-blue: #002776;
    --color-white: #FFFFFF;
    
    /* Cores Secundárias */
    --color-green-light: #42b74a;
    --color-green-dark: #006a28;
    --color-yellow-light: #fff5b3;
    --color-yellow-dark: #d4b900;
    --color-blue-light: #0044cc;
    --color-blue-dark: #001333;
    
    /* Cores Neutras */
    --color-dark: #1A1A1A;
    --color-gray-dark: #333333;
    --color-gray: #777777;
    --color-gray-light: #DDDDDD;
    --color-light: #F5F5F5;
    
    /* Fontes */
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Raleway', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-green);
}

ul, ol {
    list-style-type: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--color-green);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    background-color: var(--color-green-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 156, 59, 0.4);
}

/* Efeito de brilho no botão */
.shine-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 1s ease;
}

.shine-btn:hover::after {
    left: 150%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: -10px;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--color-green), var(--color-yellow));
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-gray);
}

.highlight {
    color: var(--color-green);
}

/* ---------- Decorações de Fundo ---------- */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    border: 15px solid var(--color-green);
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -200px;
    border: 10px solid var(--color-yellow);
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 30%;
    right: 20%;
    border: 8px solid var(--color-blue);
}

/* ---------- Cabeçalho ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--color-green) 0%, var(--color-yellow) 50%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    margin-left: 10px;
}

.logo-highlight {
    color: var(--color-blue);
    -webkit-text-fill-color: var(--color-blue);
    font-weight: 900;
}

.logo-domain {
    font-size: 1.2rem;
    opacity: 0.7;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    color: var(--color-dark);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-green), var(--color-yellow));
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-green);
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 99;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    display: block;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Seção Hero ---------- */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(245,245,245,1) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.user-count {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-gray-light);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-gray);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.user-icon svg {
    fill: var(--color-green);
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background-color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.badge-icon svg {
    fill: var(--color-green);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    width: 100%;
    max-width: 400px;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

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

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--color-green);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ---------- Seção Como Funciona ---------- */
.how-it-works {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, white, var(--color-light));
}

.process {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.process-step {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    padding: 0 20px;
}

.process-icon {
    margin-bottom: 20px;
}

.process-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.process-icon-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.process-icon-circle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-color: var(--color-yellow);
    color: var(--color-blue);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.process-connector {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin: 0 -10px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.cta-block {
    text-align: center;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
    border-left: 5px solid var(--color-green);
}

.cta-block h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-block p {
    margin-bottom: 25px;
    color: var(--color-gray);
}

/* ---------- Seção FAQ ---------- */
.faq {
    padding: 100px 0;
    background-color: var(--color-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-icon {
    display: flex;
    transition: transform 0.3s ease;
}

.faq-icon svg {
    fill: var(--color-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ---------- Rodapé ---------- */
.footer {
    padding: 80px 0 30px;
    background-color: var(--color-blue-dark);
    color: var(--color-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info p {
    margin-bottom: 20px;
    max-width: 400px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.footer-logo .logo-highlight {
    color: var(--color-yellow);
    -webkit-text-fill-color: var(--color-yellow);
}

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

.footer-nav h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-yellow);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ---------- Design Responsivo ---------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .hero {
        padding: 140px 0 70px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .process {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .footer-content,
    .footer-nav-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
    }
    
    .cta-block {
        padding: 30px 20px;
    }
}
