/* ==========================================
   PALETA DO CURSO – PADRÕES ESTRUTURAIS GOF
   ========================================== */
:root {
    --blue-main: #2A5C8A;        /* Azul Profissional */
    --orange-main: #E67E22;      /* Laranja Energético */
    --green-main: #27AE60;       /* Verde Equilibrado */
    --purple-main: #8E44AD;      /* Roxo Intelectual */
    --gray-light: #ECF0F1;       /* Fundo */
    --gray-dark: #2C3E50;        /* Texto */
    --border-color: rgba(44, 62, 80, 0.35);

    --text: var(--gray-dark);
    --muted: #6D7A88;

    --content-width: 1120px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 40px rgba(0,0,0,0.15);
}

/* ==========================================
   GLOBAL
   ========================================== */

body {
    background: var(--gray-light);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.3rem;
}

.page {
    min-height: 100vh;
}

/* ==========================================
   HERO
   ========================================== */

.hero {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(
        135deg,
        var(--blue-main) 0%,
        #1C3D66 35%,
        #102A44 80%
    );
    color: white;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-kicker {
    font-size: .9rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: .6rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: .6rem;
}

.hero-title span {
    color: var(--orange-main);
}

.hero-subtitle {
    font-size: 1.08rem;
    max-width: 36rem;
    color: #ECF0F1;
    margin-bottom: 1.2rem;
}

/* Badges */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.4rem;
}

.badge {
    background: rgba(255,255,255,0.15);
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--green-main);
}

/* Hero meta */

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: .5rem;
    font-size: .88rem;
    opacity: .9;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary {
    background: #E67E22;
    color: #fff;
    padding: .95rem 1.6rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: none;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 6px 14px rgba(230, 126, 34, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    padding: .85rem 1.4rem;
    color: white;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    opacity: .9;
    transition: .2s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
}

/* Botão PayPal com cor original (magenta) */
.btn-paypal {
    background: linear-gradient(135deg, #EC4899, #BE185D);
    color: white;
    padding: .85rem 1rem;
    border-radius: 999px;
    display: block;
    text-align: center;
    margin-top: .8rem;
    font-weight: 700;
    transition: .2s;
}

.btn-paypal:hover {
    opacity: .9;
}

/* ==========================================
   HERO CARD
   ========================================== */

.hero-card {
    background: white;
    color: var(--text);
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.hero-card-top {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: .8rem;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* preenche corretamente sem distorcer */
    border-radius: 12px;   /* garante que a imagem também fique arredondada */
    display: block;
}

.hero-card-title {
    font-size: 1rem;
    font-weight: 700;
}

.hero-card-pill {
    background: var(--purple-main);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;

    padding: 0.25rem 0.75rem;
    border-radius: 999px;

    display: inline-block;        /* 👈 IMPORTANTE — evita o alargamento */
    max-width: fit-content;       /* 👈 O texto dita o tamanho */
    white-space: nowrap;          /* 👈 Não quebra em duas linhas */
}

.hero-card-price {
    display: flex;
    gap: .5rem;
    align-items: baseline;
}

.hero-card-old {
    text-decoration: line-through;
    color: var(--muted);
    font-size: .85rem;
}

.hero-card-new {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-main);
}

.hero-card-parcel {
    font-size: .9rem;
    margin: .3rem 0 .8rem 0;
}

.hero-guarantee {
    font-size: .83rem;
    margin-top: 1rem;
    color: var(--text);
}

/* ==========================================
   SECTIONS
   ========================================== */

section {
    padding: 3rem 0;
}

section.alt {
    background: #F7F9FA;
}

.section-header {
    margin-bottom: 2rem;
}

.section-kicker {
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--blue-main);
    font-weight: 600;
    letter-spacing: .07em;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text);
}

.section-subtitle {
    color: var(--muted);
    max-width: 40rem;
    margin-top: .4rem;
}

/* Grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.3rem;
}

/* Cards */

.card {
    background: white;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.card-tag {
    background: var(--purple-main);
    padding: .22rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    color: white;
    display: inline-block;
    margin-bottom: .5rem;
}

/* Two-column layout */

.two-col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
}

/* Checklist */

.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    padding-left: 1.5rem;
    margin-bottom: .4rem;
    position: relative;
}

.list-check li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: .1rem;
    color: var(--green-main);
    font-weight: 700;
}

/* Pills */

.pill {
    background: rgba(42,92,138,0.15);
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    margin: .25rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
}

/* ==========================================
   INSTRUTOR
   ========================================== */

.instructor {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.instructor-meta {
    color: var(--muted);
    font-size: .9rem;
}

.instructor-text {
    color: var(--text);
    font-size: .95rem;
}

/* ==========================================
   FAQ / ENTREGA
   ========================================== */

.delivery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: .8rem;
}

.faq-item h3 {
    margin-bottom: .3rem;
    color: var(--text);
}

.faq-item p {
    color: var(--muted);
    font-size: .9rem;
}

/* ==========================================
   PRICING
   ========================================== */

.pricing-section {
    background: var(--blue-main);
    color: white;
    padding: 3rem 0;
}

.pricing-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.pricing-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.pricing-text {
    font-size: .97rem;
    opacity: .9;
    margin-bottom: 1rem;
}

.pricing-card {
    background: white;
    color: var(--text);
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.pricing-label {
    background: var(--orange-main);
    color: white;
    padding: .25rem .7rem;
    font-size: .75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    display: inline-block;
}

.pricing-values {
    display: flex;
    gap: .5rem;
    align-items: baseline;
}

.pricing-old {
    text-decoration: line-through;
    color: var(--muted);
}

.pricing-new {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--green-main);
}

.pricing-parcel {
    margin-top: .4rem;
    font-size: .9rem;
}

.pricing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1rem;
}

.pricing-badges span {
    background: rgba(42,92,138,0.15);
    color: var(--text);
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .8rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer-gradient {
    background: #1C3D66;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-inner {
    font-size: .9rem;
    opacity: .9;
}

/* ==========================================
   RESPONSIVO
   ========================================== */

@media (max-width: 900px) {

    .hero-inner,
    .two-col,
    .projects-grid,
    .instructor,
    .pricing-inner,
    .delivery-grid,
    .grid-3 {
        grid-template-columns: 1fr !important;
    }

    .hero-card {
        margin-top: 1.5rem;
    }
}
/* Botões do card lateral (mesmo “tamanho visual” do C# Essencial) */
.hero-card .btn-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 260px;      /* largura parecida com o card C# Essencial */
    margin: 0.6rem auto 0; /* centralizado dentro do card */
    padding: 0.7rem 1rem;  /* altura mais baixa */
    font-size: 0.95rem;
    border-radius: 999px;  /* bem “pill” */
}
/* Remove sublinhado de links que são botões */
.btn-primary,
.btn-primary:hover,
.btn-card,
.btn-card:hover,
.btn-paypal,
.btn-paypal:hover {
    text-decoration: none !important;
}
/* Remove qualquer sublinhado de botões */
.btn-primary,
.btn-primary:hover,
.btn-outline,
.btn-outline:hover,
.btn-card,
.btn-card:hover,
.btn-paypal,
.btn-paypal:hover {
    text-decoration: none !important;
}   