/* =====================================================
   AGÊNCIA70 — PÁGINA DE PARCERIAS
   CSS independente | Identidade visual institucional
===================================================== */

/* 1. VARIÁVEIS VISUAIS */
:root {
    --citrino: #fbf3e3;
    --roxo: #511361;
    --amarelo: #fbdb5c;
    --ramalhete: #a47ca1;

    --font-body: "Inter", Arial, sans-serif;
    --font-heading: "Poppins", "Inter", sans-serif;

    --font-size-base: 16px;
    --line-height-base: 1.6;

    --font-h1: clamp(2.3rem, 4.5vw, 3.8rem);
    --font-h2: clamp(1.8rem, 3vw, 2.5rem);
    --font-h3: 1.25rem;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    --white: #ffffff;
    --text: #514956;
    --muted: #77717a;
    --border: rgba(81, 19, 97, 0.10);

    --shadow-sm: 0 5px 18px rgba(45, 20, 50, 0.05);
    --shadow-md: 0 12px 35px rgba(45, 20, 50, 0.08);
    --shadow-lg: 0 22px 55px rgba(45, 20, 50, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1160px;
}

/* 2. RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);

    color: var(--text);
    background: var(--citrino);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    flex: 1;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

section {
    padding: 88px 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--roxo);
}

p {
    margin-bottom: 16px;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 3px solid var(--amarelo);
    outline-offset: 4px;
    border-radius: 5px;
}

/* 3. ACESSIBILIDADE */
.skip-link {
    position: fixed;
    top: 0;
    left: 16px;
    z-index: 99999;

    padding: 12px 18px;

    background: var(--roxo);
    color: var(--white);

    border-radius: 0 0 8px 8px;

    font-weight: 600;
    text-decoration: none;

    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    color: var(--white);

    outline: 3px solid var(--amarelo);
    outline-offset: 2px;
}

/* 4. CABEÇALHO */
header {
    position: relative;
    z-index: 10;

    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);

    box-shadow: 0 3px 18px rgba(45, 20, 50, 0.035);
}

.nav {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--roxo);
}

.logo span {
    color: var(--ramalhete);
    margin-left: 4px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}

nav > a:not(.nav-button) {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5f5662;
    white-space: nowrap;
    transition: color 0.25s ease;
}

nav > a:not(.nav-button):hover {
    color: var(--roxo);
}

.nav-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 12px 21px;
    border-radius: 9px;

    background: var(--roxo);
    color: var(--white);

    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;

    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease;
}

.nav-button:hover {
    background: var(--amarelo);
    color: var(--roxo);
    transform: translateY(-2px);
}

/* 5. HERO */
.hero {
    position: relative;
    overflow: hidden;

    padding-top: 100px;
    padding-bottom: 100px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(164, 124, 161, 0.15),
            transparent 32%
        ),
        linear-gradient(135deg, #fbf3e3 0%, #fffaf2 100%);
}

.hero::before {
    content: "";
    position: absolute;

    width: 360px;
    height: 360px;

    right: -170px;
    bottom: -210px;

    border: 1px solid rgba(81, 19, 97, 0.08);
    border-radius: 50%;

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 75px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;
    padding: 9px 15px;

    border: 1px solid rgba(81, 19, 97, 0.13);
    border-radius: 30px;

    background: rgba(255, 255, 255, 0.65);

    color: var(--roxo);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.tag::before {
    content: "";
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--amarelo);
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 25px;

    font-size: var(--font-h1);
    letter-spacing: -1.8px;
    line-height: 1.14;
}

.hero h1 strong {
    display: block;
    margin-top: 13px;

    color: var(--ramalhete);
    font-weight: 600;
}

.hero .hero-text {
    max-width: 650px;
    margin-bottom: 30px;

    color: #625965;
    font-size: 1.02rem;
    line-height: 1.9;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 51px;
    padding: 14px 25px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;

    transition: all 0.25s ease;
}

.button-primary {
    background: var(--roxo);
    color: var(--white);

    box-shadow: 0 7px 18px rgba(81, 19, 97, 0.18);
}

.button-primary:hover {
    background: #3e0d4b;
    color: var(--white);
    transform: translateY(-3px);

    box-shadow: 0 11px 24px rgba(81, 19, 97, 0.22);
}

.button-secondary {
    border-color: rgba(81, 19, 97, 0.25);
    background: rgba(255, 255, 255, 0.45);
    color: var(--roxo);
}

.button-secondary:hover {
    border-color: var(--roxo);
    background: var(--white);
    color: var(--roxo);
    transform: translateY(-3px);
}

/* 6. CARD DE DESTAQUE DO HERO */
.hero-box {
    position: relative;

    padding: 38px 34px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.88);

    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.hero-box::before {
    content: "";
    position: absolute;

    top: 0;
    left: 34px;

    width: 55px;
    height: 4px;

    border-radius: 0 0 5px 5px;
    background: var(--amarelo);
}

.hero-box h3 {
    margin-bottom: 17px;
    font-size: 1.4rem;
}

.hero-box p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.85;
}

.hero-box p:last-child {
    margin: 25px 0 0;
}

.hero-box .arrow {
    display: block;

    padding: 17px 18px;

    border-left: 4px solid var(--amarelo);
    border-radius: 0 9px 9px 0;

    background: #fbf7ed;

    color: var(--roxo);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* 7. INTRODUÇÃO DAS SEÇÕES */
.section-intro {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--ramalhete);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-intro h2 {
    margin-bottom: 18px;

    font-size: var(--font-h2);
    letter-spacing: -0.8px;
    line-height: 1.25;
}

.section-intro p {
    max-width: 690px;
    margin: 0 auto;

    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.85;
}

/* 8. CARDS DE OPORTUNIDADES */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 30px 27px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(81, 19, 97, 0.24);
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-bottom: 14px;

    font-size: 1.13rem;
    line-height: 1.4;
}

.card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.card p.arrow {
    margin-top: auto;
    margin-bottom: 0;
    padding: 14px 15px;

    border-radius: 8px;
    background: #faf5e9;

    color: var(--roxo);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.65;
}

/* 9. MODELOS DE PARCERIA */
.models {
    position: relative;
    background: #fff;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.model {
    position: relative;
    overflow: hidden;

    padding: 35px 32px 32px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: linear-gradient(145deg, #ffffff 0%, #fdfafd 100%);

    box-shadow: var(--shadow-sm);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.model::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--roxo),
        var(--ramalhete),
        var(--amarelo)
    );
}

.model:hover {
    transform: translateY(-5px);
    border-color: rgba(81, 19, 97, 0.22);
    box-shadow: var(--shadow-md);
}

.priority-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;
    padding: 7px 12px;

    border-radius: 30px;
    background: #f5edf5;

    color: var(--roxo);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.number {
    margin-bottom: 12px;

    color: var(--ramalhete);
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
}

.model h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.35;
}

.model p {
    margin-bottom: 0;

    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

/* 10. ETAPAS DE FUNCIONAMENTO */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step {
    position: relative;
    min-height: 205px;
    padding: 28px 23px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.step strong {
    display: block;
    margin-bottom: 12px;

    color: var(--roxo);
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.4;
}

.step span {
    display: block;

    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.75;
}

/* 11. SERVIÇOS */
.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.service {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 75px;
    padding: 20px 20px 20px 48px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: #fdfbfd;

    color: #514956;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;

    transition: all 0.25s ease;
}

.service::before {
    content: "✓";
    position: absolute;

    left: 18px;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;
    background: #f6eecf;

    color: var(--roxo);
    font-size: 0.75rem;
    font-weight: 800;

    transform: translateY(-50%);
}

.service:hover {
    border-color: rgba(81, 19, 97, 0.25);
    background: #fff;
    color: var(--roxo);

    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* 12. PERFIL DOS PARCEIROS */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.partner {
    min-width: 0;
    padding: 25px 23px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.85);

    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.8;

    box-shadow: var(--shadow-sm);

    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.partner:hover {
    transform: translateY(-4px);
    border-color: rgba(81, 19, 97, 0.22);
    box-shadow: var(--shadow-md);
}

.partner strong {
    display: block;
    margin-bottom: 9px;

    color: var(--roxo);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    line-height: 1.45;
}

/* 13. PERGUNTAS FREQUENTES */
.faq {
    background: #fff;
}

.faq .section-intro {
    margin-bottom: 38px;
}

.faq details {
    max-width: 850px;
    margin: 0 auto 13px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fff;

    box-shadow: var(--shadow-sm);

    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.faq details:hover,
.faq details[open] {
    border-color: rgba(81, 19, 97, 0.25);
    box-shadow: var(--shadow-md);
}

.faq summary {
    position: relative;
    display: block;

    padding: 21px 55px 21px 23px;

    color: var(--roxo);
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;

    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;

    top: 50%;
    right: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 50%;
    background: #f5edf5;

    color: var(--roxo);
    font-size: 1.2rem;
    font-weight: 500;

    transform: translateY(-50%);
    transition: transform 0.25s ease,
                background 0.25s ease;
}

.faq details[open] summary::after {
    content: "−";
    background: var(--amarelo);
}

.faq details p {
    padding: 0 23px 22px;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.85;
}

/* 14. CTA FINAL */
.cta {
    position: relative;
    overflow: hidden;

    padding: 45px 20px;
    background: #F1EAF2;

    text-align: center;
}

.cta::before,
.cta::after {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(81, 19, 97, 0.08);
    border-radius: 50%;

    pointer-events: none;
}

.cta::before {
    top: -160px;
    left: -80px;
}

.cta::after {
    right: -120px;
    bottom: -180px;
}

.cta .container {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 35px 30px;

    background: #E8CD83;
    border: 1px solid rgba(81, 19, 97, 0.18);
    border-radius: 12px;
}

.cta h2 {
    display: block;

    max-width: 760px;
    margin: 0 auto 14px;

    color: var(--roxo);
    font-size: var(--font-h2);
    letter-spacing: -0.7px;
}

.cta p {
    display: block;

    max-width: 700px;
    margin: 0 auto 22px;

    color: #403747;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta .button-primary {
    background: var(--roxo);
    color: var(--white);

    border: 1px solid var(--roxo);
    box-shadow: 0 5px 14px rgba(81, 19, 97, 0.16);
}

.cta .button-primary:hover {
    background: #3e0d4b;
    color: var(--white);
    border-color: #3e0d4b;
}

/* 15. FOOTER EXCLUSIVO DA PÁGINA DE PARCERIAS */
.footer {
    width: 100%;
    padding: 30px 20px;
    background: var(--roxo);
    color: var(--citrino);
    text-align: center;
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-content p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-content a {
    color: var(--amarelo);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-content a:hover {
    color: var(--white);
}

.footer-info {
    color: var(--amarelo);
    font-weight: 500;
    opacity: 0.85;
}

/* 16. TABLETS */
@media (max-width: 1050px) {
    .nav {
        gap: 20px;
    }

    nav {
        gap: 15px;
    }

    nav > a:not(.nav-button) {
        font-size: 0.78rem;
    }

    .hero-grid {
        gap: 40px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid,
    .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 17. TABLETS MENORES E CELULARES */
@media (max-width: 850px) {
    .nav {
        padding-top: 18px;
        padding-bottom: 18px;

        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .nav-button {
        padding: 10px 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-box {
        max-width: 650px;
    }

    .model-grid {
        gap: 18px;
    }
}

/* 18. CELULARES */
@media (max-width: 600px) {
    .container {
        width: min(100% - 36px, var(--container));
    }

    section {
        padding: 62px 18px;
    }

    .nav {
        align-items: center;
    }

    .logo {
        font-size: 1.4rem;
    }

    nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    nav > a:not(.nav-button) {
        padding: 8px 0;
        font-size: 0.76rem;
        white-space: normal;
    }

    nav .nav-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hero {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.65rem);
        letter-spacing: -1.2px;
    }

    .hero .hero-text {
        font-size: 0.94rem;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-box {
        padding: 30px 23px;
    }

    .section-intro {
        margin-bottom: 32px;
    }

    .section-intro h2,
    .cta h2 {
        font-size: 1.75rem;
    }

    .cards,
    .model-grid,
    .steps,
    .service-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .model {
        padding: 27px 23px;
    }

    .step {
        min-height: auto;
        padding: 24px;
    }

    .service {
        min-height: 68px;
    }

    .partner {
        padding: 23px;
    }

    .faq summary {
        padding: 18px 48px 18px 18px;
        font-size: 0.88rem;
    }

    .faq summary::after {
        right: 14px;
    }

    .faq details p {
        padding: 0 18px 19px;
        font-size: 0.86rem;
    }

    /* CTA FINAL NO CELULAR */
    .cta {
        padding: 30px 16px;
    }

    .cta .container {
        width: 100%;
        max-width: 100%;
        padding: 25px 18px;
    }

    /* RODAPÉ NO CELULAR */
    .footer {
        padding: 25px 16px;
    }

    .footer-content {
        align-items: center;
        gap: 9px;
    }

    .footer-content p {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* 19. CELULARES MUITO PEQUENOS */
@media (max-width: 360px) {
    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .tag {
        font-size: 0.62rem;
        letter-spacing: 0.7px;
    }

    nav {
        gap: 8px 12px;
    }
}

/* 20. ACESSIBILIDADE: MOVIMENTAÇÃO REDUZIDA */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================
   WHATSAPP FLUTUANTE
=========================== */

.whatsapp-button {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    border-radius: 50%;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button img {
    width: 34px;
    height: 34px;
    display: block;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.30);
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;

        right: 18px;
        bottom: 18px;
    }

    .whatsapp-button img {
        width: 31px;
        height: 31px;
    }
}