/* css/main.css */

:root {
    --primary-bg: #0F0F0F;
    --secondary-bg: #1A1A1A;
    --accent-gradient: linear-gradient(90deg, #FF0080 0%, #7928CA 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 16px;
}

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

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: block;
}

/* REMOVE QUALQUER ESPAÇO EXTRA NO FINAL */
main > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.section-padding {
    padding: 100px 0;
}

/* 🔥 evita sobra no final */
.section-padding:last-child {
    padding-bottom: 0;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* limpa qualquer pseudo bugado */
*::before,
*::after {
    max-height: 100%;
}

/* Adiciona a linha vermelha em todas as seções, exceto na primeira (Hero) */
main > * + * {
    border-top: 2.5px solid rgba(255, 0, 0, 0.3);
}