/* ================================================
   LP MELKIS ISMAEL CARDOSO — v2
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --bg:         #050c16;
    --bg-card:    #0a1628;
    --bg-mid:     #0d1e35;
    --gold:       #c5a059;
    --gold-light: #dfc07a;
    --gold-dim:   rgba(197,160,89,0.12);
    --white:      #ffffff;
    --text:       #d4d8e0;
    --muted:      #7a8494;
    --border:     rgba(197,160,89,0.18);
    --transition: all 0.35s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; color: var(--white); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ================================
   HEADER
================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: var(--transition);
}
header.scrolled {
    background: rgba(5,12,22,0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-wrap img { height: 40px; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--bg);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}
.header-cta:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(197,160,89,0.3); }

/* ================================
   HERO — DESKTOP: foto à direita
================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 90% at 65% 50%, rgba(197,160,89,0.05) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

/* Coluna esquerda — texto */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px 0;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.hero h1 {
    font-size: clamp(2.6rem, 3.8vw, 4rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.15;
}
.hero h1 strong { font-weight: 700; display: block; }

.hero-oab { display: flex; gap: 8px; margin: 18px 0 26px; flex-wrap: wrap; }
.oab-badge {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--gold);
    background: var(--gold-dim);
}

.hero-desc {
    font-size: 1rem;
    color: var(--text);
    max-width: 460px;
    line-height: 1.85;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Coluna direita — foto */
.hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: brightness(0.88);
}

/* Gradiente sobre a foto */
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--bg) 0%,
        transparent 30%
    ),
    linear-gradient(
        to top,
        var(--bg) 0%,
        transparent 25%
    );
    pointer-events: none;
}

/* Badge 15+ flutuante — oculto no desktop, visível no mobile */
.exp-badge {
    display: none;
    position: absolute;
    bottom: 48px;
    left: 32px;
    background: var(--gold);
    color: var(--bg);
    padding: 20px 28px;
    border-radius: 6px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.exp-badge .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.exp-badge .label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

/* Linha divisória vertical decorativa */
.hero-divider {
    position: absolute;
    left: 50%;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.25;
    z-index: 2;
    pointer-events: none;
}

/* ================================
   STATS BAR — redesenhada
================================ */
.stats-bar {
    position: relative;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 44px 28px;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    cursor: default;
}
.stat-item:last-child { border-right: none; }

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}
.stat-item:hover::before { width: 60%; }
.stat-item:hover { background: rgba(197,160,89,0.04); }

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
    letter-spacing: -1px;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 300;
    vertical-align: super;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    display: block;
    line-height: 1.5;
}

.stat-sub {
    font-size: 0.7rem;
    color: rgba(197,160,89,0.5);
    display: block;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ================================
   SEÇÕES GERAIS
================================ */
.section { padding: 100px 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

.section-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 44px; height: 2px;
    background: var(--gold);
}
.section-title.centered { text-align: center; }
.section-title.centered::after { left: 50%; transform: translateX(-50%); }

/* SOBRE */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.sobre-text p {
    font-size: 0.98rem;
    color: var(--text);
    margin-bottom: 18px;
    font-weight: 300;
    line-height: 1.9;
}
.sobre-text p:last-child { margin-bottom: 0; }

/* Card lateral */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.contact-card-watermark {
    position: absolute;
    bottom: -10px; right: -10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 7rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.03;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 8px;
}
.contact-card h3 em { font-style: italic; color: var(--gold); }
.contact-card .sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.info-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.info-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.info-text {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.6;
}

/* ESPECIALIZAÇÕES */
.specs-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 56px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.spec-card {
    background: var(--bg-card);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.spec-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.spec-card:hover { background: var(--bg-mid); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 14px;
}
.spec-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 10px;
}
.spec-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

/* FORMAÇÃO */
.formacao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 56px;
}

.formacao-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: var(--transition);
}
.formacao-item:hover {
    border-color: rgba(197,160,89,0.4);
    background: var(--bg-mid);
    transform: translateX(4px);
}
.formacao-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 7px;
}
.formacao-item span { font-size: 0.9rem; color: var(--text); line-height: 1.5; }

/* INSTITUCIONAL */
.institucional-section { background: var(--bg-mid); }

.institucional-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.inst-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.inst-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}
.inst-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); border-color: rgba(197,160,89,0.35); }
.inst-card:hover::after { opacity: 1; }
.inst-card h3 { font-size: 1.05rem; font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.inst-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.7; }

/* BOTÕES */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px;
    background: var(--gold); color: var(--bg);
    font-weight: 600; font-size: 0.9rem;
    border-radius: 4px; transition: var(--transition);
    border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(197,160,89,0.3); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--gold); color: var(--gold);
    font-weight: 500; font-size: 0.9rem;
    border-radius: 4px; transition: var(--transition);
    background: transparent;
}
.btn-outline:hover { background: var(--gold-dim); transform: translateY(-2px); }

.btn-wa {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: #25d366; color: #fff;
    font-weight: 600; font-size: 0.9rem;
    border-radius: 4px; transition: var(--transition);
    border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.3); }

/* CTA FINAL */
.cta-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-mid) 100%);
    border-top: 1px solid var(--border);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: 'MC';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18rem; font-weight: 700;
    color: var(--white); opacity: 0.018;
    pointer-events: none; line-height: 1;
    white-space: nowrap;
}
.cta-section h2 { font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 300; margin-bottom: 14px; }
.cta-section h2 em { font-style: italic; color: var(--gold); }
.cta-section > .container > p { font-size: 0.98rem; color: var(--muted); max-width: 480px; margin: 0 auto 44px; }

/* FORMULÁRIO */
.form-wrap {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group-lp { display: flex; flex-direction: column; gap: 7px; margin-bottom: 0; }
.form-group-lp label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
}
.form-group-lp input,
.form-group-lp textarea {
    background: rgba(10,22,40,0.8);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    resize: none;
    width: 100%;
}
.form-group-lp input:focus,
.form-group-lp textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-mid);
}
.form-group-lp input::placeholder,
.form-group-lp textarea::placeholder { color: var(--muted); }

.form-full { margin-bottom: 16px; }
.form-submit-wrap { margin-top: 8px; }

/* FOOTER */
footer {
    background: #020508;
    border-top: 1px solid var(--border);
    padding: 52px 0 24px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
footer h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 16px;
}
.footer-logo { height: 36px; margin-bottom: 14px; }
.footer-about p { font-size: 0.86rem; color: var(--muted); line-height: 1.7; max-width: 310px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.86rem; color: var(--muted); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact p { font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.footer-contact strong { color: var(--text); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 0.76rem; color: var(--muted); }

/* WHATSAPP FLOAT */
.wpp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 999; transition: var(--transition);
}
.wpp-float:hover { transform: scale(1.1); }
.wpp-float img { width: 30px; }

/* ANIMAÇÕES */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ================================
   RESPONSIVO
================================ */

/* Tablet */
@media (max-width: 1024px) {
    /* HERO: empilha verticalmente — foto acima, texto abaixo */
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
    }

    .hero-divider { display: none; }

    /* Foto vai primeiro */
    .hero-photo {
        order: -1;
        min-height: 60vw;
        max-height: 520px;
    }
    .hero-photo img { height: 100%; object-position: top center; }

    /* Badge aparece no tablet/mobile */
    .exp-badge { display: block; }

    /* Gradiente lateral some, fica só o de baixo */
    .hero-photo::after {
        background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
    }

    .exp-badge {
        bottom: 24px;
        left: 24px;
        padding: 16px 22px;
    }
    .exp-badge .num { font-size: 2.4rem; }

    /* Texto hero */
    .hero-text {
        padding: 48px 0 64px;
        text-align: center;
        align-items: center;
    }
    .hero-eyebrow { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-oab { justify-content: center; }
    .hero-actions { justify-content: center; }

    /* Stats: 2x2 */
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }

    /* Sobre empilha */
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Specs 2 col */
    .specs-grid { grid-template-columns: 1fr 1fr; }

    /* Institucional 2 col */
    .institucional-cards { grid-template-columns: 1fr 1fr; }

    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    .section { padding: 64px 0; }

    /* Hero foto menor em mobile */
    .hero-photo { max-height: 420px; }

    .hero-text { padding: 36px 0 56px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { text-align: center; justify-content: center; }

    /* Stats: 1 coluna */
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 28px 16px; }
    .stat-num { font-size: 2.8rem; }

    /* Specs 1 col */
    .specs-grid { grid-template-columns: 1fr; }

    /* Formação 1 col */
    .formacao-grid { grid-template-columns: 1fr; }

    /* Institucional 1 col */
    .institucional-cards { grid-template-columns: 1fr; }

    /* Formulário 1 col */
    .form-row { grid-template-columns: 1fr; }

    /* Header */
    .header-cta span { display: none; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* CTA watermark menor */
    .cta-section::before { font-size: 8rem; }
}

@media (max-width: 480px) {
    .hero-photo { max-height: 360px; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-item:nth-child(3) { border-bottom: none; }
    .stat-item:nth-child(4) { border-bottom: none; }
}
