/* =================================================================
   ESTILOS DA PÁGINA "PROGRAMA DE GRADUADOS"
   Coloca este ficheiro na pasta do teu tema e carrega-o no template.
================================================================= */

.gp { color: #111827; }
.gp * { box-sizing: border-box; }
.gp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gp h2 { color: #000D30; }

/* ---------- Botões ---------- */
.gp-btn-white {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: #009fee !important; font-weight: 700;
    padding: 16px 34px; border-radius: 12px; text-decoration: none;
    font-size: 17px; box-shadow: 0 12px 28px rgba(0,0,0,.18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gp-btn-white:hover { transform: translateY(-2px); background: #eff6ff; color: #2563eb !important; text-decoration: none; }
.gp-btn-white svg { transition: transform .2s ease; }
.gp-btn-white:hover svg { transform: translateX(4px); }

/* ---------- HERO ---------- */
.gp-hero {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, #009fee 0%, #000D30 50%, #1e3a8a 100%);
    padding: 90px 0;
    margin-top: 80px;

}
.gp-hero::before {
    content: ""; position: absolute; top: -50%; right: -30%;
    width: 80%; height: 160%; background: #fff; opacity: .08;
    border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.gp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; position: relative; }
.gp-hero-text { align-self: center; }
.gp-badge {
    display: inline-block; background: rgba(255,255,255,.18);
    padding: 8px 18px; border-radius: 30px; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.gp-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.1; margin: 0 0 22px; }
.gp-hero-lead { font-size: 20px; line-height: 1.6; color: #dbeafe; margin: 0 0 34px; }
.gp-hero-media { display: flex; }
.gp-hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.3); display: block;
}

/* ---------- ESTATÍSTICAS ---------- */
.gp-stats { background: #f9fafb; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; padding: 64px 0; }
.gp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.gp-stat { text-align: center; }
.gp-stat-num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; color: #009fee; margin-bottom: 6px; }
.gp-stat-label { color: #4b5563; font-size: 16px; }

/* ---------- SECÇÕES GENÉRICAS ---------- */
.gp-section { padding: 80px 0; }
.gp-section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.gp-section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 0 0 14px; }
.gp-section-head p { font-size: 19px; color: #4b5563; margin: 0; }

/* ---------- SOBRE O PROGRAMA ---------- */
.gp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.gp-two-col img { width: 100%; border-radius: 20px; box-shadow: 0 20px 44px rgba(20,50,90,.12); display: block; }
.gp-about h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 0 0 22px; }
.gp-about p { font-size: 17px; color: #4b5563; line-height: 1.7; margin: 0 0 20px; }
.gp-feature { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }
.gp-feature-ico { background: #dbeafe; color: #2563eb; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.gp-feature h4 { margin: 2px 0 4px; font-size: 17px; font-weight: 700; color: #111827; }
.gp-feature p { margin: 0; font-size: 15px; color: #4b5563; }

/* ---------- BENEFÍCIOS ---------- */
.gp-benefits { background: #f9fafb; }
.gp-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gp-benefit-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px;
    box-shadow: 0 4px 12px rgba(20,50,90,.04); transition: box-shadow .25s ease, transform .25s ease;
}
.gp-benefit-card:hover { box-shadow: 0 16px 34px rgba(20,50,90,.10); transform: translateY(-3px); }
.gp-benefit-ico { background: #dbeafe; color: #2563eb; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.gp-benefit-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #111827; }
.gp-benefit-card p { color: #4b5563; line-height: 1.6; margin: 0; }

/* ---------- REQUISITOS + PROCESSO ---------- */
.gp-req-list { display: flex; flex-direction: column; gap: 16px; }
.gp-req-item { display: flex; gap: 12px; align-items: flex-start; }
.gp-req-check { background: #dcfce7; color: #16a34a; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 2px; }
.gp-req-item span { font-size: 17px; color: #374151; }
.gp-process { background: linear-gradient(135deg, #2563eb, #1e40af); color: #fff; border-radius: 20px; padding: 44px; box-shadow: 0 24px 50px rgba(30,64,175,.28); }
.gp-process h3 { font-size: 24px; font-weight: 800; margin: 0 0 28px; }
.gp-step { display: flex; gap: 16px; margin-bottom: 22px; }
.gp-step:last-child { margin-bottom: 0; }
.gp-step-num { background: #fff; color: #2563eb; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.gp-step h4 { margin: 6px 0 4px; font-size: 17px; font-weight: 700; }
.gp-step p { margin: 0; font-size: 14px; color: #bfdbfe; }

/* ---------- CTA FINAL ---------- */
.gp-cta { background: linear-gradient(135deg, #009fee 0%, #000D30 100%); color: #fff; padding: 90px 0; text-align: center; }
.gp-cta-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.gp-cta h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; margin: 0 0 18px; color: #fff; }
.gp-cta p { font-size: 20px; color: #dbeafe; line-height: 1.6; margin: 0 0 36px; }
.gp-cta-note { margin-top: 22px; font-size: 14px; color: #bfdbfe; }

/*vaga nao se vende*/
    .grad-info-tip{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-top:10px;
    }
    
    .grad-info-title{
        font-weight:700;
        color:#000D30;
    }
    
    .grad-tooltip{
        position:relative;
        display:inline-flex;
        align-items:center;
    }
    
    .grad-tooltip-icon{
        width:20px;
        height:20px;
        border-radius:50%;
        background:#000D30;
        color:#fff;
        font-size:13px;
        font-weight:700;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        user-select:none;
    }
    
    .grad-tooltip-text{
        position:absolute;
        bottom:130%;
        left:50%;
        transform:translateX(-50%);
        width:320px;
        background:#1f2937;
        color:#fff;
        padding:12px 14px;
        border-radius:8px;
        font-size:13px;
        line-height:1.5;
        opacity:0;
        visibility:hidden;
        transition:.2s;
        z-index:999;
        box-shadow:0 10px 25px rgba(0,0,0,.2);
    }
    
    .grad-tooltip:hover .grad-tooltip-text{
        opacity:1;
        visibility:visible;
    }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
    .gp-hero-grid, .gp-two-col { grid-template-columns: 1fr; }
    .gp-hero-media { display: none; }
    .gp-benefits-grid { grid-template-columns: 1fr 1fr; }
    .gp-stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
    .gp-hero { padding: 60px 0; }
    .gp-section { padding: 56px 0; }
    .gp-benefits-grid { grid-template-columns: 1fr; }
    .gp-process { padding: 30px 22px; }
}


/* =================================================================
   FORMULÁRIO DE CANDIDATURA  (junta isto ao graduados.css)
================================================================= */

.gpf-wrap { background: #f9fafb; padding: 64px 0 72px; color: #111827; }
.gpf-wrap * { box-sizing: border-box; }
.gpf-inner { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* ---- Cabeçalho ---- */
.gpf-intro { text-align: center; margin-bottom: 44px; }
.gpf-badge {
    display: inline-block; background: #dbeafe; color: #2563eb;
    font-weight: 700; font-size: 13px; letter-spacing: .4px; text-transform: uppercase;
    padding: 7px 16px; border-radius: 30px; margin-bottom: 16px;
}
.gpf-intro h1 { color: #111827; font-weight: 800; font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.gpf-intro p { color: #4b5563; font-size: 17px; margin: 0; }

/* ---- Mensagens ---- */
.gpf-alert { margin: 0 auto 26px; padding: 18px 22px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: center; }
.gpf-alert-ok  { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.gpf-alert-err { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---- Cartão de secção ---- */
.gpf-section {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 30px 28px; margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(20, 50, 90, .04); transition: box-shadow .25s ease;
}
.gpf-section:hover { box-shadow: 0 14px 30px rgba(20, 50, 90, .08); }
.gpf-title {
    font-size: 19px; font-weight: 700; color: #1e3a8a; margin: 0 0 24px;
    padding-bottom: 14px; border-bottom: 1px solid #eef2f7; position: relative;
}
.gpf-title::before {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 3px;
    border-radius: 3px; background: linear-gradient(90deg, #2563eb, #1e3a8a);
}

/* ---- Campos ---- */
.gpf-field { margin-bottom: 20px; }
.gpf-field:last-child { margin-bottom: 0; }
.gpf-field > label { display: block; font-weight: 600; color: #374151; margin-bottom: 8px; font-size: 15px; }
.gpf-req { color: #ef4444; margin-left: 3px; }

.gpf-input, .gpf-select, .gpf-textarea {
    width: 100%; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 12px 14px;
    font-size: 15px; color: #1f2937; background: #fafcff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gpf-select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232563eb' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
.gpf-input:focus, .gpf-select:focus, .gpf-textarea:focus {
    outline: none; border-color: #2563eb; background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.gpf-textarea { resize: vertical; min-height: 120px; }

.gpf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---- Opções (pílulas) ---- */
.gpf-options { display: flex; flex-wrap: wrap; gap: 10px; }
.gpf-option { position: relative; flex: 1 1 auto; min-width: 130px; }
.gpf-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gpf-option label {
    display: block; text-align: center; padding: 11px 16px; border: 1.5px solid #e5e7eb;
    border-radius: 10px; background: #fafcff; color: #374151; font-weight: 500; cursor: pointer;
    transition: all .18s ease; margin: 0;
}
.gpf-option label:hover { border-color: #bfdbfe; }
.gpf-option input:checked + label {
    border-color: #2563eb; background: #2563eb; color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.gpf-option input:focus + label { box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }

/* ---- Bloco condicional ---- */
.gpf-conditional { display: none; margin-top: 16px; }
.gpf-conditional.show { display: block; }

.gpf-hint { font-size: 13px; color: #6b7280; margin-top: 6px; }
.gpf-charcount { font-size: 12px; color: #9ca3af; text-align: right; margin-top: 4px; }

/* ---- Upload ---- */
.gpf-file {
    border: 2px dashed #cbd5e1; border-radius: 12px; padding: 22px; text-align: center;
    background: #fafcff; transition: border-color .2s ease, background .2s ease;
}
.gpf-file:hover { border-color: #2563eb; background: #f5f9ff; }
.gpf-file input { width: 100%; }

/* ---- Botão submeter ---- */
.gpf-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
    background: #2563eb; color: #fff; font-weight: 700; font-size: 17px; padding: 16px;
    border: none; border-radius: 12px; cursor: pointer; box-shadow: 0 12px 26px rgba(37, 99, 235, .25);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gpf-submit:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, .32); }



@media (max-width: 600px) {
    .gpf-grid-2 { grid-template-columns: 1fr; }
    .gpf-section { padding: 24px 18px; }
}