:root {
    --bg-dark: #0a0e14;
    --bg-mid: #0f1420;
    --accent-purple: #8a2be2;
    --accent-pink: #ff4500;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --gradient: linear-gradient(90deg, #8a2be2, #ff4500);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-mid);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 
 * MOBILE-FIRST APPROACH:
 * The base styles are for mobile devices (single-column, smaller fonts/spacing).
 * We then use @media (min-width) to add styles for larger screens.
*/

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

/* ── AJUSTE HERO COM ARCO INFERIOR ── */
.hero {
    background-color: var(--bg-dark);
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.hero__image-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    max-height: 350px;
    background-color: var(--bg-dark);
    /* Removemos o arredondamento superior e focamos no inferior */
    border-bottom-left-radius: 50% 120px;
    border-bottom-right-radius: 50% 120px;
    overflow: hidden;
    line-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero__image-container img {
    width: 100%;
    height: auto;
    display: block;
    /* Leve zoom para garantir que a foto preencha o arco */
    transform: scale(1.05); 
    transform-origin: bottom center;
}

.hero__logo-overlay {
    position: absolute;
    bottom: 5%; /* Diminuído de 15% para 5% para descer o bloco todo */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.logo-pd {
    font-size: 5rem; 
    font-weight: 700;
    color: var(--text-white);
    line-height: 0.7;
    margin-bottom: 25px; 
    text-shadow: 2px 4px 15px rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Mantendo o desalinhamento do D */
.logo-pd span.letra-d {
    position: relative;
    top: 35px; 
    margin-left: -5px;
}

.logo-sub {
    font-family: 'Pinyon Script', cursive;
    font-size: 1.8rem;
    color: var(--text-white);
    display: block;
    margin-top: 15px; /* Aumentei um pouco para não bater no D que desceu */
    line-height: 0.9;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

/* ── AJUSTE DO TEXTO ABAIXO DA FOTO ── */
.hero__text-box {
    padding-top: 1.5rem;
    background-color: var(--bg-dark);
    width: 100%;
    text-align: center;
}

.hero__text-box h1 {
    font-size: 1.2rem; /* Mobile-first font size */
    font-weight: 300;
    max-width: 380px;
    margin: 0 auto;
    color: var(--text-white);
    line-height: 1.6;
    opacity: 0.9;
}

/* ── BOTÃO ── */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin: 1rem;
    transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── SERVIÇOS ── */
.services {
    background-color: var(--bg-mid);
    padding: 64px 0 48px;
    text-align: center;
}

.services-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    max-width: 380px; /* Constrain on mobile */
    margin-bottom: 48px;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.service-card:hover {
    border-color: rgba(138,43,226,0.4);
    transform: translateY(-3px);
}

.icon-circle {
    width: 72px;
    height: 72px;
    background: var(--accent-purple);
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-white);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ── PLATAFORMAS ── */
.platforms {
    background-color: var(--bg-mid);
    padding: 56px 0 64px;
    text-align: center;
}

.platforms-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.platform-list {
    list-style: none;
    max-width: 540px;
    margin: 0 auto 40px;
    text-align: center;
}

.platform-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.platform-item:last-child {
    border-bottom: none;
}

.platform-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent-pink);
    margin-bottom: 4px;
}

.platform-item p {
    font-size: 1rem;
    color: var(--text-gray);
}

/* ── STATS ── */
.stats {
    background-color: var(--bg-mid);
    padding: 72px 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 400px;
    margin: 0 auto 56px;
}

.stat-item {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stat-item:first-child::before {
    content: '';
    display: block;
    width: 2cm;
    height: 2px;
    background: white;
    margin: 0 auto 20px;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 3.5rem; /* Smaller for mobile */
    font-weight: 900;
    display: block;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    display: block;
}

.stats-tagline {
    color: var(--accent-pink);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stats-sub {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 420px;
    margin: 0 auto;
}

/* ── BIO ── */
.bio-section {
    background-color: var(--bg-mid);
    padding: 72px 0;
}

.bio-section h2 {
    color: var(--accent-pink);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.bio-content {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem; /* Smaller for mobile */
    color: var(--text-gray);
    line-height: 1.85;
}

.bio-content p + p {
    margin-top: 16px;
}

.bio-content strong {
    color: var(--text-white);
}

.bio-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── FOOTER ── */
footer {
    background-color: var(--bg-mid);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo span {
    position: relative;
    top: 30px;
}

.footer-sub {
    font-family: 'Pinyon Script', cursive;
    font-size: 1.5rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-white);
    margin-top: 4px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.7;
    margin-top: 32px;
}

/* ── RESPONSIVO ── */
@media (min-width: 768px) {
    .btn {
        font-size: 1.1rem;
    }
    .hero__text-box h1 {
        font-size: 1.5rem;
        max-width: 600px;
    }

    .services-intro, .platforms-intro {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 700px;
    }

    .service-card {
        width: 250px;
    }

    .service-card p, .platform-item p {
        font-size: 1.1rem;
    }

    .platform-list {
        max-width: 680px;
    }
    .platform-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 24px;
    }

    .stats-grid {
        flex-direction: row; /* Horizontal layout for stats */
        max-width: 100%;
        justify-content: center;
    }
    .stat-item {
        padding: 20px 40px;
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.07);
    }
    .stat-item:first-child::before { display: none; }
    .stat-item:last-child { border-right: none; }
    .stat-number { font-size: 4.5rem; }
    .bio-content { font-size: 1.3rem; }
}
