/* ================= RESET ================= */
:root{
    --bg:#020d1f;
    --bg-primary: #021319;
    --surface:#08172c;
    --surface-2:#0e2342;
    --primary:#0A66C2;
    --primary-light:#38bdf8;
    --accent:#ff9800;
    --text:#ffffff;
    --muted:#a9bfd6;
    --border:rgba(255,255,255,.08);
}

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

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:0 24px;
}

/* ================= HERO ================= */
.hero{
    position:relative;
    min-height:340px;
    background:
        linear-gradient(rgba(2,10,30,.78), rgba(2,10,30,.85)),
        url("../imagens/bg_topo.png") center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-content{
    max-width:900px;
    z-index:2;
}

.hero h1{
    font-size:clamp(2rem, 5vw, 4rem);
    font-weight:800;
    margin-bottom:20px;
}

.hero p{
    font-size:clamp(1rem, 2vw, 1.4rem);
    color:#d9ecff;
}

.course-highlight{
    color:#49b3ff;
}

/* ================= SECTION HEADER ================= */
.section-header{
    text-align:center;
    margin-bottom:70px;
}

.badge{
    display:block;
    padding:10px 20px;
    border-radius:999px;
    background:#0A66C2;
    font-size:14px;
    font-weight:700;
    margin-bottom:20px;    
    width: fit-content;
    margin-left: auto;
}

.section-title{
    font-size:clamp(2rem,4vw,3rem);
    margin-bottom:20px;
}

.section-subtitle{
    color:var(--muted);
    max-width:800px;
    margin:auto;
}

/* ================= PROFESSOR ================= */
.instructor-section{
    padding:100px 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(10,102,194,.18), transparent 35%),
        radial-gradient(circle at 90% 40%, rgba(255,152,0,.10), transparent 35%);
}

.instructor-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: start;
}

.instructor-photo-box{
    position:relative;
}

.instructor-photo{
    border-radius:28px;
    box-shadow:
        0 25px 70px rgba(0,0,0,.45),
        0 0 45px rgba(10,102,194,.18);
}

.experience-badge{
    position:absolute;
    bottom:25px;
    right:-20px;
    padding:18px 26px;
    border-radius:20px;
    background:linear-gradient(135deg,var(--accent),#ffb84d);
    box-shadow:0 12px 35px rgba(255,152,0,.35);
}

.experience-badge strong{
    display:block;
    font-size:28px;
}

.instructor-role{
    display:inline-block;
    color:#53b9ff;
    text-transform:uppercase;
    font-weight:700;
    margin-bottom:18px;
    letter-spacing:1px;
}

.instructor-name{
    font-size:clamp(2rem,4vw,3rem);
    margin-bottom:20px;
}

.instructor-description{
    color:var(--muted);
    margin-bottom:18px;
}

/* ================= CARDS ================= */
.credentials-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:35px;
}

.credential-card{
    background:rgba(255,255,255,.04);
    border:1px solid var(--border);
    backdrop-filter:blur(14px);
    padding:28px;
    border-radius:20px;
    transition:.3s;
}

.credential-card:hover{
    transform:translateY(-6px);
    border-color:rgba(56,189,248,.4);
}

.credential-card h4{
    font-size:18px;
    margin-bottom:12px;
}

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

/* ================= TAGS ================= */
.specialties{
    margin-top:40px;
}

.specialties h4{
    margin-bottom:20px;
    font-size:22px;
}

.specialties-list{
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.specialties-list li {
    padding:12px 18px;
    border-radius:999px;
    /*background:rgba(10,102,194,.15);*/
    /*background: linear-gradient(135deg,#0A66C2,#38bdf8);*/
    background: radial-gradient(circle at 20% 20%, rgba(10,102,194,.25), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(0,255,200,.12), transparent 45%),
        linear-gradient(180deg, #061826 0%, #050F18 100%);
    border:1px solid rgba(10,102,194,.35);
}

/* ================= BOTÃO ================= */
.btn-primary{
    display: inline-block;
    margin-top: 40px;
    padding: 16px 30px;
    border-radius: 15px 0px;
    background: #0A66C2;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
    float: right;
}

.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(56,189,248,.3);
}

/* ================== LINKEDIN ====================*/

.linkedin-profile{
    padding:40px 20px;
    /*background:#f3f6f8;*/
}

.profile-card{
    max-width:1100px;
    margin:auto;
    background:#f1f2f3;
    border-radius: 25px;
    overflow:hidden;
    box-shadow:0 8px 35px rgba(0,0,0,.08);
    border: 10px solid #f1f2f3;
}

.profile-banner{
    height:260px;
    overflow:hidden;
}

.profile-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Estilo padrão (desktop) */
.profile-header{
    padding: 35px 50px;
    position:relative;
}

.profile-photo-wrapper{
    margin-top:-90px;
}

.profile-photo{
    width:180px;
    height:180px;
    border-radius:50%;
    border:5px solid #f1f2f3;
    object-fit:cover;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.profile-main-info{
    margin-top:20px;
}

.profile-name{
    font-size:2.4rem;
    color:#1f2937;
    margin:15px 0 10px;
}

.profile-role{
    color:#374151;
    font-size:1.1rem;
}

.profile-location, .profile-book-author {
    color:#374151;
    margin-top:10px;
}

.profile-linkedin {
    color:blue;
    margin-top:10px;
}

.linkedin-section{
    padding:35px 50px;
    border-top:1px solid #e5e7eb;
}

.linkedin-section h2{
    color:#111827;
    margin-bottom:24px;
    font-size:1.4rem;
}

.linkedin-section p{
    color:#4b5563;
    margin-bottom:18px;
    line-height:1.8;
}

.experience-item{
    margin-bottom:30px;
}

.experience-item h3{
    color:#111827;
    margin-bottom:5px;
}

.experience-item span{
    display:block;
    color:#2563eb;
    font-weight:600;
    margin-bottom:10px;
}

/* Botão "Conectar no Linkegin" */
.profile-social{
    margin-top:20px;
}

.linkedin-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#0d6efd;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
    
}

.linkedin-btn:hover{
    /*background:#004182;*/
    transform:translateY(-2px);
    /*box-shadow:0 12px 30px rgba(10,102,194,.35);*/
}

/* Estilo LIVRO */
.book-highlight{
    margin-top:40px;
    padding:24px;
    border-radius:16px;
    background:#f8f9fb;
    border:1px solid #e5e7eb;

    display:flex;
    gap:25px;
    align-items:center;
}

.book-cover img{
    width:170px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    transition:.3s;
}

.book-cover img:hover{
    transform:scale(1.03);
}

.book-content{
    flex:1;
}

.book-label{
    display:inline-block;
    background:#0A66C2;
    color:#fff;
    padding:6px 14px;
    border-radius:20px;
    font-size:.8rem;
    font-weight:600;
    margin-bottom:12px;
    float: right;
}

.book-content h3{
    margin:0 0 15px;
    color:#1f2937;
    font-size:1.6rem;
}

.book-content p{
    color:#555;
    line-height:1.7;
    margin-bottom:20px;
}

.btn-book{
    display:inline-block;
    padding:12px 22px;
    border-radius:8px;
    background:#0A66C2;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-book:hover{
    background:#0b5ed7;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 968px){
    .instructor-wrapper{
        grid-template-columns:1fr;
    }

    .instructor-photo-box{
        max-width:420px;
        margin:auto;
    }

    .instructor-content{
        text-align:center;
    }

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

    .specialties-list{
        justify-content:center;
    }

    .experience-badge{
        right:15px;
    }
}

@media (max-width: 768px){
    .hero{
        min-height:280px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-photo-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .profile-photo {
        display: block;
        margin: 0 auto;
    }

     .book-highlight{
        flex-direction:column;
        text-align:center;
    }

    .book-cover img{
        width:150px;
    }
    
}

@media (max-width: 480px){
    /*.container{
        padding:0 18px;
    }*/

    .profile-linkedin {
        font-size: 11px;
    }

    .experience-badge{
        padding:14px 18px;
    }

    .experience-badge strong{
        font-size:20px;
    }

    .badge {
        width: 100%;
        max-width: 200px;
        display: inline-flex;
    }

    .profile-header {
        text-align: center;
        padding: 35px 20px;
    }

    .linkedin-section{
        padding:35px 20px;
        border-top:1px solid #e5e7eb;
    }

    .book-label {
        float: none;
    }
}














/* ======================================================
   PERFIL PROFISSIONAL
====================================================== */

.profile{
    max-width:1200px;
    margin:50px auto;
    padding:45px;
    background:#ffffff;
    border-radius:12px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    color:#4b5563;
    line-height:1.8;
}

/*======================================================
 TÍTULO PRINCIPAL
======================================================*/

.profile-title{
    font-size:2.3rem;
    color:#0F4C81;
    margin-bottom:35px;
    padding-left:18px;
    border-left:6px solid #0F4C81;
    font-weight:700;
}

/*======================================================
 TÍTULOS DAS SEÇÕES
======================================================*/

.section-title{
    font-size:1.6rem;
    color:#0F4C81;
    margin-top:45px;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:2px solid #E5E7EB;
    font-weight:600;
}

/*======================================================
 PARÁGRAFOS
======================================================*/

.profile-text{
    margin-bottom:18px;
    text-align:justify;
    font-size:1rem;
    color:#4B5563;
}

.profile-text strong{
    color:#1F2937;
    font-weight:600;
}

/*======================================================
 BOX DE DESTAQUE
======================================================*/

.box{
    margin:35px 0;
    padding:25px 15px;
    background:#F8FAFC;
    border-left:5px solid #0F4C81;
    border-radius:8px;
}

/*======================================================
 LISTAS
======================================================*/

.skills-list{
    margin:20px 0 30px;
    padding:0;
    list-style:none;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:12px;
}

.skills-list li{

    background:#F8FAFC;
    border:1px solid #E5E7EB;
    border-radius:8px;

    padding:12px 16px;

    transition:.30s;

    color:#374151;

    font-size:.98rem;

    position:relative;

    padding-left:42px;
}

/* Ícone */

.skills-list li::before{

    content:"✓";

    position:absolute;

    left:16px;
    top:50%;

    transform:translateY(-50%);

    width:18px;
    height:18px;

    background:#0F4C81;

    color:#FFF;

    border-radius:50%;

    font-size:12px;

    display:flex;
    justify-content:center;
    align-items:center;

}

/* Hover */

.skills-list li:hover{

    transform:translateY(-3px);

    box-shadow:0 8px 18px rgba(15,76,129,.15);

    border-color:#0F4C81;

}

/*======================================================
 LINKS
======================================================*/

.profile a{

    color:#0F4C81;

    text-decoration:none;

    transition:.3s;

}

.profile a:hover{

    color:#0C3B63;

    text-decoration:underline;

}

/*======================================================
 SEPARAÇÃO ENTRE BLOCOS
======================================================*/

.profile section{

    margin-bottom:40px;

}

/*======================================================
 ANIMAÇÃO
======================================================*/

.profile>*{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*======================================================
 RESPONSIVO
======================================================*/

@media (max-width:992px){

    .profile{

        padding:35px;

    }

    .profile-title{

        font-size:2rem;

    }

}

@media (max-width:768px){

    .profile{

        padding:25px;
        margin:20px;

    }

    .profile-title{

        font-size:1.8rem;

    }

    .section-title{

        font-size:1.35rem;

    }

    .profile-text{

        text-align:left;

    }

    .skills-list{

        grid-template-columns:1fr;

    }

}

@media (max-width:480px){

    .profile{

        padding:18px;

    }

    .profile-title{

        font-size:1.6rem;

    }

    .section-title{

        font-size:1.2rem;

    }

}

 /*=========================================
    BOTÃO FLUTUANTE VOLTAR
=========================================*/

.back-float{

    position:fixed;
    bottom:57px;
    right:30px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 20px;
    background:#0A66C2;
    color:#FFF;
    text-decoration:none;
    border-radius:50px;
    font-size:15px;
    font-weight:600;
    font-size: 20px;
    box-shadow:0 4px 14px rgba(10,102,194,.25);
    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
    z-index:9999;
}

.back-float:hover{

    background:#0D74DB;

    transform:translateY(-3px);

    box-shadow:0 8px 22px rgba(10,102,194,.40);

}

.back-float:active{

    background:#084C94;

    transform:translateY(0);

    box-shadow:0 3px 8px rgba(10,102,194,.20);

}

.back-float img{
    font-size:18px;
    width: 23px;
}

/* Responsivo */

@media(max-width:768px){

     .back-float{

        width:56px;
        height:56px;

        bottom:20px;
        right:20px;

        display:flex;
        align-items:center;
        justify-content:center;

        padding:0;
        background-color: transparent;
        border-radius:50%;
    }

    .back-float span:last-child{
        display:none;
    }

    .back-float img:first-child{
        display:block;
        font-size:46px;
        line-height:1;
        width: 47px;
    }

    .back-float span{
        font-size: 45px;
        display:none;

    }

}