/* ================================================================
   layout.css — Header, Hero e seções de conteúdo
   Projeto: BASTA! Landing Page
   ================================================================ */

/* ========== HEADER & NAV ========== */
header {
    background: transparent;
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
    background: rgba(91,26,110,0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    padding: 12px 0;
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; line-height: 1; margin-right: 20px; }
.logo img { height: 90px; width: auto; transition: var(--transition); }
header.scrolled .logo img { height: 72px; }

.nav-links { display: flex; gap: 5px; align-items: center; }
.nav-links a {
    font-weight: 500;
    font-size: 0.8rem;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); background: rgba(255,255,255,0.1); }
.nav-links a.nav-cta {
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
}
.nav-links a.nav-cta:hover { background: rgba(255,255,255,0.25); }

/* ========== LANGUAGE SELECTOR (NAV) ========== */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 0;
    font-family: 'Inter', sans-serif;
}
.lang-btn:hover,
.lang-btn.active {
    background: rgba(255,255,255,0.2);
    border-color: var(--gold);
    color: var(--gold);
}
.lang-btn.active {
    background: rgba(245,197,24,0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}
.mobile-menu-close {
    display: none;
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.mobile-menu-close:hover { transform: rotate(90deg); }
.nav-links.active ~ .mobile-menu-close { display: flex; }

/* ========== FOOTER ========== */
footer {
    background: var(--purple-dark);
    padding: 40px 0;
    text-align: center;
}

.footer-banner-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}

.footer-social-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-social-links a:hover {
    background: var(--gold);
    color: var(--purple-dark);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-banner {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 130vh;
    overflow: visible;
    background: #FFFAE9;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('https://basta.app.br/wp-content/uploads/2026/02/Grupo-133.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 80px;
    max-width: 600px;
    margin-left: 80px;
}
.hero-content { color: #fff; padding: 0px 0 40px 0; }

.hero-title-img   { max-width: 480px; width: 100%; height: auto; margin-bottom: 18px; }
.hero-subtitle-img { max-width: 380px; width: 100%; height: auto; margin-bottom: 25px; opacity: 0.95; }
.hero-checks { margin-bottom: 30px; }
.hero-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.95);
}
.hero-checks li i { color: var(--magenta); font-size: 1.1rem; }
.hero-checks img { max-width: 380px; width: 100%; height: auto; }

.hero-cards { 
    display: flex; 
    gap: 15px; 
    margin-top: 30px; 
    justify-content: center;
    align-items: center;
}
.hero-card {
    text-align: center;
    flex: 0 0 auto;
    width: 125px;
    max-width: 125px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hero-card:hover { transform: translateY(-8px); }
.hero-card img { width: 110px; height: auto; object-fit: contain; border-radius: 16px; display: block; }

/* ========== O PROJETO ========== */
#projeto {
    background: #F4ECDE;
    position: relative;
    overflow: hidden;
}
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.project-text-box {
    background: #fff;
    border-left: 5px solid var(--purple);
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}
.project-text-box p {
    margin-bottom: 18px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #63106B;
    line-height: 1.9;
}
.project-text-box p:last-child { margin-bottom: 0; }
.project-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-images img { max-width: 100%; object-fit: contain; }

/* ========== O APLICATIVO ========== */
#aplicativo {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}
#aplicativo::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 450px;
    height: 450px;
    background-image: url('https://basta.app.br/wp-content/uploads/2024/09/site-BASTA-copiar_0009s_0000s_0001s_0001_Vector-Smart-Object7-Double-Click-to-Edit.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 0;
}
#aplicativo::after {
    content: '';
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 100%;
    background-image: url('https://basta.app.br/wp-content/uploads/2024/09/Grupo-95-e1726233695469.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}
.app-title-wrap { text-align: center; margin-bottom: 30px; }
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.app-phones { display: flex; justify-content: center; align-items: center; }
.app-phones img { max-width: 100%; object-fit: contain; }
.app-text-box {
    background: #fff;
    border-left: 5px solid var(--purple);
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    box-shadow: var(--shadow-md);
}
.app-text-box p { font-size: 0.95rem; font-weight: 500; color: #63106B; line-height: 1.9; text-align: center; margin-bottom: 18px; }
.app-text-box p:last-child { margin-bottom: 0; }

/* ========== A COLEÇÃO ========== */
#colecao {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}
.colecao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.colecao-text h3 { font-size: 1.3rem; color: var(--purple-dark); margin-bottom: 15px; }
.colecao-text p,
.colecao-text li { font-size: 0.92rem; color: #555; line-height: 1.8; }
.colecao-text ul { margin: 15px 0; list-style: disc; padding-left: 20px; }
.colecao-text ul li { margin-bottom: 5px; list-style: disc; }
.colecao-text .btn { margin-top: 25px; }
.colecao-images { display: flex; justify-content: center; align-items: center; }
.colecao-images img { width: 100%; object-fit: contain; }

/* Texto real da coleção (substituindo imagem) */
.colecao-text-content p {
    font-size: 0.97rem;
    font-weight: 400;
    color: #5B0163;
    line-height: 1.85;
    text-align: left;
    margin-bottom: 18px;
}
.colecao-text-content p:last-child { margin-bottom: 0; }
.colecao-text-content p strong {
    font-weight: 700;
    color: #5B0163;
}

.cronograma-cta {
    text-align: center;
    padding: 40px 0;
    background-color: #FFFAE9;
    position: relative;
    overflow: hidden;
}
.cronograma-cta .btn {
    background: #fff;
    color: #DB294B;
    border: 2px solid var(--purple-dark);
    font-weight: 700;
    padding: 16px 40px;
    position: relative;
    z-index: 2;
}
.cronograma-cta .btn:hover { background: var(--purple-dark); color: #fff; }

/* ========== FUNDAMENTAÇÃO LEGAL ========== */
#legal {
    background: #FFFAE9;
    position: relative;
    overflow: hidden;
}
.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}
.legal-image { display: flex; justify-content: center; }
.legal-image img { max-width: 100%; object-fit: contain; }
.legal-content { font-size: 0.95rem; line-height: 1.9; }
.legal-content img  { width: 100%; max-width: 100%; object-fit: contain; }
.legal-content p    { margin-bottom: 15px; }
.legal-content ul   { list-style: none; margin-top: 20px; }
.legal-content ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.legal-content ul li i { color: var(--gold); margin-top: 4px; }

/* Texto real da fundamentação legal (substituindo imagem) */
.legal-text-content p {
    font-size: 0.93rem;
    font-weight: 400;
    color: #5B0163;
    line-height: 1.85;
    text-align: left;
    margin-bottom: 20px;
}
.legal-text-content p:last-child { margin-bottom: 0; }
.legal-text-content p strong {
    font-weight: 700;
    color: #5B0163;
}

/* ========== NÚMEROS / STATS ========== */
.stats {
    background: none;
    color: #fff;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.stats-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats > .container { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; }
.stats .section-title { color: #fff !important; }
.stats-subtitle { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 35px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-item {
    padding: 30px 20px;
    clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
    position: relative;
}
.stat-item h3 {
    font-size: 3.8rem;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-family: var(--font-heading);
}
.stat-item p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    margin-top: 5px;
}
.stats-cta { margin-top: 35px; }
.stats-cta .btn {
    background: #FFF8EE;
    color: #DB294B;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid var(--purple-dark);
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 14px 40px;
    border-radius: 50px;
}
.stats-cta .btn:hover { background: #cbcbcb; transform: translateY(-3px); }

/* ========== PARCEIROS & CLIENTES WRAPPER ========== */
.partners-clientes-wrapper {
    background: linear-gradient(135deg, #8B3A9E 30%, #8B3A9E 100%);
    position: relative;
    overflow: hidden;
}
.partners-clientes-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 150px;
    background: #FFFAE9;
    clip-path: polygon(0 0, 100% 0, 100% -100%, 0 100%);
    z-index: 0;
}
.partners-clientes-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 150px;
    clip-path: polygon(0 50%, -1% 0, 80000% 70000%, 0 100%);
    z-index: 0;
}

.partners-section {
    background: transparent;
    text-align: center;
    padding: 60px 0 40px 0;
    position: relative;
    z-index: 1;
}
.partners-section .section-title { color: #fff; }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.clientes-section {
    background: transparent;
    text-align: center;
    padding: 40px 0 60px 0;
    position: relative;
    z-index: 1;
}
.clientes-section .section-title { color: #fff; }
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== CONHEÇA O APLICATIVO ========== */
#conheca-app {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}
.app-showcase-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 750px;
}
.app-showcase-card {
    width: min(750px, 100%);
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    padding: clamp(18px, 2.2vw, 34px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-showcase-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    transition: opacity 0.4s ease-in-out;
}
.app-links-bottom {
    display: flex;
    gap: 70px;
    justify-content: center;
    margin-top: 26px;
}
.app-links-bottom a {
    color: var(--purple-dark);
    text-decoration: underline;
    font-weight: 700;
    font-size: 0.95rem;
}
.app-links-bottom a:hover { color: var(--magenta); }

/* ========== EMBAIXADORAS ========== */
/*
   Corrigido: removido width:100vw + margin-left:calc(-50vw+50%).
   A section já é block-level fora de qualquer container pai restrito —
   usar width:100% evita scroll horizontal e CLS em Safari.
*/
#embaixadoras {
    width: 100%;
    background: url('https://basta.app.br/wp-content/uploads/2025/07/site-BASTA-copiar_0000s_0018_Retangulo-1-e1752681294479.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}
#embaixadoras::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 250px;
    height: 100%;
    background-image: url('https://basta.app.br/wp-content/uploads/2024/09/Grupo-91.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0.7;
    z-index: 1;
}
#embaixadoras::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 250px;
    height: 100%;
    background-image: url('https://basta.app.br/wp-content/uploads/2024/09/Grupo-92-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.7;
    z-index: 1;
}
.embaixadoras-iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* ========== FORMULÁRIO / CONTATO ========== */
#contato { background: var(--bg-cream); }
.contact-area {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-shadow: var(--shadow-lg);
}
.contact-info h3 { font-size: 1.6rem; color: var(--purple-dark); margin-bottom: 15px; }
.contact-info p   { margin-bottom: 10px; color: #555; }
.contact-info p i { color: var(--purple); margin-right: 8px; }

.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--purple-dark);
}
input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e0f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(123,45,142,0.1);
}
.contact-area-centered {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* ========== FOOTER ========== */
footer {
    background: #6D2573;
    color: #fff;
    padding: 0;
}
.footer-banner-wrap {
    width: 100%;
    background: #6D2573;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    gap: 60px;
}
.footer-banner {
    height: auto;
    display: block;
    object-fit: contain;
}
.footer-img-left {
    max-height: 60px;
}
.footer-img-right {
    max-height: 60px;
}
.footer-bottom {
    text-align: center;
    padding: 15px 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.15);
}
