/* === VARIABLES === */
:root {
    --blue-950: #050e1d;
    --blue-900: #0a1628;
    --blue-800: #0f2b5b;
    --blue-700: #1a3f7c;
    --blue-600: #1d4ed8;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-200: #93c5fd;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;
    --silver-500: #64748b;
    --silver-400: #94a3b8;
    --silver-300: #cbd5e1;
    --silver-200: #e2e8f0;
    --silver-100: #f1f5f9;
    --silver-50:  #f8fafc;
    --white: #ffffff;
    --text: #1e293b;
    --text-light: #475569;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow:    0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.15);
    --shadow-blue: 0 4px 20px rgba(37,99,235,.30);

    --radius:    12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: .25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* === CONTAINER === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ================================================================
   NAVBAR
================================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition);
}
.nav--scrolled {
    background: rgba(10,22,40,.97);
    backdrop-filter: blur(12px);
    padding: .875rem 2rem;
    box-shadow: 0 1px 0 rgba(255,255,255,.05), var(--shadow);
}
.nav__logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -.02em;
}
.nav__logo span { color: var(--blue-300); }
.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav__links a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
    letter-spacing: .02em;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
    background: var(--blue-500) !important;
    color: var(--white) !important;
    padding: .5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}
.nav__cta:hover { background: var(--blue-600) !important; }
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    line-height: 1;
}
.btn--primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,.45);
}
.btn--outline {
    background: transparent;
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.25);
}
.btn--outline:hover {
    border-color: rgba(255,255,255,.6);
    color: var(--white);
    transform: translateY(-2px);
}
.btn--whatsapp {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37,211,102,.35);
    font-size: 1.05rem;
    padding: 1rem 2rem;
}
.btn--whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,.45);
}
.btn--email {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.3);
    font-size: 1.05rem;
    padding: 1rem 2rem;
}
.btn--email:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-2px);
}

/* ================================================================
   SECTION BASE
================================================================ */
.section { position: relative; padding: 5rem 0; }
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__tag {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue-600);
    padding: .35rem 1rem;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section__tag--light {
    background: rgba(255,255,255,.12);
    color: var(--blue-200);
    border: 1px solid rgba(255,255,255,.2);
}
.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .75rem;
}
.section__title--light { color: var(--white); }
.section__subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 1rem; }
.section__desc { color: var(--text-light); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.section__desc--light { color: var(--silver-300); }

/* ================================================================
   HERO
================================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #050e1d 0%, #0a1628 30%, #0f2b5b 60%, #1a4080 85%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 7rem 0 6rem;
}
.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59,130,246,.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(148,163,184,.07) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234b5e7e' fill-opacity='0.09'%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(59,130,246,.15);
    border: 1px solid rgba(59,130,246,.35);
    color: var(--blue-300);
    padding: .4rem 1.1rem;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero__tag::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--blue-300);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
.hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    letter-spacing: -.03em;
    margin-bottom: 1.25rem;
}
.hero__title span { color: var(--blue-300); }
.hero__subtitle {
    font-size: 1.15rem;
    color: var(--silver-300);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero__stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.hero__stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--blue-300);
    letter-spacing: -.02em;
    line-height: 1;
}
.hero__stat-label {
    font-size: .82rem;
    color: var(--silver-400);
    margin-top: .3rem;
}
.hero__visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__circle-bg {
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,78,216,.18) 0%, rgba(59,130,246,.05) 60%, transparent 70%);
    border: 1px solid rgba(59,130,246,.15);
    position: absolute;
}
.hero__card-float { position: absolute; animation: float 3s ease-in-out infinite; }
.hero__card-float--1 { top: 8%;  left: 0%;  animation-delay: 0s; }
.hero__card-float--2 { top: 8%;  right: 0%; animation-delay: .75s; }
.hero__card-float--3 { bottom: 12%; left: 0%;  animation-delay: 1.5s; }
.hero__card-float--4 { bottom: 12%; right: 0%; animation-delay: 2.25s; }
.float-card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: .875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.float-card__icon { font-size: 1.4rem; }
.float-card__text { font-size: .85rem; font-weight: 600; color: var(--white); }
.hero__wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
}
.hero__wave svg { width: 100%; display: block; }

/* ================================================================
   SOBRE
================================================================ */
.sobre { background: var(--silver-50); padding-bottom: 8rem; }
.sobre__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.sobre__content .section__title { text-align: left; margin-bottom: .5rem; }
.sobre__content .section__tag  { display: block; text-align: left; }
.sobre__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-light);
    font-size: 1.025rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}
.sobre__text strong { color: var(--text); font-weight: 700; }
.sobre__badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge {
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
    padding: .35rem .875rem;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
}
.sobre__photo-area { position: relative; }
.sobre__photo { position: relative; padding: 1.5rem; }
.sobre__photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--silver-200), var(--silver-100));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--silver-400);
    border: 2px dashed var(--silver-300);
    font-size: .9rem;
    font-weight: 500;
}
.sobre__photo-img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.sobre__photo-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: .875rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .875rem;
    border-left: 3px solid var(--blue-500);
    min-width: 170px;
}
.sobre__photo-card--1 { top: 0;    right: -10px; }
.sobre__photo-card--2 { bottom: 5px; left: -10px; }
.sobre__photo-card svg { color: var(--blue-500); flex-shrink: 0; }
.sobre__photo-card strong { display: block; font-size: .92rem; font-weight: 700; color: var(--text); }
.sobre__photo-card span   { font-size: .8rem; color: var(--text-light); }
.sobre__wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
}
.sobre__wave svg { width: 100%; display: block; }

/* ================================================================
   SERVIÇOS
================================================================ */
.servicos {
    background: linear-gradient(160deg, #0a1628 0%, #0f2b5b 50%, #1a3f7c 100%);
    padding-bottom: 8rem;
}
.servicos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.servico-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.servico-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    opacity: 0;
    transition: opacity var(--transition);
}
.servico-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(59,130,246,.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.servico-card:hover::before { opacity: 1; }
.servico-card--featured {
    background: rgba(37,99,235,.15);
    border-color: rgba(59,130,246,.35);
}
.servico-card--featured::before { opacity: 1; }
.servico-card__badge {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    background: var(--blue-500);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 100px;
    letter-spacing: .03em;
}
.servico-card__icon {
    width: 60px; height: 60px;
    background: rgba(59,130,246,.15);
    border: 1px solid rgba(59,130,246,.25);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-300);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.servico-card:hover .servico-card__icon {
    background: rgba(59,130,246,.25);
    border-color: rgba(59,130,246,.5);
}
.servico-card__title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.servico-card__desc { font-size: .95rem; color: var(--silver-300); line-height: 1.7; margin-bottom: 1.5rem; }
.servico-card__entrega {
    background: rgba(0,0,0,.15);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    border-left: 3px solid rgba(59,130,246,.5);
}
.servico-card__entrega-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--blue-300);
    margin-bottom: .6rem;
}
.servico-card__entrega ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.servico-card__entrega ul li {
    font-size: .88rem;
    color: var(--silver-300);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.servico-card__entrega ul li::before { content: '✓'; color: var(--blue-400); font-weight: 700; }
.servicos__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.servicos__wave svg { width: 100%; display: block; }

/* ================================================================
   COMO FUNCIONA
================================================================ */
.como-funciona { background: var(--silver-50); padding: 5.5rem 0 6rem; }
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300), var(--blue-500));
    opacity: .2;
}
.step { text-align: center; padding: 0 1.25rem; }
.step__number {
    font-size: .72rem;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: .12em;
    margin-bottom: .75rem;
    display: block;
    text-transform: uppercase;
}
.step__icon {
    width: 56px; height: 56px;
    background: var(--white);
    border: 2px solid var(--blue-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-blue);
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}
.step:hover .step__icon {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
    transform: scale(1.1);
}
.step__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.step__desc { font-size: .9rem; color: var(--text-light); line-height: 1.65; }

/* ================================================================
   CONTATO
================================================================ */
.contato {
    background: linear-gradient(135deg, #050e1d 0%, #0a1628 40%, #0f2b5b 100%);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}
.contato__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.2) 0%, transparent 60%);
}
.contato__content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.contato__desc { font-size: 1.15rem; color: var(--silver-300); margin: 1rem 0 2.5rem; line-height: 1.7; }
.contato__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.contato__info { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.contato__info-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--silver-400);
    font-size: .95rem;
}
.contato__info-item svg { color: var(--blue-400); flex-shrink: 0; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
    background: #050e1d;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 2rem 0;
}
.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer__logo { font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.footer__logo span { color: var(--blue-300); }
.footer__copy { font-size: .85rem; color: var(--silver-500); }
.footer__nav { display: flex; gap: 1.5rem; }
.footer__nav a { font-size: .85rem; color: var(--silver-500); text-decoration: none; transition: color var(--transition); }
.footer__nav a:hover { color: var(--silver-300); }

/* ================================================================
   FAB
================================================================ */
.fab {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 56px; height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.85); }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
    .hero__container { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .sobre__grid { grid-template-columns: 1fr; gap: 2rem; }
    .sobre__photo-area { order: -1; }
    .sobre__photo { padding: 0; display: flex; justify-content: center; }
    .sobre__photo-img {
        width: 220px;
        height: 280px;
        max-width: 220px;
        border-radius: 24px;
        object-fit: cover;
        object-position: center 22%;
    }
    .sobre__photo-card { display: none; }
    .servicos__grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .steps::before { display: none; }
    .nav__links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10,22,40,.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }
    .nav__links--open { display: flex; }
    .nav__links a { font-size: 1.25rem; }
    .nav__toggle { display: flex; }
    .footer__content { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .hero__stats { flex-direction: column; gap: 1rem; }
    .hero__actions { flex-direction: column; }
    .contato__actions { flex-direction: column; align-items: center; }
}
