:root {
    --navy-950: #061522;
    --navy-900: #081b2c;
    --navy-800: #0d2740;
    --navy-700: #143655;
    --gold-600: #b88a44;
    --gold-500: #caa25d;
    --gold-300: #ead2a5;
    --cream: #f6f0e7;
    --paper: #ffffff;
    --paper-soft: #fbf8f2;
    --ink: #102033;
    --muted: #687586;
    --line: #e8dfd2;
    --danger: #8f1d1d;
    --success: #216a47;
    --warning: #906315;
    --radius: 22px;
    --shadow: 0 22px 60px rgba(6, 21, 34, .12);
    --shadow-soft: 0 14px 36px rgba(6, 21, 34, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-500); }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(6,21,34,.98), rgba(8,27,44,.96));
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(202,162,93,.22);
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 15px; min-width: 250px; }
.brand-logo { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.24)); }
.brand-text strong { display: block; color: #fff8ed; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.05; }
.brand-text small { display: block; color: rgba(234,210,165,.82); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 8px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.main-nav a { color: rgba(255,255,255,.78); padding: 12px 10px; border-radius: 999px; position: relative; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--gold-500); border-radius: 999px; }
.nav-cta, .btn, button.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 20px; border-radius: 0; background: linear-gradient(135deg, #e6c47f, #b88a44); color: var(--navy-950) !important;
    border: 1px solid rgba(234,210,165,.65); font-weight: 900; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem;
    box-shadow: 0 10px 24px rgba(184,138,68,.22); transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-cta { margin-left: 8px; padding: 13px 17px !important; border-radius: 0 !important; }
.nav-cta:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(184,138,68,.28); color: var(--navy-950) !important; }
.btn.secondary { background: transparent; color: #fff8ed !important; border-color: rgba(202,162,93,.55); box-shadow: none; }
.btn.secondary:hover { background: rgba(202,162,93,.12); color: #fff8ed !important; }
.btn.dark { background: var(--navy-900); color: #fff !important; border-color: var(--navy-900); }
.btn.light { background: #fff; color: var(--navy-900) !important; border-color: var(--line); box-shadow: var(--shadow-soft); }
.nav-toggle { display: none; border: 1px solid rgba(202,162,93,.45); background: transparent; color: #fff8ed; font-size: 1.55rem; width: 44px; height: 44px; }

.flash { margin-top: 18px; padding: 14px 16px; border-radius: 15px; background: #eef5ff; border: 1px solid #cfe0ff; }
.flash-success { background: #eefaf4; border-color: #c5ead7; color: var(--success); }
.flash-warning { background: #fff8e8; border-color: #f0d99d; color: var(--warning); }
.flash-danger { background: #fff0f0; border-color: #e8baba; color: var(--danger); }

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 76px;
    color: #fff;
    background:
        radial-gradient(circle at 74% 18%, rgba(202,162,93,.22), transparent 25%),
        linear-gradient(105deg, rgba(6,21,34,.96) 0%, rgba(8,27,44,.94) 48%, rgba(13,39,64,.92) 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: .16;
}
.hero::after {
    content: "";
    position: absolute;
    right: max(-80px, calc((100vw - 1180px) / 2 - 110px));
    bottom: -110px;
    width: min(560px, 52vw);
    aspect-ratio: 1 / 1.18;
    background: url('../img/logo-victor-paulos-white.png') center / contain no-repeat;
    opacity: .12;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,.35));
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr); gap: 54px; align-items: center; }
.hero-panel { max-width: 710px; }
.eyebrow { color: var(--gold-500); text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .78rem; margin-bottom: 14px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; color: var(--ink); }
h1, h2, .display-title { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { color: #fff8ed; font-size: clamp(2.7rem, 6vw, 5.2rem); letter-spacing: -.045em; max-width: 880px; }
h2 { font-size: clamp(2rem, 4vw, 3.18rem); letter-spacing: -.032em; color: var(--navy-900); }
h3 { font-size: 1.24rem; color: var(--navy-900); }
p { margin: 0 0 18px; color: var(--muted); }
.hero p, .hero .lead { color: rgba(255,248,237,.82); }
.lead { font-size: 1.16rem; max-width: 720px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; max-width: 700px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.hero-trust div { padding: 16px; background: rgba(6,21,34,.38); }
.hero-trust strong { display: block; color: #fff8ed; font-size: 1.05rem; }
.hero-trust span { display: block; color: rgba(255,248,237,.66); font-size: .86rem; }
.hero-card {
    position: relative;
    background: rgba(255,248,237,.97);
    border: 1px solid rgba(234,210,165,.5);
    box-shadow: 0 32px 80px rgba(0,0,0,.26);
    padding: 30px;
    border-radius: 0;
    color: var(--ink);
}
.hero-card::before { content: ""; position: absolute; top: 18px; right: 18px; width: 64px; height: 2px; background: var(--gold-500); }
.hero-card .card-logo { width: 124px; height: 124px; object-fit: contain; margin: 0 0 20px; }
.hero-card ul, .check-list { list-style: none; padding: 0; margin: 0; }
.hero-card li, .check-list li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink); }
.hero-card li:last-child, .check-list li:last-child { border-bottom: 0; }
.hero-card li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--gold-600); font-weight: 900; }

.section { padding: 76px 0; }
.section.alt { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff8ed; }
.section.dark p { color: rgba(255,255,255,.72); }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 30px; }
.section-head .copy { max-width: 540px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card, .form-card, .panel {
    background: var(--paper); border: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow-soft);
}
.card { padding: 26px; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: .18s ease; }
.card .icon { width: 48px; height: 48px; border-radius: 0; display: grid; place-items: center; background: linear-gradient(135deg, #fff8eb, #ead2a5); color: var(--gold-600); font-weight: 900; margin-bottom: 16px; border: 1px solid rgba(184,138,68,.22); }
.practice-card { min-height: 224px; }
.practice-card::after { content: "→"; position: absolute; right: 24px; bottom: 18px; color: var(--gold-600); font-size: 1.35rem; }
.value-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.value-card .icon { background: transparent; border-color: rgba(202,162,93,.4); color: var(--gold-500); }
.team-card { padding: 0; overflow: hidden; }
.team-portrait { height: 230px; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); display: grid; place-items: center; color: rgba(255,255,255,.82); font-family: Georgia, "Times New Roman", serif; font-size: 3rem; }
.team-card .team-body { padding: 20px; }
.team-card .muted { color: var(--muted); font-size: .94rem; }

.page-hero {
    padding: 58px 0 34px;
    background: linear-gradient(135deg, #fffaf2, #f2e7d7);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--navy-900); font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero .lead { color: var(--muted); }
.form-card { padding: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; color: var(--navy-900); margin-bottom: 7px; }
input, select, textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 13px 14px;
    font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(202,162,93,.25); border-color: var(--gold-500); }
textarea { min-height: 132px; resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.checkbox input { width: auto; margin-top: 5px; }

.client-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; padding: 46px 0 70px; }
.client-sidebar { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; border-radius: 0; padding: 20px; align-self: start; position: sticky; top: 112px; box-shadow: var(--shadow); border: 1px solid rgba(202,162,93,.22); }
.client-sidebar h3 { color: #fff8ed; font-size: 1.05rem; }
.client-sidebar p { color: rgba(255,255,255,.72); font-size: .9rem; }
.client-sidebar a { display: block; padding: 11px 12px; color: rgba(255,255,255,.88); margin: 3px 0; border-left: 2px solid transparent; }
.client-sidebar a:hover, .client-sidebar a.active { background: rgba(255,255,255,.08); color: #fff; border-left-color: var(--gold-500); }
.panel { padding: 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: #fffaf2; border: 1px solid var(--line); padding: 18px; }
.stat strong { display: block; font-size: 1.7rem; color: var(--navy-900); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; overflow: hidden; }
th, td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy-900); background: #fffaf2; font-size: .9rem; }
.badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #f4ead8; color: #8a6123; font-size: .82rem; font-weight: 800; }
.notice { padding: 16px; border: 1px dashed var(--gold-600); background: #fffaf2; color: var(--navy-900); }
.small { font-size: .9rem; color: var(--muted); }

.site-footer { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; margin-top: 0; border-top: 1px solid rgba(202,162,93,.26); }
.site-footer p, .site-footer a { color: rgba(255,255,255,.75); }
.site-footer h3, .site-footer h4 { color: #fff8ed; }
.site-footer h4 { margin-top: 0; letter-spacing: .1em; text-transform: uppercase; font-size: .86rem; color: var(--gold-300); }
.site-footer span { color: var(--gold-300); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .9fr; gap: 42px; padding: 50px 0; }
.footer-brand img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 18px; }
.footer-cta { display: inline-flex; margin-top: 12px; color: var(--navy-950) !important; background: linear-gradient(135deg, #e6c47f, #b88a44); padding: 12px 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 17px 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

@media (max-width: 980px) {
    .nav-toggle { display: grid; place-items: center; }
    .main-nav { display: none; position: absolute; top: 92px; left: 18px; right: 18px; background: var(--navy-950); border: 1px solid rgba(202,162,93,.35); padding: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; }
    .nav-cta { margin-left: 0; }
    .hero-grid, .grid-4, .grid-3, .grid-2, .form-grid, .client-layout, .footer-grid { grid-template-columns: 1fr; }
    .hero-trust, .stat-grid { grid-template-columns: 1fr; }
    .client-sidebar { position: static; }
    .section-head { display: block; }
}
@media (max-width: 620px) {
    .brand-logo { width: 58px; height: 58px; }
    .brand-text strong { font-size: .9rem; }
    .brand-text small { font-size: .62rem; }
    .header-inner { min-height: 78px; }
    .main-nav { top: 78px; }
    .hero { padding: 62px 0 56px; }
    .section { padding: 54px 0; }
    .hero-card { padding: 24px; }
}
