* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-decoration: none;
    outline: none;
}

/* Variáveis */
:root {
    /* Paleta de Cores - peach */
    --primary-50:  #fff7f3;
    --primary-100: #ffe9e2;
    --primary-200: #ffd6cc;
    --primary-300: #fcbfaf;
    --primary-400: #f5a18d;
    --primary-500: #ea8872;
    --primary-600: #d96f5b;
    --primary-700: #b45747;
    --primary-800: #8a4338;
    --primary-900: #5c2d28;

    /* Paleta de cores - rosa */
    --pink-100: #ffe8ef;
    --pink-200: #ffd3e0;
    --pink-300: #f6b3b7;
    --pink-400: #f5a3be;
    --pink-500: #eb89ab;

    /* Cores Neutras */
    --cream: #fffaf5;
    --cream-dark: #f4eadf;

    --gray-200: #ece6f2;
    --gray-400: #8b8297;
    --gray-600: #5f5868;

    --black: #2b2433;
    --white: #fffdfb;

    /* Cores de Estado */
    --error: #d95361;
    --success: #74a86f;

    --accent-pink: #f2b6c6;   /* mantido — usado no header e footer */
    --accent-peach: #f4c095;
    --accent-green: #8eb486;
    --accent-yellow: #f6dda0;

    /* Sombras — unificadas na família peach/rosa */
    --shadow-sm: 0 4px 10px rgba(234, 136, 114, 0.12);
    --shadow-md: 0 8px 24px rgba(234, 136, 114, 0.20);  /* ← era roxo rgba(187,150,255) */
    --shadow-lg: 0 12px 40px rgba(180, 87, 71, 0.22);   /* ← era roxo rgba(164,119,242) */

    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Tamanhos de Fonte */
    --text-sm: 0.75rem;
    --text-base: 1rem;
    --text-md: 0.875rem;   /* ← adicionado — estava sendo usado mas não definido */
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --radius-full: 50%;

    /* Animação Padrão */
    --transition-default: all 0.3s ease;
}

.leaves {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.leaf {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--accent-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.6;
    animation: falling linear infinite;
}

/* POSIÇÕES */

.leaf:nth-child(1)  { left: 5%;  animation-duration: 13s; animation-delay: 0s; }
.leaf:nth-child(2)  { left: 12%; animation-duration: 16s; animation-delay: 2s; }
.leaf:nth-child(3)  { left: 18%; animation-duration: 11s; animation-delay: 1s; }
.leaf:nth-child(4)  { left: 24%; animation-duration: 18s; animation-delay: 3s; }
.leaf:nth-child(5)  { left: 30%; animation-duration: 15s; animation-delay: 5s; }
.leaf:nth-child(6)  { left: 38%; animation-duration: 14s; animation-delay: 2s; }
.leaf:nth-child(7)  { left: 45%; animation-duration: 20s; animation-delay: 4s; }
.leaf:nth-child(8)  { left: 52%; animation-duration: 12s; animation-delay: 1s; }
.leaf:nth-child(9)  { left: 58%; animation-duration: 17s; animation-delay: 6s; }
.leaf:nth-child(10) { left: 65%; animation-duration: 13s; animation-delay: 2s; }
.leaf:nth-child(11) { left: 72%; animation-duration: 19s; animation-delay: 4s; }
.leaf:nth-child(12) { left: 78%; animation-duration: 15s; animation-delay: 1s; }
.leaf:nth-child(13) { left: 84%; animation-duration: 11s; animation-delay: 3s; }
.leaf:nth-child(14) { left: 90%; animation-duration: 16s; animation-delay: 5s; }
.leaf:nth-child(15) { left: 96%; animation-duration: 14s; animation-delay: 2s; }

@keyframes falling {

    0% {
        transform:
        translateY(-10vh)
        translateX(0)
        rotate(0deg)
        scale(1);

        opacity: 0;
    }

    10% {
        opacity: 0.55;
    }

    50% {
        transform:
        translateY(50vh)
        translateX(40px)
        rotate(180deg)
        scale(0.9);
    }

    100% {
        transform:
        translateY(110vh)
        translateX(120px)
        rotate(360deg)
        scale(0.7);

        opacity: 0;
    }
}

.magic-cursor {
    position: fixed;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
    radial-gradient(
        circle,
        rgba(246,179,183,0.95),
        rgba(246,179,183,0.3),
        transparent
    );
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    box-shadow:
    0 0 12px rgba(246,179,183,0.8),
    0 0 24px rgba(255,210,220,0.5);
    transition:
    transform 0.08s linear;
}

/* ESTRELINHAS */

.spark {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    animation: sparkleFade 0.8s forwards;
}

@keyframes sparkleFade {

    0% {
        transform:
        scale(1)
        translateY(0);

        opacity: 1;
    }

    100% {
        transform:
        scale(0)
        translateY(-12px);
        opacity: 0;
    }
}

/* Configurações Básicas */

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 100vw;
    line-height: 1.6;
    color: var(--black);
    background: var(--cream-dark);
}

main {
    flex: 1;
}

/* Seções - Base Comum */

.section-container {
    max-width: 70rem;
    margin: 0 auto var(--spacing-2xl) auto;
    padding: var(--spacing-md) var(--spacing-md);
    scroll-margin-top: 6rem;
    width: 100%;
    gap: var(--spacing-md);
}

.about-container {
    background-color: var(--cream);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 0.15rem solid var(--black);
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    margin: var(--spacing-2xl) auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    transition: all 0.3s ease;
}

.about-container:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

/* Botões */

.buttons-container {
    display: flex;
    gap: var(--spacing-sm);
}

.botao,
.botao-outline {
    display: flex;
    padding: 0.75rem 2rem;
    border: 0.15rem solid transparent;
    border-radius: var(--radius-xl);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-default);
    justify-content: center;
}

.botao {
    border-color: var(--black);
    background: var(--accent-pink);   /* ← era --pink-600 (que era #f6b3b7 = mesmo valor do accent-pink) */
    color: var(--black);
}

.botao:hover {
    background-color: var(--accent-peach);
    box-shadow: var(--shadow-md);
    transform: translateY(-0.25rem);
    cursor: none;
}

.botao-outline {
    border-color: var(--accent-pink);  /* ← era --pink-600 */
    background-color: transparent;
    color: var(--black);
}

.botao-outline:hover {
    border-color: var(--accent-peach);
    transform: translateY(-0.25rem);
    cursor: none;
}

/* Botões pequenos - Card Projetos */

.botao.botao-sm,
.botao-outline.botao-sm {
    min-width: 6rem;
    padding: 0.25rem var(--spacing-sm);
    border-width: 0.15rem;
    border-radius: var(--radius-xl);
    font-size: var(--text-sm);
    align-items: center;
    white-space: nowrap;
    flex: 1;
    min-height: 2.5rem;
}

/* Seção Header */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 4.5rem;
    box-shadow: var(--shadow-lg);
    background-color: var(--accent-pink);
    border: 0.15rem solid var(--black);
}

header img {
    height: 5rem;
    padding-top: 1rem;
}

header a {
    font-weight: 600;
    color: var(--primary-800);
    transition: color 0.6s ease;
}

header a:hover {
    color: var(--primary-600);
}

#titulo {
    font-size: var(--text-2xl);
    font-weight: 700;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70rem;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.menu-list {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.menu-list a {
    padding: var(--spacing-xs);
    font-size: var(--text-base);
    white-space: nowrap;
}

/* Seção Hero */

.hero-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: var(--spacing-2xl);
    min-height: calc(100vh - 8rem);
}

.hero-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.hero-content span {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-500);
}

.hero-content h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    font-family: "Playfair Display", serif;
}

.hero-content h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: -1.2rem;
}

.hero-content p,
.about-content p,
.contact-info p,
.stack-content p {
    font-size: var(--text-xl);
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.hero-image {
    display: flex;
    flex: 1;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    border: 0.15rem solid var(--black);
    box-shadow: var(--shadow-md);
}

/* Animação Flutuante */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-1.25rem); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.faixa {
    display: flex;
    background-color: var(--accent-pink);  /* ← era --pink-600 */
    color: var(--primary-800);
    padding: 0.30rem;
    border: 0.10rem solid var(--black);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: rotate(-1deg);
    text-align: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.linha-hero {
    height: 22rem;
    width: 0.1em;
    background: linear-gradient(to top, transparent, var(--pink-500), transparent);
    opacity: 0.9;
}

/* Stacks */

.stack-container {
    overflow: hidden;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.stack-container::before {
    left: 0;
    background: linear-gradient(to right transparent);
}

.stack-container::after {
    right: 0;
    background: linear-gradient(to left transparent);
}

.stack-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: scroll 25s linear infinite;
}

.stack-track:hover {
    animation-play-state: paused;
}

.stack-track img {
    width: 2rem;
    transition: var(--transition-default);
}

.stack-track img:hover {
    transform: scale(1.3);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* About */

.about-container {
    display: flex;
    align-items: center;
    border-radius: var(--radius-lg);
}

.about-image {
    flex: 0 0 17.5rem;
}

.about-image img {
    width: 100%;
    border: 0.20rem solid var(--primary-600);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.about-content h2,
.projects-container h2,
.contact-info h2,
.stack-content h2 {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-700);
}

.about-content p {
    font-size: var(--text-md);
    text-align: justify;
    color: var(--gray-600);
}

.about-buttons-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.about-buttons-data .botao {
    margin-right: auto;
}

.data-container {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: 0;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-number {
    font-size: var(--text-xl);
    font-weight: 700;
    text-align: center;
    color: var(--primary-600);
}

.data-label {
    font-size: var(--text-base);
    text-align: center;
    color: var(--gray-400);
}

.destaque-about {
    color: var(--primary-500);
    font-weight: 600;
}

/* Projects */

.projects-container {
    scroll-margin-top: 3rem;
    margin: var(--spacing-2xl) auto;
    text-align: center;
}

.projects-swiper {
    position: relative;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-xl);
    overflow: hidden;
}

/* Card Projetos */

.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 0.15rem solid var(--black);
    border-radius: var(--radius-lg);
    background-color: var(--cream);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-default);
    animation: breathe 6s ease-in-out infinite;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
}

.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10rem;
    background: linear-gradient(var(--primary-300), var(--pink-400));
    border-bottom: 0.15rem solid var(--black);
}

.project-image img {
    width: 75%;
    height: 75%;
    max-width: 7rem;
    max-height: 7rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--spacing-md);
    text-align: left;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    font-size: var(--text-lg);
    font-weight: 700;
}

.project-content p {
    flex: 1;
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-base);
    color: var(--gray-400);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag {
    padding: 0.375rem 0.75rem;
    background-color: var(--pink-100);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 0.05rem solid var(--black);
    border-radius: var(--radius-xl);
}

.project-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: var(--spacing-sm);
}

@keyframes breathe {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }
}

/* Configuração do Swiper */

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    width: 3rem;
    height: 3rem;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: var(--text-lg);
    color: var(--pink-500);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: var(--primary-700);
}

.swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--primary-700);
    opacity: 1;
    margin: 0 0.5rem;
}

.swiper-pagination-bullet-active {
    width: var(--spacing-lg);
    border-radius: var(--radius-sm);
    background-color: var(--primary-500);
    margin: 0 0.5rem;
}

/* Seção Contatos */

.contact-container {
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: var(--spacing-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-info h2 {
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
}

.linha-contact {
    width: 0.1rem;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent, var(--pink-500), transparent);
    opacity: 0.9;
}

/* Redes Sociais */

.social-container {
    display: flex;
    justify-content: left;
    align-items: left;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-default);
}

.social-icon img {
    width: 100%;
    filter: brightness(0) saturate(100%);
    transition: filter 0.3s ease;
}

.social-icon img:hover {
    filter:
    brightness(0)
    saturate(100%)
    invert(84%)
    sepia(18%)
    saturate(950%)
    hue-rotate(305deg)
    brightness(101%)
    contrast(95%);
}

/* Formulário de Contato */

form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

form label {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--primary-700);
}

form input,
form textarea {
    width: 100%;
    padding: 0.5rem var(--spacing-sm);
    border: 0.15rem solid var(--black);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

form input:focus,
form textarea:focus {
    border-color: var(--primary-700);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 92, 100, 0.274);
}

form textarea {
    min-height: 5rem;
    resize: none;
}

form span {
    margin-top: 0.10rem;
    font-size: var(--text-sm);
    color: var(--error);
}

form .botao {                  /* ← era form .button.botao — seletor errado */
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.nome-email {
    display: flex;
    gap: 20px;
}

.nome-email > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Footer */

footer {
    padding: 0.45rem var(--spacing-md);
    text-align: center;
    background: var(--cream);
    font-weight: 600;
    color: var(--primary-800);
    border: 0.15rem solid var(--black);
}

.footer-a {
    all: unset;
    cursor: pointer;
}

.footer-a:hover {
    color: var(--primary-700);
}

/* Página Success */

.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 12.5rem);
    padding: var(--spacing-xl) var(--spacing-md);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 37.5rem;
    text-align: center;
}

.success-content h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-700);
}

.success-content h2 {
    font-size: var(--text-lg);
    color: var(--black);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: var(--radius-full);
    background-color: var(--pink-200);
    border: 0.15rem solid var(--black);
}

.success-icon img {
    width: 6rem;
    height: 6rem;
    filter:
        brightness(0)
        saturate(100%)
        invert(38%)
        sepia(22%)
        saturate(1120%)
        hue-rotate(332deg)
        brightness(92%)
        contrast(94%);
}

/* ========================================
   RESPONSIVIDADE - TABLET (até 1024px)
======================================== */

@media screen and (max-width: 1024px) {

    /* Layout */
    .section-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    /* Tipografia */
    .section-container h1 { font-size: var(--text-3xl); }
    .section-container h2 { font-size: var(--text-2xl); }
    .section-container p  { font-size: var(--text-base); }
    .section-container span { font-size: var(--text-lg); }

    .success-content h1 { font-size: var(--text-3xl); }
    .success-content h2 { font-size: var(--text-lg); }

    /* Header */
    #titulo {
        font-size: var(--text-xl);
    }

    /* Hero */
    .hero-container {
        gap: var(--spacing-lg);
        min-height: 60vh;
        text-align: center;
    }

    .hero-content,
    .hero-image {
        width: 90%;
    }

    .hero-image img {
        object-fit: cover;
    }

    .buttons-container {
        justify-content: center;
        width: 100%;
    }

    .hero-container .botao,
    .hero-container .botao-outline {
        padding: 0.75rem 1.5rem;
        font-size: var(--text-base);
        white-space: nowrap;
    }

    /* About */
    .about-container {
        flex-direction: column;
        gap: var(--spacing-md);
        margin: var(--spacing-lg);
        padding: var(--spacing-lg);
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .about-image img {
        max-width: 16rem;
        width: 100%;
    }

    .about-content {
        width: 100%;
    }

    .about-buttons-data {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .about-buttons-data .botao {
        margin-right: 0;
    }

    .data-container {
        justify-content: center;
        width: 100%;
    }

    /* Projects */
    .projects-container {
        margin: var(--spacing-lg) auto 0;
    }

    .projects-swiper {
        margin: 0;
        padding: var(--spacing-sm) var(--spacing-lg) 2.5rem;
    }

    .project-card {
        width: 100%;
        height: 30rem;
        min-height: 30rem;
        max-height: 30rem;
        max-width: 100%;
    }

    .project-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .project-content p {
        flex: 1;
        overflow: hidden;
    }

    .project-tags {
        min-height: 2.5rem;
        align-items: flex-start;
    }

    .swiper-wrapper {
        align-items: stretch;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
        height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        width: 90%;
        margin: 0 auto;
    }

    .linha-contact {
        width: 100%;
        height: 0.1rem;
        background: linear-gradient(to right, transparent, var(--pink-500), transparent);
        opacity: 0.9;
    }

    /* Success Page */
    .success-container {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: calc(100vh - 10rem);
    }

    .success-content {
        gap: var(--spacing-lg);
        max-width: 35rem;
    }

    .success-icon {
        width: 6rem;
        height: 6rem;
    }

    .success-icon img {
        width: 5rem;
        height: 5rem;
    }
}

/* ========================================
   RESPONSIVIDADE - MENU (até 768px)
======================================== */

@media screen and (max-width: 768px) {   /* ← era media aninhada dentro do 1024px (inválido) */
    .menu-list {
        display: none;
    }

    .magic-cursor,
    .spark {
        display: none;
    }

    /* Hero */
    .hero-container {
        gap: var(--spacing-md);
        flex-direction: column;
    }

    .hero-content {
        gap: var(--spacing-xs);
        width: 100%;
    }

    .linha-hero {
        height: 0.1rem;
        width: 100%;
        background: linear-gradient(to right, transparent, var(--pink-500), transparent);
        opacity: 0.9;
    }
}

/* ========================================
   RESPONSIVIDADE - MOBILE (até 480px)
======================================== */

@media screen and (max-width: 480px) {

    /* Layout */
    .section-container {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    /* Tipografia Mobile */
    .section-container h1  { font-size: var(--text-xl); }
    .section-container h2  { font-size: var(--text-xl); }
    .section-container p   { font-size: var(--text-base); }
    .section-container span { font-size: var(--text-lg); }

    .success-content h1 { font-size: var(--text-xl); }
    .success-content h2 { font-size: var(--text-base); }

    /* Header */
    #titulo {
        font-size: var(--text-xl);
    }

    /* menu-list: já coberto pelo breakpoint 768px acima — removida duplicata */

    /* Hero */
    .hero-container {
        gap: var(--spacing-sm);
    }

    .hero-content {
        gap: var(--spacing-xs);
        width: 100%;
    }

    .buttons-container {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .buttons-container .botao,
    .buttons-container .botao-outline {
        width: 100%;
    }

    .hero-container .botao,
    .hero-container .botao-outline {
        padding: 0.75rem 1rem;
        font-size: var(--text-base);
        white-space: nowrap;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 20rem;
    }

    /* About */
    .about-container {
        margin: var(--spacing-lg) 0.5rem;
        padding: var(--spacing-md);
    }

    .about-image img {
        max-width: 14rem;
    }

    .about-buttons-data .botao,
    .about-buttons-data .botao-outline {
        width: 100%;
        padding: 0.75rem var(--spacing-lg);
        font-size: var(--text-base);
        text-align: center;
    }

    .data-number {
        font-size: var(--text-lg);
    }

    .data-label {
        font-size: var(--text-sm);
    }

    /* Projects */
    .projects-container {
        margin: var(--spacing-lg) auto 0;
    }

    .projects-swiper {
        position: relative;
        margin: 0;
        padding: var(--spacing-sm) 0 2rem 0;
        overflow: visible;
    }

    .project-card {
        width: 100%;
        height: 20rem;
        max-width: 20rem;
    }

    .project-image {
        height: 10rem;
    }

    .project-content {
        padding: var(--spacing-md);
    }

    .project-content h3 {
        font-size: var(--text-lg);
    }

    .project-content p {
        font-size: var(--text-base);
    }

    /* Contact */
    .contact-container {
        width: 100%;
    }

    .contact-info p {
        margin-bottom: var(--spacing-md);
    }

    .social-container {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-xs);
    }

    .social-icon {
        width: 4rem;
        height: 4rem;
    }

    /* Formulário mobile */
    .nome-email {
        flex-direction: column;   /* ← adicionado — campos empilham em telas pequenas */
        gap: var(--spacing-xs);
    }

    form {
        gap: var(--spacing-sm);
    }

    form label {
        font-size: var(--text-base);
    }

    form input,
    form textarea {
        padding: 0.75rem;
        font-size: var(--text-base);
    }

    form button {
        padding: 0.75rem var(--spacing-md);
        font-size: var(--text-base);
    }

    /* Footer */
    footer {
        padding: var(--spacing-md) var(--spacing-sm);
        font-size: var(--text-sm);
    }

    /* Success Page */
    .success-container {
        padding: var(--spacing-lg) var(--spacing-sm);
        min-height: calc(100vh - 8rem);
    }

    .success-content {
        gap: var(--spacing-md);
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .success-icon {
        width: 5rem;
        height: 5rem;
    }

    .success-icon img {
        width: 4rem;
        height: 4rem;
    }

    .success-content .botao {
        width: 100%;
        max-width: 20rem;
        padding: 0.75rem var(--spacing-lg);
    }
}
