/* ==========================================
   ITP - Instituto Técnico Paulista 2
   Pixel-Perfect Replica — CSS
   ========================================== */

:root {
    --color-primary: #001c5d;
    --color-accent: #0096cf;
    --color-cta: #001c5d;
    --color-white: #ffffff;
    --color-text: #212121;
    --color-text-light: #747474;
    --color-titles: #111112;
    --color-bg-light: #f9f9f9;
    --color-border: #e5e5e5;
    --color-footer-bg: #f9f9f9;
    --color-footer-text: #747474;
    --color-footer-titles: #202020;
    --color-newsletter-bg: #FAEAEA;
    --color-form-bg: #0096cf;
    --color-green: #2ecc71;
    --gradient: linear-gradient(135deg, #001c5d 0%, #0096cf 100%);
    --radius: 5px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.2s ease;
    --font: 'Poppins', sans-serif;
    --max-width: 1220px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text); background: var(--color-white); line-height: 1.6; overflow-x: hidden; font-size: 14px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 24px; border-radius: var(--radius); font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
    border: 2px solid transparent; transition: var(--transition); cursor: pointer;
    font-family: var(--font);
}
.btn--primary { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.btn--primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.btn--accent:hover { opacity: 0.9; transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--outline-white:hover { background: var(--color-white); color: var(--color-primary); }
.btn--full { width: 100%; }
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--cta { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); font-size: 15px; font-weight: 600; padding: 7px 23px; }
.btn--cta:hover { opacity: 0.9; }

/* ==========================================
   Section Headers
   ========================================== */
.section-header { text-align: left; margin-bottom: 20px; padding-bottom: 10px; }
.section-title { font-size: 25px; font-weight: 700; color: var(--color-text); margin-bottom: 4px; }
.section-subtitle { font-size: 14px; color: var(--color-text-light); font-weight: 400; }

/* ==========================================
   TOP BAR (5.1)
   ========================================== */
.topbar {
    background: var(--color-bg-light); padding: 9px 0; font-size: 14px;
    color: var(--color-text);
}
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
}
.topbar__left a {
    display: flex; align-items: center; gap: 6px; color: var(--color-text);
    font-size: 13px;
}
.topbar__left a:hover { color: var(--color-accent); }
.topbar__center { display: flex; align-items: center; }
.topbar__socials { display: flex; gap: 6px; }
.topbar__socials a {
    width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent);
    color: var(--color-white); display: flex; align-items: center; justify-content: center;
    font-size: 13px; transition: var(--transition);
}
.topbar__socials a:hover { background: var(--color-primary); }
.topbar__right { display: flex; align-items: center; gap: 8px; }
.topbar__btn {
    padding: 8px 20px; border-radius: 50px; font-size: 13px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 5px;
    transition: var(--transition); color: var(--color-white); border: none;
}
.topbar__btn--outline {
    background: var(--color-accent); color: var(--color-white);
}
.topbar__btn--outline:hover { opacity: 0.9; }
.topbar__btn--solid {
    background: var(--color-primary); color: var(--color-white);
}
.topbar__btn--solid:hover { opacity: 0.9; }

/* ==========================================
   HEADER / NAVBAR (5.2)
   ========================================== */
.header {
    position: sticky; top: 0; z-index: 1000; background: var(--color-white);
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 80px; gap: 20px;
}
.header__logo a { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    font-size: 26px; font-weight: 900; color: var(--color-primary);
    line-height: 1;
}
.logo-name {
    font-size: 10px; font-weight: 700; color: var(--color-primary);
    line-height: 1.3; text-transform: uppercase; letter-spacing: 0.3px;
}
.header__logo img { height: 48px; width: auto; }
.header__menu { display: flex; gap: 20px; align-items: center; }
.header__menu a {
    font-weight: 600; font-size: 14px; color: var(--color-titles);
    padding: 5px 0; position: relative; white-space: nowrap;
}
.header__menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--color-accent); transition: var(--transition);
}
.header__menu a:hover::after, .header__menu a.active::after { width: 100%; }
.header__menu a:hover, .header__menu a.active { color: var(--color-accent); }
.header__icons { display: flex; align-items: center; gap: 10px; }
.header__icon {
    display: flex; align-items: center;
    justify-content: center; font-size: 26px; color: var(--color-primary);
    transition: var(--transition); position: relative;
}
.header__icon:hover { color: var(--color-accent); }
.header__badge {
    position: absolute; top: 0; right: 0; min-width: 16px; height: 16px;
    border-radius: 50%; background: var(--color-accent); color: var(--color-white);
    font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.header__toggle { display: none; font-size: 24px; cursor: pointer; color: var(--color-primary); }
.header__nav-close {
    display: none; position: absolute; top: 20px; right: 20px;
    font-size: 24px; cursor: pointer; color: var(--color-primary);
}

/* ==========================================
   HERO BANNER (5.3)
   ========================================== */
.hero { width: 100%; overflow: hidden; line-height: 0; }
.hero img { width: 100%; height: auto; display: block; }

/* ==========================================
   CARDS VÍDEO/LINKS (5.4)
   ========================================== */
.cards-section { padding: 30px 0; }
.cards-grid {
    display: flex; flex-wrap: wrap; gap: 15px;
}
.vcard {
    border-radius: 0; overflow: hidden; padding: 24px;
    display: flex; flex-direction: column; justify-content: flex-end;
    height: 270px; position: relative; transition: var(--transition);
    color: var(--color-white); background-size: cover; background-position: center;
}
.vcard:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.vcard--video {
    flex: 0 0 calc(50% - 15px); justify-content: center; align-items: center; text-align: center;
    background: var(--color-primary);
}
.vcard--half {
    flex: 0 0 calc(25% - 7.5px);
}
.vcard--quarter {
    flex: 0 0 calc(25% - 11.25px);
}
.vcard__play { font-size: 48px; margin-bottom: 8px; opacity: 0.9; }
.vcard__caption { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.vcard__link { font-size: 12px; color: #ff4444; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.vcard h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.vcard h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.vcard p { font-size: 12px; opacity: 0.8; margin-bottom: 8px; }
.vcard__btn {
    display: inline-block; padding: 5px 14px; border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius); font-size: 11px; font-weight: 700; text-transform: uppercase;
    color: var(--color-white); transition: var(--transition); margin-top: auto; align-self: flex-start;
}
.vcard__btn:hover { background: var(--color-white); color: var(--color-primary); }
.vcard__icon { font-size: 36px; margin-bottom: 8px; }
.vcard__phone-big { font-size: 16px; font-weight: 800; opacity: 1; }

/* ==========================================
   CURSOS ESPECIALIZADOS (5.5)
   ========================================== */
.cursos-esp { padding: 50px 0; }
.cursos-esp__swiper { padding-bottom: 10px; }
.curso-esp-card {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    position: relative; transition: var(--transition); height: 100%;
}
.curso-esp-card:hover { box-shadow: var(--shadow-hover); }
.curso-esp-card__image {
    width: 100%; min-height: 350px; background-size: cover; background-position: center top;
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 20px 20px 80px;
}
.curso-esp-card__badge {
    position: absolute; top: 12px; left: 12px; background: var(--color-white);
    color: var(--color-primary); padding: 6px 14px; border-radius: var(--radius);
    font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 4px;
    z-index: 2;
}
.curso-esp-card__content {
    padding: 0; display: flex; flex-direction: column; justify-content: flex-end;
    position: relative; z-index: 2;
}
.curso-esp-card__content h3 {
    font-size: 22px; font-weight: 800; color: var(--color-white); margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
    line-height: 1.2;
}
.curso-esp-card__price {
    font-size: 16px; font-weight: 600; color: var(--color-white); display: block;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.curso-esp-card__seals { display: none; }
.curso-esp-card__arrow {
    position: absolute; bottom: 20px; left: 20px; width: 48px; height: 48px;
    border-radius: 50%; background: rgba(0,200,220,0.35); color: var(--color-white);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    transition: var(--transition); z-index: 2; border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}
.curso-esp-card__arrow:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* Swiper overrides */
.swiper-button-prev, .swiper-button-next {
    color: var(--color-accent); width: 40px; height: 40px;
    background: var(--color-white); border-radius: 50%; box-shadow: var(--shadow);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; font-weight: 900; }
.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--color-accent); color: var(--color-white); }

/* ==========================================
   ESTATÍSTICAS (5.6)
   ========================================== */
.stats { background: var(--color-primary); padding: 50px 0; color: var(--color-white); }
.stats__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.stats__text h2 { font-size: 25px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.stats__text p { font-size: 14px; opacity: 0.7; margin-bottom: 20px; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats__card {
    background: rgba(255,255,255,0.06);
    padding: 25px; border-radius: 10px; text-align: center;
    border: 1px solid rgba(255,255,255,0.08); transition: var(--transition);
}
.stats__card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.stats__card i { font-size: 24px; color: var(--color-accent); display: block; margin-bottom: 6px; }
.stats__number { font-size: 28px; font-weight: 900; display: block; margin-bottom: 2px; }
.stats__label { font-size: 12px; opacity: 0.6; }

/* ==========================================
   NOVIDADES (5.7)
   ========================================== */
.novidades { padding: 30px 0; }
.novidades__inner { display: flex; gap: 15px; align-items: center; }
.novidades__text { width: 400px; min-width: 300px; flex-shrink: 0; }
.novidades__text h2 { font-size: 25px; font-weight: 700; color: var(--color-text); line-height: 1.3; padding-right: 75px; }
.novidades__carousel { flex: 1; min-width: 0; }
.novidade-card {
    border-radius: var(--radius); overflow: hidden; position: relative; height: 500px;
}
.novidade-card img { width: 100%; height: 100%; object-fit: cover; }
.novidade-card__overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,28,93,0.85));
    padding: 20px; color: var(--color-white);
}
.novidade-card__overlay h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.novidade-card__overlay p { font-size: 12px; opacity: 0.8; margin-bottom: 8px; }

/* ==========================================
   INSTITUIÇÕES (5.8)
   ========================================== */
.instituicoes { padding: 50px 0; background: var(--color-white); }
.inst-logo {
    display: flex; align-items: center; gap: 10px; justify-content: center;
    padding: 16px; background: var(--color-bg-light); border-radius: var(--radius);
    font-size: 13px; font-weight: 700; color: var(--color-primary);
}
.inst-logo .logo-icon { font-size: 20px; }
.instituicoes__cta { text-align: center; margin-top: 25px; }

/* ==========================================
   FORMULÁRIO DE CONTATO (5.9)
   ========================================== */
.form-section { background: transparent; padding: 50px 0; overflow: hidden; }
.form-section__inner { display: flex; min-height: 400px; gap: 0; }
.form-section__left {
    background: var(--color-form-bg); padding: 55px 35px; color: var(--color-white);
    display: flex; flex-direction: column; justify-content: center;
    border-radius: 0; width: 40%; min-width: 360px;
}
.form-section__left h2 { font-size: 35px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.form-section__left > p { font-size: 18px; opacity: 0.9; margin-bottom: 25px; }
.form-contact label { display: block; font-size: 14px; color: #fff; margin-bottom: 5px; font-weight: 500; }
.form-contact input {
    width: 100%; padding: 0 15px; height: 42px; border: none; border-radius: 6px;
    font-family: var(--font); font-size: 13px; margin-bottom: 10px; outline: none;
    background: #fff; color: #333;
}
.form-contact input::placeholder { color: #999; }
.form-contact .btn { margin-top: 4px; background: var(--color-primary); color: var(--color-white); border: none; font-size: 16px; font-weight: 600; padding: 12px 25px; border-radius: 6px; width: 100%; height: 47px; }
.form-section__right { overflow: hidden; flex: 1; }
.form-section__right img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================
   DEPOIMENTOS (5.10)
   ========================================== */
.depoimentos { padding: 50px 0; }
.depoimento-card__thumb {
    border-radius: 15px; overflow: hidden; position: relative; height: 400px;
}
.depoimento-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.depoimento-card__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%; background: #ff0033;
    color: var(--color-white); display: flex; align-items: center; justify-content: center;
    font-size: 33px; transition: var(--transition);
}
.depoimento-card__thumb:hover .depoimento-card__play {
    background: #cc0029; color: var(--color-white);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================
   NEWSLETTER (5.11)
   ========================================== */
.newsletter { background: var(--color-footer-bg); padding: 25px 0; border-bottom: 1px solid var(--color-border); }
.newsletter__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.newsletter__text h3 { font-size: 25px; font-weight: 700; color: var(--color-footer-titles); margin-bottom: 4px; }
.newsletter__text p { font-size: 13px; color: var(--color-footer-text); }
.newsletter__form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; max-width: 600px; }
.newsletter__form input {
    padding: 0 20px; height: 45px; border: 1px solid #ededed; border-radius: var(--radius);
    font-family: var(--font); font-size: 14px; flex: 1; min-width: 140px; outline: none;
    background: var(--color-white); color: var(--color-titles);
}
.newsletter__form input:focus { border-color: var(--color-accent); }
.newsletter__form .btn { background: var(--color-primary); color: var(--color-white); border: none; white-space: nowrap; font-size: 14px; font-weight: 700; border-radius: var(--radius); }

/* ==========================================
   FOOTER (5.12)
   ========================================== */
.footer {
    background: var(--color-footer-bg); border-top: 1px solid var(--color-border);
    padding: 40px 0 30px; color: var(--color-footer-text); font-size: 13px;
}
.footer__grid {
    display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr 1.2fr;
    gap: 25px; padding-bottom: 25px;
}
.footer__logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer__logo .logo-icon { font-size: 22px; }
.footer__logo .logo-name { font-size: 9px; }
.footer__subtitle { font-size: 12px; font-weight: 600; color: var(--color-footer-titles); margin-bottom: 8px; }
.footer__socials { display: flex; gap: 6px; }
.footer__socials a {
    width: 32px; height: 32px; border-radius: 5px; background: transparent;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; color: var(--color-footer-titles); padding: 7px;
    transition: var(--transition);
}
.footer__socials a:hover { color: var(--color-accent); }
.footer__title { font-size: 14px; font-weight: 700; color: var(--color-footer-titles); margin-bottom: 12px; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { font-size: 13px; color: var(--color-footer-text); }
.footer__links a:hover { color: var(--color-accent); padding-left: 3px; }
.footer__contact li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.footer__contact i { color: var(--color-accent); font-size: 15px; }
.footer__hours {
    display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--color-footer-text);
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--color-border);
}
.footer__hours i { color: var(--color-accent); margin-top: 2px; }
.footer__seals-bar {
    display: flex; justify-content: center; gap: 25px; padding: 18px 0;
    border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
}
.footer__seal-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-footer-text); }
.footer__seal-item i { font-size: 18px; color: var(--color-accent); }
.footer__bottom { text-align: center; padding: 18px 0; font-size: 12px; color: #aaa; }
.footer__credits { display: flex; justify-content: center; gap: 20px; padding-bottom: 15px; font-size: 11px; color: #bbb; }
.footer__credits a { color: var(--color-accent); }

/* ==========================================
   WHATSAPP FLOAT (5.13)
   ========================================== */
.whatsapp-float {
    position: fixed; bottom: 25px; right: 25px; width: 56px; height: 56px;
    border-radius: 50%; background: #25D366; color: var(--color-white);
    font-size: 26px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 999;
    animation: pulse-wpp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wpp {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed; bottom: 90px; right: 30px; width: 40px; height: 40px;
    border-radius: var(--radius); background: #444; color: var(--color-white);
    font-size: 16px; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary); }

/* ==========================================
   PAGE BANNER (Sub-pages)
   ========================================== */
.page-banner {
    background: var(--gradient); padding: 100px 0 50px;
    text-align: center; color: var(--color-white);
}
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.8; }

/* ==========================================
   CURSOS SECTION (cursos-tecnicos / certificacao)
   ========================================== */
.cursos-section { padding: 70px 0; }
.cursos-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.cursos-grid--3 { grid-template-columns: repeat(3, 1fr); }

.curso-card {
    background: var(--color-white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
    display: flex; flex-direction: column;
}
.curso-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }

.curso-card__image {
    height: 160px; display: flex; align-items: center; justify-content: center;
    background: var(--gradient); color: var(--color-white); font-size: 50px;
}

.curso-card__content {
    padding: 20px; display: flex; flex-direction: column; flex: 1;
}

.curso-card__tag {
    display: inline-block; background: rgba(0,150,207,0.1); color: var(--color-accent);
    padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; margin-bottom: 10px; align-self: flex-start;
}

.curso-card__title {
    font-size: 17px; font-weight: 700; color: var(--color-primary);
    margin-bottom: 8px; line-height: 1.3;
}

.curso-card__desc {
    font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 15px; flex: 1;
}

.curso-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 15px; border-top: 1px solid var(--color-border);
}

.curso-card__price {
    font-size: 20px; font-weight: 800; color: var(--color-accent);
}

.curso-card__duration {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; color: #888; font-weight: 500;
}
.curso-card__duration i { font-size: 15px; }

/* ==========================================
   SOBRE / INSTITUCIONAL
   ========================================== */
.sobre-content { padding: 70px 0; }
.sobre-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.sobre-text h2 {
    font-size: 28px; font-weight: 700; color: var(--color-primary);
    margin-bottom: 20px; line-height: 1.3;
}
.sobre-text p {
    font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 15px;
}
.sobre-image { border-radius: var(--radius); overflow: hidden; }
.sobre-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.valores-section { padding: 70px 0; background: var(--color-bg-light); }
.valores-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px;
}
.valor-card {
    background: var(--color-white); padding: 30px; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center; transition: var(--transition);
}
.valor-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.valor-card__icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--gradient); color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin: 0 auto 18px;
}
.valor-card h3 {
    font-size: 16px; font-weight: 700; color: var(--color-primary);
    margin-bottom: 10px;
}
.valor-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* ==========================================
   CONTATO / FALE CONOSCO
   ========================================== */
.contato-section { padding: 70px 0; }
.contato-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start;
}
.contato-info h2,
.contato-form h2 {
    font-size: 24px; font-weight: 700; color: var(--color-primary);
    margin-bottom: 10px;
}
.contato-info > p {
    font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 30px;
}

.contato-item {
    display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px;
}
.contato-item__icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: var(--gradient); color: var(--color-white);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contato-item__text strong {
    display: block; font-size: 14px; font-weight: 700; color: var(--color-primary);
    margin-bottom: 3px;
}
.contato-item__text p { font-size: 13px; color: #666; }
.contato-item__text a { color: var(--color-accent); }
.contato-item__text a:hover { text-decoration: underline; }

.contato-form {
    background: var(--color-bg-light); padding: 35px; border-radius: var(--radius);
}
.contato-form h2 { margin-bottom: 25px; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600; color: var(--color-primary);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-family: var(--font); font-size: 14px;
    color: var(--color-text); outline: none; transition: var(--transition);
    background: var(--color-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(0,150,207,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: auto; cursor: pointer; }

.mapa-section { line-height: 0; }

/* ==========================================
   BREADCRUMB
   ========================================== */
.page-breadcrumb {
    font-size: 14px;
    color: #212121;
    margin-bottom: 5px;
}
.page-breadcrumb a {
    color: #212121;
    text-decoration: none;
}
.page-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

/* ==========================================
   CATEGORY PAGE
   ========================================== */
.category-page {
    padding: 20px 0 40px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.category-header h1 {
    font-size: 25px;
    font-weight: 800;
    color: #212121;
    margin: 0;
}
.category-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.category-count {
    font-size: 14px;
    color: #666;
}
.category-sort {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   PRODUCT GRID
   ========================================== */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.product-card {
    width: calc(25% - 19px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.product-card__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 12px;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,28,93,0.85) 0%, transparent 100%);
    color: white;
}
.product-card__title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    line-height: 1.4;
}
.product-card__stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 12px;
    margin-bottom: 8px;
}
.product-card__old-price {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: line-through;
}
.product-card__price {
    font-size: 16px;
    font-weight: 700;
    color: white;
}
.product-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e8a900;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    text-align: center;
    line-height: 1.2;
}
.product-card__badge span {
    display: block;
}
.product-card__timer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0096cf;
    color: white;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 8px;
    border-radius: 0 0 12px 12px;
}
.product-card__arrow {
    position: absolute;
    bottom: 60px;
    left: 15px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001c5d;
    font-size: 18px;
    cursor: pointer;
}

/* ==========================================
   COURSE DETAIL — FULL-WIDTH BANNER
   ========================================== */
.course-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.course-banner__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: 50% 50%;
}
.course-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 680px;
}
.course-banner__breadcrumb {
    padding: 20px 0;
    font-size: 12px;
    color: white;
}
.course-banner__breadcrumb a {
    color: white;
}
.course-banner__breadcrumb span {
    margin: 0 8px;
    opacity: 0.7;
}
.course-banner__columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}
.course-banner__left {
    flex: 1;
    padding-right: 75px;
    padding-bottom: 30px;
}
.course-banner__left h1 {
    font-size: 28px;
    font-weight: 500;
    color: white;
    line-height: 1.2;
    margin-bottom: 10px;
}
.course-banner__stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #fcb323;
    font-size: 14px;
}
.course-banner__stars span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-left: 5px;
}
/* -- Sidebar Card -- */
.course-banner__right {
    width: 420px;
    flex-shrink: 0;
    padding: 30px 0;
}
.course-banner__sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
}
.course-banner__timer {
    background: #0096cf;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 5px;
    text-align: center;
    display: table;
    margin-bottom: 15px;
}
.course-banner__old-price {
    font-size: 14px;
    color: #91979a;
    margin-bottom: 2px;
}
.course-banner__old-price s {
    font-size: 16px;
}
.course-banner__price {
    font-size: 31px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 8px;
}
.course-banner__savings {
    display: block;
    color: #13b918;
    font-size: 13px;
    margin-bottom: 15px;
}
.course-banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 55px;
    background: #001c5d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font);
    margin-bottom: 15px;
}
.course-banner__btn:hover {
    background: #002a7a;
}
.course-banner__alert {
    text-align: center;
    margin-bottom: 20px;
}
.course-banner__alert strong {
    font-size: 15px;
    font-weight: 700;
    color: #212121;
    display: block;
    margin-bottom: 5px;
}
.course-banner__alert p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.course-banner__share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    color: #212121;
}
.course-banner__share-icons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.course-banner__share-icons a {
    width: 35px;
    height: 35px;
    border-radius: 35px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
}
.course-banner__share-icons a:hover {
    border-color: #0096cf;
    color: #0096cf;
}

/* ==========================================
   COURSE DESCRIPTION SECTIONS
   ========================================== */
.course-section {
    padding: 50px 0;
}
.course-section--dark {
    background: linear-gradient(135deg, #001c5d 0%, #0096cf 100%);
    color: white;
}
.course-section--light {
    background: #f9f9f9;
}
.course-section h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}
.course-section p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.course-section--dark h2,
.course-section--dark p {
    color: white;
}

/* -- Primary (solid #001c5d) -- */
.course-section--primary {
    background: #001c5d;
    color: white;
    padding: 45px 0;
}
.course-section--primary h2,
.course-section--primary h3,
.course-section--primary p {
    color: white;
}

/* -- Accent (#0096cf) -- */
.course-section--accent {
    background: #0096cf;
    color: white;
    padding: 45px 0;
}
.course-section--accent h2,
.course-section--accent h3,
.course-section--accent p {
    color: white;
}

/* -- Two-column grid layout -- */
.course-section__grid {
    display: flex;
    gap: 40px;
    align-items: center;
}
.course-section__text {
    flex: 1;
}
.course-section__media {
    flex: 0 0 400px;
}
.course-section__media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* -- Section h3 -- */
.course-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
}
.course-section--primary h3,
.course-section--accent h3 {
    color: white;
}

/* -- Requirement card images -- */
.requirement-card img {
    margin-bottom: 15px;
}

/* ==========================================
   REQUIREMENTS CARDS
   ========================================== */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.requirement-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.requirement-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #212121;
}
.requirement-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   STEPS SECTION
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.step-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #001c5d;
}
.step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: white;
}
.faq-question i {
    font-size: 20px;
    transition: transform 0.3s;
}
.faq-answer {
    display: none;
    padding: 0 0 18px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================
   CTA BUTTON WHITE
   ========================================== */
.btn--cta-white {
    background: white;
    color: #001c5d;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
}
.btn--cta-white:hover {
    background: #f0f0f0;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-page {
    padding: 40px 0 60px;
}
.contact-page h1 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: #212121;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.contact-form__row--full {
    grid-template-columns: 1fr;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px 15px;
    font-family: inherit;
    outline: none;
}
.contact-form textarea {
    height: 140px;
    resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #0096cf;
}
.contact-form button {
    background: #001c5d;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.contact-form button:hover {
    background: #002a7a;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1199px) {
    .header__menu { gap: 12px; }
    .header__menu a { font-size: 13px; }
    .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .topbar__left, .topbar__center { display: none; }
    .topbar__right { width: 100%; justify-content: center; }

    .header__nav {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--color-white); box-shadow: var(--shadow-hover);
        padding: 60px 25px 25px; transition: var(--transition); z-index: 1001;
    }
    .header__nav.active { right: 0; }
    .header__menu { flex-direction: column; gap: 16px; }
    .header__menu a { font-size: 15px; }
    .header__toggle { display: block; }
    .header__nav-close { display: block; }

    .vcard--video { flex: 0 0 100%; }
    .vcard--half { flex: 0 0 calc(50% - 8px); }
    .vcard--quarter { flex: 0 0 calc(50% - 8px); }

    .stats__inner { grid-template-columns: 1fr; text-align: center; }
    .novidades__inner { flex-direction: column; }
    .novidades__text { width: 100%; min-width: auto; }
    .novidades__text h2 { padding-right: 0; }
    .form-section__inner { flex-direction: column; }
    .form-section__right { display: none; }
    .form-section__left { padding: 35px 25px; width: 100%; min-width: auto; }

    .footer__grid { grid-template-columns: repeat(2, 1fr); }

    .cursos-grid { grid-template-columns: repeat(2, 1fr); }
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-image { order: -1; }
    .valores-grid { grid-template-columns: repeat(2, 1fr); }
    .contato-grid { grid-template-columns: 1fr; }

    .product-card { width: calc(33.333% - 17px); }
    .requirements-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .course-banner__columns { flex-direction: column; align-items: stretch; }
    .course-banner__left { padding-right: 0; padding-bottom: 20px; }
    .course-banner__right { width: 100%; }
    .course-banner__content { min-height: auto; }
    .course-section__grid { flex-direction: column; }
    .course-section__media { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 767px) {
    .topbar { display: none; }
    .vcard--video { flex: 0 0 100%; }
    .vcard--half { flex: 0 0 100%; }
    .vcard--quarter { flex: 0 0 calc(50% - 8px); }
    .vcard { height: 200px; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .newsletter__inner { flex-direction: column; text-align: center; }
    .newsletter__form { width: 100%; max-width: none; grid-template-columns: 1fr; }
    .newsletter__form input { min-width: auto; }
    .footer__grid { grid-template-columns: 1fr; gap: 20px; }
    .footer__seals-bar { flex-direction: column; align-items: center; gap: 8px; }
    .section-title { font-size: 20px; }
    .cursos-grid { grid-template-columns: 1fr; }
    .cursos-grid--3 { grid-template-columns: 1fr; }
    .valores-grid { grid-template-columns: 1fr; }
    .page-banner { padding: 80px 0 40px; }
    .page-banner h1 { font-size: 28px; }

    .product-card { width: calc(50% - 13px); }
    .requirements-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .category-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
    .header__icon { display: none; }
    .header__icon--cart { display: flex; }
    .hero__card { padding: 10px 14px; font-size: 12px; }
    .hero__card i { font-size: 18px; }

    .product-card { width: 100%; }
    .steps-grid { grid-template-columns: 1fr; }
    .contact-form__row { grid-template-columns: 1fr; }
}
