/*
Theme Name: Priscila Theme Refactored
Theme URI: https://priscilamagossi.com/
Author: Priscila Gonçalves Magossi
Description: Standard WordPress theme for priscilamagossi.com. Elementor compatible.
Version: 2.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: priscila-theme
*/

/* ──────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ────────────────────────────────────────────── */
:root {
  --accent-color:  #2d6285;
  --text-color:    #333333;
  --white:         #ffffff;
  --light-bg:      #f8f8f8;
  --border-color:  #e0e0e0;
}

/* ──────────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text-color);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--accent-color); text-decoration: none; transition: opacity .3s ease; }
a:hover { opacity: .7; }

h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin-bottom: 1rem; }

h2 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  color: #000;
  font-family: 'Roboto Condensed', sans-serif;
}

section { padding: 80px 0; scroll-margin-top: 75px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

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

@media (max-width: 768px) {
  section { padding: 60px 0; scroll-margin-top: 80px; }
  h2 { font-size: 1.5rem; }
}

/* ──────────────────────────────────────────────
   HEADER
   ────────────────────────────────────────────── */
.site-header {
  background: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img { height: 55px; width: auto; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000;
  transition: all .3s ease;
}

.site-nav { flex: 1; display: flex; justify-content: flex-end; }

.site-nav ul { display: flex; list-style: none; gap: 35px; align-items: center; }

.site-nav ul li a {
  color: #000;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: color .3s ease;
  font-weight: 300;
  font-family: 'Roboto Condensed', sans-serif;
}
.site-nav ul li a:hover { color: var(--accent-color); opacity: 1; }

@media (max-width: 968px) {
  .site-nav ul { gap: 20px; }
  .site-nav ul li a { font-size: .7rem; }
}

@media (max-width: 768px) {
  .header-container { padding: 0 20px; }
  .menu-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  .site-nav.nav-open { max-height: 400px; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
    align-items: flex-start;
    width: 100%;
  }
  .site-nav ul li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
  .site-nav ul li:last-child { border-bottom: none; }
  .site-nav ul li a { display: block; width: 100%; }
}

/* ──────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────── */
.hero {
  color: rgb(113,106,86);
  padding: 180px 0;
  min-height: 560px;
  height: 80vh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 1rem;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  color: rgb(113,106,86);
}

.hero-text {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: 'Roboto Condensed', sans-serif;
  color: rgb(33,33,33);
}

@media (max-width: 768px) {
  .hero { padding: 140px 0; min-height: 450px; background-attachment: scroll; background-position: center top; }
  .hero::before { background: rgba(231,231,231,.85); }
  .hero-content { grid-template-columns: 1fr; gap: 20px; }
  .hero-title { font-size: 2.2rem; letter-spacing: 2px; }
}

/* ──────────────────────────────────────────────
   ABOUT
   ────────────────────────────────────────────── */
.about {
  background-color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.45),rgba(255,255,255,.9)), url('images/Overlay01.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.about h2 {
  text-transform: none;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgb(113,106,86);
  font-weight: 300;
  letter-spacing: 0;
}

.about-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-left-column p,
.about-right-column p {
  margin-bottom: 1.5rem;
  text-align: justify;
  font-size: 16px;
  line-height: 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  color: rgb(33,33,33);
  max-width: 550px;
}

.about-left-column p:first-child,
.about-right-column p:first-child { margin-top: 0; }

.about-left-column ul,
.about-right-column ul { margin: 1.5rem 0; padding-left: 2rem; }

.about-left-column ul li,
.about-right-column ul li { margin-bottom: .8rem; line-height: 1.4; font-weight: 400; }

.about-left-column strong,
.about-right-column strong,
.about h2 { font-family: 'Roboto', sans-serif; font-weight: 300; }

.keywords {
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-left: 4px solid var(--accent-color);
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.profile-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
  width: 100%;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background-color: rgb(63,116,165);
  color: #fff;
  border: none;
  font-size: .9rem;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  transition: transform .12s ease, box-shadow .12s ease;
}

.profile-links a:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0,0,0,.12); opacity: 1; }

@media (max-width: 1000px) { .profile-links { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px)  { .profile-links { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px)  { .profile-links { grid-template-columns: 1fr; gap: 8px; } .profile-links a { height: 32px; font-size: .85rem; } }

@media (max-width: 768px) {
  .about { background-image: none !important; }
  .about-two-column { grid-template-columns: 1fr; gap: 20px; }
  .about-left-column p, .about-right-column p { text-align: left; }
}

/* ──────────────────────────────────────────────
   PUBLICATIONS
   ────────────────────────────────────────────── */
.publications { background: rgb(76,115,161); color: var(--white); }

.publications h2, .publications h2 a { color: #fff; font-weight: 500; }

.publications-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  text-align: center;
  color: rgba(255,255,255,.95);
}

.publications-list { max-width: 900px; margin: 0 auto; }

.year-section {
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  background-color: transparent;
  transition: box-shadow .3s ease;
}
.year-section:hover { box-shadow: 0 5px 20px rgba(0,0,0,.1); }

.year-header {
  width: 100%;
  background: linear-gradient(180deg,#fff 0%,#f5f7fa 100%);
  color: #111;
  padding: 1rem 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform .3s ease, box-shadow .3s ease;
}
.year-header:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.year-header.expanded { box-shadow: 0 3px 10px rgba(0,0,0,.15); }

.year-info { display: flex; align-items: center; gap: 1rem; flex: 1; }
.year-title { font-size: 1.8rem; font-weight: bold; min-width: 150px; }
.year-title-pregressos { font-size: 1.3rem; }
.year-count { font-size: 1rem; font-weight: normal; opacity: .9; }
.year-arrow { font-size: 1.2rem; transition: transform .3s ease; }

.year-content { background: var(--white); padding: 1.5rem; display: none; }
.year-content.open { display: block; }

.publication-item {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.publication-item:hover { transform: translateX(5px); box-shadow: 0 5px 20px rgba(0,0,0,.15); }
.publication-item h3 { margin-bottom: .75rem; font-size: 1.2rem; line-height: 1.4; }
.publication-item h3 a { color: var(--accent-color); }
.publication-item h3 a:hover { opacity: .7; }
.publication-item p { color: var(--text-color); font-size: .95rem; line-height: 1.6; }

@media (max-width: 768px) {
  .publications { padding: 2rem 0; }
  .publications-intro { font-size: 1rem; padding: 0 1rem; margin-bottom: 2rem; }
  .publications-list { padding: 0 1rem; }
  .year-header { padding: 1rem 1.2rem; font-size: 1.1rem; }
  .year-title { font-size: 1.4rem; }
  .year-content { padding: 1rem; }
  .publication-item { padding: 1.2rem; }
  .publication-item h3 { font-size: 1rem; }
}

/* ──────────────────────────────────────────────
   RESEARCH
   ────────────────────────────────────────────── */
.research { background-color: var(--white); }

.research h2 { color: rgb(113,106,86); font-weight: 500; }

.research-links {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 20px;
  margin-top: 3rem;
  align-items: stretch;
}

.research-link { text-decoration: none; }

.research-card {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  min-height: 120px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.research-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,.2); }

.research-logo { max-width: 100%; max-height: 100px; width: auto; height: auto; object-fit: contain; }

@media (max-width: 1024px) { .research-links { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .research-links { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .research-links { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────────
   CONTACT
   ────────────────────────────────────────────── */
.contact {
  background-color: var(--light-bg);
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
}

.contact h2 { color: rgb(113,106,86); }

.contact > .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact > .container > * {
  max-width: 50%;
}

.contact h2 { margin-bottom: .4rem; font-weight: 500; }

.contact-intro {
  margin: 0 0 .4rem;
  font-size: 1rem;
}

.contact-body { margin-top: 1rem; font-size: 1rem; line-height: 1.6; }

.social-links { display: flex; gap: 32px; flex-wrap: wrap; margin: 32px 0; }

.social-links a {
  padding: 16px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  font-size: 3rem;
  font-weight: 500;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  line-height: 1;
}
.social-links a:hover { background-color: #4080a0; transform: translateY(-2px) scale(1.1); opacity: 1; }

/* SVG icons inside social links */
.social-links a svg { width: 36px; height: 36px; fill: currentColor; }

@media (max-width: 768px) {
  .contact { background-image: none !important; background-color: var(--light-bg) !important; }
  .contact > .container > * { max-width: 100%; }
  .contact-intro, .contact-social, .contact-body { padding: 0 0; }
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.site-footer {
  background-color: #1a1a1a;
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
}

.site-footer p { margin: 0; font-size: .9rem; line-height: 1.8; max-width: 900px; margin: 0 auto; }
.site-footer a { color: var(--white); text-decoration: underline; }
.site-footer a:hover { opacity: .7; }

/* ──────────────────────────────────────────────
   STANDARD WP / ELEMENTOR CONTENT AREA
   ────────────────────────────────────────────── */
.site-content { padding: 60px 0; }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-bottom: 1.2rem; line-height: 1.7; }
