/* ===================================================================
   IRONCORE — Landing page da academia
   Paleta: carvao quase-preto + cobre queimado (ember) + azul-aco
   Tipografia: Oswald (display/condensada) + Inter (texto)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0A0B0E;
    --surface: #14171C;
    --surface-2: #1C2027;
    --surface-3: #21262E;
    --border: #262B33;
    --border-soft: rgba(255,255,255,0.07);
    --text: #F5F4F1;
    --text-muted: #9AA0A8;
    --text-faint: #656B73;
    --accent: #E4602C;       /* cobre/ember */
    --accent-dark: #B94A20;
    --accent-soft: rgba(228,96,44,0.14);
    --accent-2: #5C93A6;     /* azul-aco */
    --accent-2-soft: rgba(92,147,166,0.14);
    --gold: #D9A94E;
    --success: #4CAF7D;
    --danger: #E15C5C;
    --radius: 4px;
    --radius-lg: 8px;
    --max-width: 1180px;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Compensa a altura do header fixo (sticky) ao rolar ate uma ancora,
   para a secao nao ficar escondida atras dele. */
section[id] { scroll-margin-top: 88px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: 0.2px;
}

p { color: var(--text-muted); margin: 0 0 16px; max-width: 62ch; }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head .kicker {
    display: block;
    color: var(--accent-2);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 38px); color: var(--text); }
.section-head p { font-size: 17px; margin-bottom: 0; }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--accent);
    color: #16110C;
}
.btn-primary:hover { background: #ef6c37; }

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }

.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 11, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-links .btn { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 42px;
    height: 42px;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
    padding: 84px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -280px;
    right: -220px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(228,96,44,0.16), transparent 62%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.hero-tag b { color: var(--accent); font-weight: 600; }
.hero h1 {
    font-size: clamp(38px, 5.2vw, 60px);
    color: var(--text);
    margin-bottom: 20px;
}
.hero p.lead {
    font-size: 18px;
    max-width: 48ch;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 26px;
}
.hero-stats .stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text);
}
.hero-stats .stat span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Painel visual do hero: mockup do app de check-in */
.hero-visual { position: relative; }
.app-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    max-width: 380px;
    margin-left: auto;
    box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6);
}
.app-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(160deg, rgba(228,96,44,0.35), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.app-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}
.app-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(76,175,125,0.18);
    flex-shrink: 0;
}
.app-card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.app-card-row b { font-family: var(--font-display); font-size: 22px; color: var(--text); }
.app-card-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
    margin-bottom: 22px;
}
.app-card-bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.app-card-list { list-style: none; margin: 0; padding: 0; }
.app-card-list li {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
}
.app-card-list li:first-child { border-top: none; }
.app-card-list li span { color: var(--text-faint); font-family: var(--font-display); font-size: 13px; }
.app-card-list li em {
    font-style: normal;
    font-size: 12px;
    color: var(--accent-2);
    background: var(--accent-2-soft);
    padding: 4px 9px;
    border-radius: 999px;
    justify-self: end;
}

/* ---------------- Diferenciais ---------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.feature-card {
    background: var(--bg);
    padding: 34px 26px;
}
.feature-card .icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}
.feature-card .icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; margin: 0; }

/* ---------------- Como funciona ---------------- */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}
.step-card { position: relative; padding-top: 8px; }
.step-card .step-number {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--accent);
    border: 1px solid var(--border);
    background: var(--surface);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-card h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.step-card p { font-size: 14.5px; margin: 0; }
.steps-row .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(100% - 12px);
    width: calc(32px - 4px);
    border-top: 1px dashed var(--border);
}

/* ---------------- Planos ---------------- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.plan-card--featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(228,96,44,0.08), var(--surface) 40%);
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--accent);
    color: #16110C;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}
.plan-card h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 4px;
}
.plan-card .plan-desc {
    font-size: 14px;
    margin-bottom: 22px;
}
.plan-price {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--text);
    margin-bottom: 8px;
}
.plan-price small {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.plan-period {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.plan-billing {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.plan-billing--auto { color: var(--accent-2); background: var(--accent-2-soft); }
.plan-billing--single { color: var(--success); background: rgba(76,175,125,0.14); }
.plan-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}
.plan-benefits li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--text);
    padding: 8px 0;
    border-top: 1px solid var(--border);
}
.plan-benefits li:first-child { border-top: none; }
.plan-benefits li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 7px;
    background: var(--accent-2);
}

/* ---------------- Sobre / painel de numeros ---------------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}
.facts-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.facts-item {
    padding: 30px 26px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.facts-item:nth-child(2n) { border-right: none; }
.facts-item:nth-last-child(-n+2) { border-bottom: none; }
.facts-item b {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 6px;
}
.facts-item span { font-size: 13.5px; color: var(--text-muted); }
.about-list { list-style: none; margin: 24px 0 0; padding: 0; }
.about-list li {
    padding: 14px 0;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 14px;
    color: var(--text);
    font-size: 15px;
}
.about-list li:first-child { border-top: none; }
.about-list b { color: var(--accent-2); font-family: var(--font-display); min-width: 92px; }

/* ---------------- Depoimentos ---------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
}
.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-quote {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 24px;
    flex-grow: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--bg);
    flex-shrink: 0;
}
.testimonial-author div b { display: block; font-size: 14.5px; color: var(--text); font-weight: 600; }
.testimonial-author div span { font-size: 12.5px; color: var(--text-muted); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 4px 22px; margin: 0; font-size: 15px; max-width: 68ch; }

/* ---------------- CTA final ---------------- */
.cta-band {
    background: linear-gradient(135deg, var(--surface-3), var(--surface));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin-left: auto; margin-right: auto; font-size: 16px; margin-bottom: 30px; }

/* ---------------- CTA / Checkout ---------------- */
.checkout-box {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.checkout-box h3 { font-size: 22px; margin-bottom: 6px; }
.checkout-box .plan-selected {
    font-size: 14px;
    color: var(--accent-2);
    margin-bottom: 24px;
}

.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent-2);
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-note {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 14px;
}
.form-error {
    background: rgba(225,92,92,0.12);
    border: 1px solid rgba(225,92,92,0.4);
    color: #f2a3a3;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ---------------- Modal de assinatura ---------------- */
body.modal-open { overflow: hidden; }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6, 7, 9, 0.72);
    backdrop-filter: blur(3px);
    padding: 24px;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
}
.modal-overlay.is-open { display: flex; }

.modal-overlay .modal-box {
    position: relative;
    margin: 40px auto;
    width: 100%;
    animation: modal-pop 0.18s ease;
}
@keyframes modal-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { background: var(--border); }

@media (max-width: 640px) {
    .modal-overlay { padding: 12px; }
    .modal-overlay .modal-box { margin: 16px auto; padding: 28px 22px !important; }
}

/* ---------------- Contato / Footer ---------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px 28px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    font-size: 15px;
}
.contact-list li:first-child { border-top: none; }
.contact-list span { display: block; font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }

.site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 40ch; }
.footer-col h4 { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 13px; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 980px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .app-card { margin: 0 auto; }
    .hero::before { display: none; }
    .steps-row { grid-template-columns: 1fr; gap: 36px; }
    .steps-row .step-card::after { display: none; }
    .plans-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 8px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.2s ease; overflow-y: auto; }
    .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
    .nav-links .btn { margin-top: 8px; width: 100%; }
    .nav-toggle { display: block; }
    .section { padding: 72px 0; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .facts-panel { grid-template-columns: 1fr; }
    .facts-item { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
    .facts-item:last-child { border-bottom: none !important; }
    .footer-grid { grid-template-columns: 1fr; padding-bottom: 32px; }
}