/* Aprova Informática — estilos principais */

:root {
    --black: #050505;
    --black-soft: #0d0d0d;
    --surface: #121212;
    --surface-strong: #181818;
    --yellow: #ffd000;
    --yellow-hover: #ffda24;
    --yellow-dark: #e8bd00;
    --white: #ffffff;
    --text: #f7f7f7;
    --muted: #b8bdc7;
    --muted-strong: #d3d6dc;
    --line: rgba(255, 255, 255, 0.11);
    --line-yellow: rgba(255, 208, 0, 0.32);
    --success: #66d99b;
    --ink-on-yellow: #050505;
    --secondary-border: rgba(255, 255, 255, 0.25);
    --subtle-fill: rgba(255, 255, 255, 0.03);
    --subtle-fill-strong: rgba(255, 255, 255, 0.055);
    --header-background: rgba(5, 5, 5, 0.92);
    --panel-border: rgba(255, 255, 255, 0.13);
    --panel-background: linear-gradient(145deg, rgba(24, 24, 24, 0.97), rgba(9, 9, 9, 0.94));
    --floating-background: rgba(13, 13, 13, 0.96);
    --logo-tile-background: linear-gradient(145deg, #242424 0%, #050505 72%);
    --logo-tile-border: rgba(255, 208, 0, 0.46);
    --logo-tile-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 208, 0, 0.12);
    --radius-sm: 0.8rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --container: 74rem;
    --header-height: 4.75rem;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
    --black: #f4f5f7;
    --black-soft: #ffffff;
    --surface: #ffffff;
    --surface-strong: #f1f2f4;
    --yellow: #8c6a00;
    --yellow-hover: #725600;
    --white: #121212;
    --text: #171717;
    --muted: #555b65;
    --muted-strong: #333840;
    --line: rgba(10, 12, 16, 0.13);
    --line-yellow: rgba(184, 144, 0, 0.48);
    --success: #137a45;
    --ink-on-yellow: #ffffff;
    --secondary-border: rgba(10, 12, 16, 0.24);
    --subtle-fill: rgba(10, 12, 16, 0.035);
    --subtle-fill-strong: rgba(10, 12, 16, 0.065);
    --header-background: rgba(255, 255, 255, 0.94);
    --panel-border: rgba(10, 12, 16, 0.14);
    --panel-background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 241, 244, 0.98));
    --floating-background: rgba(255, 255, 255, 0.98);
    --logo-tile-background: linear-gradient(145deg, #242424 0%, #080808 72%);
    --logo-tile-border: rgba(184, 144, 0, 0.58);
    --logo-tile-shadow: 0 12px 28px rgba(25, 28, 34, 0.18), 0 0 22px rgba(184, 144, 0, 0.13);
    --shadow: 0 24px 70px rgba(25, 28, 34, 0.14);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
    margin: 0;
    min-width: 20rem;
    background: var(--black);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 220ms ease, color 220ms ease;
}

body.menu-open,
body.dialog-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

::selection {
    background: var(--yellow);
    color: var(--ink-on-yellow);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    background: var(--yellow);
    color: var(--ink-on-yellow);
    font-weight: 800;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--soft {
    background: var(--black-soft);
}

.section-heading {
    max-width: 48rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4.25rem);
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 1.6rem;
    height: 2px;
    background: currentColor;
    content: "";
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 13ch;
    margin-bottom: 1.35rem;
    font-size: clamp(2.65rem, 6vw, 5.4rem);
    font-weight: 900;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 4.5vw, 3.75rem);
    font-weight: 900;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.accent {
    color: var(--yellow);
}

.lead {
    color: var(--muted);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.button {
    display: inline-flex;
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--yellow);
    color: var(--ink-on-yellow);
    box-shadow: 0 12px 34px rgba(255, 208, 0, 0.2);
}

.button--primary::after {
    position: absolute;
    z-index: -1;
    top: -60%;
    bottom: -60%;
    left: -35%;
    width: 22%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
    content: "";
    pointer-events: none;
    transform: skewX(-22deg);
    animation: button-shine 4.8s ease-in-out infinite;
}

.button--primary:hover {
    background: var(--yellow-hover);
    box-shadow: 0 16px 42px rgba(255, 208, 0, 0.28);
}

.button--secondary {
    border-color: var(--secondary-border);
    background: var(--subtle-fill);
    color: var(--white);
}

.button--secondary:hover {
    border-color: var(--line-yellow);
    background: rgba(255, 208, 0, 0.07);
}

.button svg,
.text-link svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    min-height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
    border-bottom-color: var(--line);
    background: var(--header-background);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 900;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--logo-tile-border);
    border-radius: 1rem;
    background: var(--logo-tile-background);
    box-shadow: var(--logo-tile-shadow);
    animation: logo-float 4.6s ease-in-out infinite;
}

.brand-mark-image {
    display: block;
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 0 0.35rem rgba(255, 208, 0, 0.14));
}

.brand-mark::after {
    position: absolute;
    z-index: -1;
    inset: -0.2rem;
    border: 1px solid var(--line-yellow);
    border-radius: 1.15rem;
    content: "";
    opacity: 0.3;
    animation: logo-halo 2.8s ease-out infinite;
}

.brand-name {
    font-size: 1.02rem;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    min-height: 2.75rem;
    padding: 0.72rem 0.78rem;
    border-radius: 0.65rem;
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover {
    background: var(--subtle-fill-strong);
    color: var(--yellow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.theme-toggle {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    width: 2.85rem;
    height: 2.85rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--surface);
    color: var(--white);
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
    border-color: var(--line-yellow);
    color: var(--yellow);
    transform: translateY(-1px);
}

.theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.35rem;
    height: 1.35rem;
    max-width: none;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: filter 180ms ease, rotate 180ms ease, scale 180ms ease;
}

.theme-toggle:hover svg {
    filter: drop-shadow(0 0 0.35rem rgba(255, 208, 0, 0.62));
    rotate: 14deg;
    scale: 1.06;
}

.theme-toggle .theme-sun-icon {
    display: none;
}

.theme-toggle .theme-moon-icon {
    display: block;
}

html[data-theme="light"] .theme-toggle .theme-sun-icon {
    display: block;
}

html[data-theme="light"] .theme-toggle .theme-moon-icon {
    display: none;
}

.theme-toggle [hidden] {
    display: none !important;
}

.menu-toggle {
    position: relative;
    overflow: hidden;
    display: none;
    width: 2.85rem;
    height: 2.85rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--surface);
    color: var(--white);
    cursor: pointer;
}

.menu-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.45rem;
    height: 1.45rem;
    max-width: none;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.menu-toggle .menu-open-icon {
    display: block;
}

.menu-toggle .menu-close-icon {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-open-icon {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
    display: block;
    animation: menu-icon-in 220ms ease-out both;
}

.menu-toggle [hidden] {
    display: none !important;
}

.mobile-nav {
    padding: 0 0 1rem;
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav-list {
    display: grid;
    gap: 0.3rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.mobile-nav .nav-link {
    display: flex;
    min-height: 3rem;
    align-items: center;
    padding-inline: 1rem;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: min(56rem, 100svh);
    align-items: center;
    overflow: hidden;
    padding-block: calc(var(--header-height) + 4rem) 4.5rem;
    background:
        radial-gradient(circle at 76% 33%, rgba(255, 208, 0, 0.13), transparent 27rem),
        linear-gradient(rgba(255, 208, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 208, 0, 0.025) 1px, transparent 1px),
        var(--black);
    background-size: auto, 3.75rem 3.75rem, 3.75rem 3.75rem, auto;
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 16%;
    right: -8rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255, 208, 0, 0.12);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 6rem rgba(255, 208, 0, 0.018), 0 0 0 12rem rgba(255, 208, 0, 0.012);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.85fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line-yellow);
    border-radius: 999px;
    background: rgba(255, 208, 0, 0.06);
    color: var(--muted-strong);
    font-size: 0.82rem;
    font-weight: 750;
}

.hero-badge-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 0.35rem rgba(255, 208, 0, 0.1);
    animation: status-pulse 2.1s ease-out infinite;
}

.hero-copy .lead {
    max-width: 39rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.3rem;
    margin: 1.6rem 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.87rem;
    list-style: none;
}

.hero-note li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.check-dot {
    display: inline-grid;
    width: 1.1rem;
    height: 1.1rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(102, 217, 155, 0.14);
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 900;
}

.hero-panel-wrap {
    position: relative;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.4rem, 4vw, 2.25rem);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: var(--panel-background);
    box-shadow: var(--shadow), 0 0 80px rgba(255, 208, 0, 0.08);
}

.hero-panel::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    content: "";
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.7rem;
}

.panel-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.9rem;
}

.panel-brand-copy {
    display: grid;
    min-width: 0;
    gap: 0.18rem;
}

.panel-brand-title {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.15;
}

.brand-mark--hero {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 1.35rem;
}

.brand-mark--hero::after {
    border-radius: 1.5rem;
}

.panel-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.panel-chip {
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--line-yellow);
    border-radius: 999px;
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 800;
}

.journey {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.journey-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--subtle-fill);
}

.journey-number {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 0.75rem;
    background: rgba(255, 208, 0, 0.11);
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
}

.journey-copy strong,
.journey-copy span {
    display: block;
}

.journey-copy strong {
    font-size: 0.95rem;
}

.journey-copy span {
    color: var(--muted);
    font-size: 0.78rem;
}

.journey-status {
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 800;
}

.floating-card {
    position: absolute;
    right: -1.2rem;
    bottom: -1.4rem;
    display: flex;
    max-width: 14rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line-yellow);
    border-radius: 1rem;
    background: var(--floating-background);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
    color: var(--muted-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.floating-card svg {
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 auto;
    color: var(--yellow);
}

.trust-strip {
    border-block: 1px solid var(--line);
    background: var(--black-soft);
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 1.15rem 0;
    list-style: none;
}

.trust-list li {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding-inline: 1rem;
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 750;
    text-align: center;
}

.trust-list li + li {
    border-left: 1px solid var(--line);
}

.trust-list svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    color: var(--yellow);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.course-card,
.benefit-card,
.outcome-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.course-card {
    position: relative;
    display: flex;
    min-height: 22rem;
    flex-direction: column;
    overflow: hidden;
    padding: 1.45rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-yellow);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}

.course-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    content: "";
    opacity: 0;
    transition: opacity 180ms ease;
}

.course-card:hover::after {
    opacity: 1;
}

.card-icon {
    position: relative;
    display: grid;
    width: 3.15rem;
    height: 3.15rem;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid var(--line-yellow);
    border-radius: 0.95rem;
    background: rgba(255, 208, 0, 0.08);
    color: var(--yellow);
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.card-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    max-width: none;
    transform-origin: center;
}

.course-card:hover .card-icon,
.benefit-card:hover .card-icon {
    background: rgba(255, 208, 0, 0.14);
    box-shadow: 0 0 1.4rem rgba(255, 208, 0, 0.2);
    transform: translateY(-0.12rem) rotate(-3deg) scale(1.06);
}

.course-card:hover .card-icon svg,
.benefit-card:hover .card-icon svg {
    animation: icon-wiggle 520ms ease-in-out;
}

.course-card p,
.benefit-card p,
.outcome-card p {
    color: var(--muted);
}

.course-card p {
    flex: 1;
}

.course-tag {
    align-self: flex-start;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.58rem;
    border-radius: 999px;
    background: var(--subtle-fill-strong);
    color: var(--muted-strong);
    font-size: 0.72rem;
    font-weight: 800;
}

.text-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--yellow);
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    counter-reset: steps;
}

.method-step {
    position: relative;
    min-height: 15rem;
    padding: 1.5rem;
    border-top: 1px solid var(--line-yellow);
    background: linear-gradient(180deg, rgba(255, 208, 0, 0.06), transparent 75%);
    counter-increment: steps;
}

.method-step::before {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink-on-yellow);
    content: "0" counter(steps);
    font-size: 0.76rem;
    font-weight: 900;
}

.method-step p {
    color: var(--muted);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.benefit-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.45rem;
}

.benefit-card .card-icon {
    width: 2.8rem;
    height: 2.8rem;
    margin: 0;
}

.benefit-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.benefit-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.outcome-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.outcome-intro {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.outcome-intro .lead {
    max-width: 32rem;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.outcome-card {
    padding: 1.5rem;
}

.outcome-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.gallery-intro {
    max-width: 48rem;
}

.gallery-intro .lead {
    max-width: 42rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.gallery-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    color: #ffffff;
    cursor: zoom-in;
    text-align: left;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-card::after {
    position: absolute;
    z-index: 1;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.84));
    content: "";
    pointer-events: none;
}

.gallery-card:hover {
    border-color: var(--line-yellow);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
    transform: translateY(-4px);
}

.gallery-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease;
}

.gallery-card:hover img {
    transform: scale(1.035);
}

.gallery-card span {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 0.9rem;
    left: 1rem;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.35;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.social-proof {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid var(--line-yellow);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 208, 0, 0.15), transparent 18rem),
        linear-gradient(145deg, var(--surface-strong), var(--black-soft));
    box-shadow: var(--shadow);
}

.social-proof-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.social-proof h2 {
    max-width: 15ch;
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.social-proof p {
    max-width: 39rem;
    margin-bottom: 0;
    color: var(--muted);
}

.instagram-mark {
    display: grid;
    width: clamp(6rem, 12vw, 9rem);
    height: clamp(6rem, 12vw, 9rem);
    place-items: center;
    border: 1px solid var(--line-yellow);
    border-radius: 2rem;
    background: var(--yellow);
    color: var(--ink-on-yellow);
    transform: rotate(4deg);
}

.instagram-mark svg {
    width: 48%;
    height: 48%;
}

.social-proof-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.faq-list {
    display: grid;
    max-width: 52rem;
    gap: 0.8rem;
    margin-inline: auto;
}

.faq-item {
    overflow: clip;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
}

.faq-item[open] {
    border-color: var(--line-yellow);
}

.faq-item summary {
    display: flex;
    min-height: 4.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 208, 0, 0.1);
    color: var(--yellow);
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem 1.25rem;
    color: var(--muted);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 7vw, 6rem);
}

.contact-copy .lead {
    max-width: 34rem;
}

.contact-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
    color: var(--muted-strong);
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease;
}

a.contact-item:hover {
    transform: translateX(4px);
    border-color: var(--line-yellow);
}

.contact-icon {
    position: relative;
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    padding: 0.65rem;
    border-radius: 0.8rem;
    background: rgba(255, 208, 0, 0.1);
    color: var(--yellow);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    max-width: none;
    transform-origin: center;
    animation: icon-soft-blink 4.2s ease-in-out infinite;
}

.contact-item:nth-child(2) .contact-icon svg {
    animation-delay: 0.7s;
}

.contact-item:nth-child(3) .contact-icon svg {
    animation-delay: 1.4s;
}

.contact-item:nth-child(4) .contact-icon svg {
    animation-delay: 2.1s;
}

.contact-details {
    min-width: 0;
}

.contact-details strong,
.contact-details span {
    display: block;
}

.contact-details strong {
    color: var(--white);
    font-size: 0.92rem;
}

.contact-details span {
    color: var(--muted);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.contact-card {
    display: grid;
    align-content: center;
    min-height: 100%;
    padding: clamp(1.6rem, 5vw, 3rem);
    border: 1px solid var(--line-yellow);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(150deg, rgba(255, 208, 0, 0.085), transparent 45%),
        var(--surface);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.contact-card p {
    color: var(--muted);
}

.contact-card-actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-honesty {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.site-footer {
    padding-block: 3.2rem 6rem;
    border-top: 1px solid var(--line);
    background: var(--black-soft);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand p {
    max-width: 31rem;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-group h2 {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    letter-spacing: 0;
}

.footer-links {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}

.gallery-dialog {
    width: min(calc(100% - 2rem), 72rem);
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--line-yellow);
    border-radius: var(--radius-lg);
    background: var(--black-soft);
    color: var(--text);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.gallery-dialog::backdrop {
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.gallery-dialog-inner {
    position: relative;
    display: grid;
    gap: 0.85rem;
    overflow: auto;
    max-height: calc(100dvh - 2rem);
    padding: clamp(0.75rem, 2vw, 1.25rem);
}

.gallery-dialog .dialog-close {
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(5, 5, 5, 0.82);
    color: #ffffff;
}

.gallery-dialog figure {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.gallery-dialog-image {
    width: 100%;
    max-height: calc(100dvh - 7rem);
    border-radius: calc(var(--radius-lg) - 0.6rem);
    background: #050505;
    object-fit: contain;
}

.gallery-dialog figcaption {
    padding-inline: 0.35rem 3.2rem;
    color: var(--muted-strong);
    font-size: 0.92rem;
}

.course-dialog {
    width: min(calc(100% - 2rem), 40rem);
    max-height: min(46rem, calc(100dvh - 2rem));
    padding: 0;
    border: 1px solid var(--line-yellow);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.course-dialog::backdrop {
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.dialog-inner {
    position: relative;
    overflow: auto;
    max-height: min(46rem, calc(100dvh - 2rem));
    padding: clamp(1.4rem, 5vw, 2.4rem);
}

.dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--black-soft);
    color: var(--white);
    cursor: pointer;
}

.dialog-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.dialog-kicker {
    margin-bottom: 0.55rem;
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.course-dialog h2 {
    max-width: calc(100% - 3rem);
    font-size: clamp(1.9rem, 5vw, 2.8rem);
}

.dialog-description {
    color: var(--muted);
}

.dialog-list {
    display: grid;
    gap: 0.65rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.dialog-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--muted-strong);
}

.dialog-list li::before {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    place-items: center;
    margin-top: 0.13rem;
    border-radius: 50%;
    background: rgba(102, 217, 155, 0.13);
    color: var(--success);
    content: "✓";
    font-size: 0.75rem;
    font-weight: 900;
}

.dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    display: none;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.48);
    color: var(--ink-on-yellow);
    font-weight: 900;
    text-decoration: none;
}

.mobile-cta svg {
    width: 1.2rem;
    height: 1.2rem;
}

[data-whatsapp] > svg {
    transform-origin: center;
    animation: whatsapp-pulse 2.7s ease-in-out infinite;
}

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

@keyframes logo-halo {
    0% { opacity: 0.45; transform: scale(0.9); }
    72%, 100% { opacity: 0; transform: scale(1.18); }
}

@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 208, 0, 0.42); }
    72%, 100% { box-shadow: 0 0 0 0.55rem rgba(255, 208, 0, 0); }
}

@keyframes icon-soft-blink {
    0%, 70%, 100% { opacity: 1; transform: scale(1); }
    77% { opacity: 0.38; transform: scale(0.9); }
    84% { opacity: 1; transform: scale(1.08); }
    91% { opacity: 0.7; transform: scale(0.98); }
}

@keyframes icon-wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(-9deg) scale(0.93); }
    65% { transform: rotate(8deg) scale(1.1); }
}

@keyframes whatsapp-pulse {
    0%, 64%, 100% { filter: none; transform: scale(1); }
    73% { transform: scale(0.86); }
    82% { filter: drop-shadow(0 0 0.32rem rgba(0, 0, 0, 0.35)); transform: scale(1.16); }
    91% { transform: scale(1); }
}

@keyframes menu-icon-in {
    from { opacity: 0; transform: translate(-50%, -50%) rotate(-70deg) scale(0.72); }
    to { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}

@keyframes button-shine {
    0%, 72% { opacity: 0; transform: translateX(-180%) skewX(-22deg); }
    78% { opacity: 0.5; }
    100% { opacity: 0; transform: translateX(720%) skewX(-22deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(1.4rem);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 67rem) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.88fr;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 50rem) {
    :root {
        --header-height: 4.25rem;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-block: calc(var(--header-height) + 3rem) 4rem;
    }

    .hero-grid,
    .outcome-wrap,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    h1,
    .hero-copy .lead {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-note {
        justify-content: center;
    }

    .hero-panel-wrap {
        width: min(100%, 34rem);
        margin-inline: auto;
    }

    .floating-card {
        right: 0.6rem;
    }

    .trust-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-list li:nth-child(3) {
        border-left: 0;
    }

    .trust-list li:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .outcome-intro {
        position: static;
    }

    .social-proof-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .instagram-mark {
        grid-row: 1;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .mobile-cta {
        display: flex;
    }
}

@media (max-width: 37rem) {
    .container {
        width: min(calc(100% - 1.25rem), var(--container));
    }

    .panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-chip {
        align-self: flex-start;
        margin-left: 5.5rem;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .hero-actions,
    .dialog-actions,
    .social-proof-actions {
        display: grid;
    }

    .hero-actions .button,
    .dialog-actions .button,
    .social-proof-actions .button {
        width: 100%;
    }

    .floating-card {
        position: static;
        max-width: none;
        margin-top: 0.8rem;
    }

    .trust-list,
    .course-grid,
    .method-grid,
    .benefit-grid,
    .outcome-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .trust-list li + li,
    .trust-list li:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .course-card {
        min-height: auto;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 25rem) {
    .site-header .brand-name {
        display: none;
    }

    .header-inner {
        gap: 0.55rem;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .brand-mark,
    .brand-mark::after,
    .hero-badge-dot,
    .contact-icon svg,
    [data-whatsapp] > svg,
    .button--primary::after {
        animation: none !important;
    }
}
