/* Fonte Source Serif 4 Thin */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@200;600&display=swap');

/* BASE GLOBAL */
body {
  font-family: 'Source Serif 4', serif;
  background-color: #FDF8F3;
  color: #2D2A26;
  margin: 0;
}

/*  HEADER */
header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 80px;
  overflow: hidden;
}

/*  LOGO */
.logo img {
  height: 150px;
  width: auto;
  display: block;
  margin-top: -30px;
}

/*  NAV COM DIVISÃO */
nav.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
  }


/* LINKS INDIVIDUAIS */
.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #2D2A26;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease-in-out;
}

.nav-left a {
  margin-right: 40px;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #D656B0;
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 120px 20px 80px;
}

.container {
  max-width: 700px;
  padding: 20px;
}

.hero .intro {
  font-family: 'Source Serif 4', serif;
  font-weight: 200;
  font-size: 42px;
  color: #2D2A26;
  margin-bottom: 40px;
  line-height: 1.4;
}

.hero .intro .rio {
  display: inline;
  color: #2D2A26;
  font-weight: 400;
}

.hero .details {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

.hero .details span {
  font-weight: 600;
  color: #E686B6;
}

.hero-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 40px auto;
  }
/* BOTÕES */
.buttons {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: #f299c5;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  margin-right: 10px;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background-color: #ffa6d2;
}

.btn.outline {
  background-color: transparent;
  border: 2px solid #f29ac6;
  color: #f196c3;
}

.btn.outline:hover {
  background-color: rgb(248, 163, 205);
  color: white;
}

/*PROJECTS SECTION */
.projects {
  text-align: center;
  padding: 100px 80px;
  background-color: white;
}

.projects h2 {
  font-size: 32px;
  color: #E686B6;
  margin-bottom: 40px;
}

.project-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.project {
  background-color: #fff;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.project:hover {
  transform: scale(1.05);
}

.project img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    border-radius: 10px;
  }

.project-details {
  padding: 20px;
}

.project-details h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.project-details p {
  font-size: 14px;
  color: #666;
}


/* CONTACT SECTION */
.contact {
  background-color: #FDF8F3;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
}

.contact .container {
  max-width: 600px;
}

.contact h2 {
  font-size: 36px;
  color: #E686B6;
  margin-bottom: 16px;
}

.contact p {
  font-size: 20px;
  color: #555;
  margin-bottom: 32px;
}

.contact .buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
/*  FORMULÁRIO DE CONTATO */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e0cbd4;
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    color: #af3a7e;
    background-color: #fff8f8;
    resize: none;
  }
  
  .contact-form textarea {
    min-height: 120px;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #a02b66;
    box-shadow: 0 0 0 2px #f5d1e3;
  }
  .contact-form button {
  width: fit-content;
  border: 2px solid #f29ac6; 
  background-color: transparent;
  color: #f196c3;
  font-size: 18px;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  font-family: 'Source Serif 4', serif;
  outline: none;
}

.contact-form button:hover {
  background-color: #f29ac6;
  color: white;
}


.contact-form button:focus {
  outline: none;
  box-shadow: none;
}



/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  header {
    padding: 20px 40px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 40px;
  }

  .project-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
    text-align: center;
    height: auto;
  }

  .logo img {
    margin-top: 0;
    height: 120px;
  }

  nav.main-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
  }

  .projects {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 20px;
  }

  .hero .intro {
    font-size: 32px;
  }

  .hero .details {
    font-size: 16px;
  }

  .btn {
    padding: 8px 16px;
  }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px; 
  }
  .main-nav a {
    text-decoration: none;
    color: #2D2A26;
    font-weight: 200;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
  }
  
  .main-nav a:hover {
    color: #D656B0;
  }
  * {
    box-sizing: border-box;
  }
  
  .about {
    background-color: #FDF8F3;
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .about-container {
    max-width: 700px;
    width: 100%;
  }
  
  .about-img {
    width: 200px; /* aumentei de 160px para 200px */
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 4px solid #E686B6; /* borda rosa */
  }
  
  .hi-text {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
  }
  
  .about h1 {
    font-size: 40px;
    color: #E686B6;
    margin-bottom: 30px;
  }
  
  .about p {
    font-size: 20px;
    line-height: 1.8;
    color: #2D2A26;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

.name-circle {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #f7accf; 
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.name-circle:hover {
  color: #e78dbf;
}

.name-highlight {
    text-decoration: none;
    color: #f7accf; 
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .name-highlight:hover {
    color: #e78dbf;
  }
  .nowrap {
    white-space: nowrap;
  }

.hero h1 {
    font-size: 48px;
    color: #E686B6;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: center;
  }
  
  .hero .details {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
    text-align: center;
  }
  
  .projects {
    background-color: #fff;
    padding: 60px 20px;
  }
  
  .project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .project img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .project img:hover {
    transform: scale(1.03);
  }
  .project-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .project-link:hover {
    color: inherit;
  }

  .project-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 60px 20px;
  }
  
  .project-images img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    object-fit: cover;
  }
  
  /*  duas imagens verticais */
  .image-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
  }
  
  .image-row img {
    width: 100%;
    max-width: 440px;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
  .project-subtitle {
    font-family: 'Source Serif 4', serif;
    font-weight: 200;
    font-size: 18px;
    color: #2D2A26;
    margin-top: -10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }


.footer {
    background-color: #eaacce; 
    padding: 40px 20px;
    text-align: center;
    font-family: 'Source Serif 4', serif;
    border-top: 1px solid #e89ebb;
    color: #f4f6e4;  
  }
  
  .footer-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .footer p {
    margin: 8px 0;
    font-size: 16px;
    color: #f4f6e4; 
  }
  
  .footer-contact a {
    color: #f4f6e4;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
  }
  
  .footer-contact a:hover {
    color: #f4f6e4;
  }
  .laranja-moldura {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 40px;
    z-index: 0;
  }
  
  .laranja {
    position: absolute;
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
  }
  
  .laranja.esquerda {
    width: 190px;
    top: -480px; 
    left: -120px; 
  }
  
  .laranja.direita {
    width: 180px;
    top: -100px; 
    right: -150px; 
  }


.flores-moldura {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 40px;
  z-index: 0;
}

  .flor {
    position: absolute;
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
  }
  
  .flor.esquerda {
    width: 220px;
    top: -480px;
    left: -120px;
  }
  
  .flor.direita {
    width: 220px;
    top: -100px;
    right: -150px;
  }

  .project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  
  :root {
    --rosa: #E686B6;
    --bege: #FDF8F3;
  }
  
  body {
    background-color: var(--bege);
    color: #2D2A26;
  }

.iframe-container {
    max-width: 700px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .project img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.project:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}
h1, h2, h3 {
  font-family: 'Source Serif 4', serif;
  letter-spacing: -0.5px;
}

section {
  padding: 80px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* botão hamburguer */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* mobile */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background: #fffaf9;
    position: absolute;
    top: 100%;
    right: 20px;
    padding: 20px;
    border: 1px solid #eee;
    z-index: 1001;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    margin: 10px 0;
  }
}

/* ===================================================
   RESPONSIVIDADE REFORÇADA — telas menores
   =================================================== */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

@media (max-width: 900px) {
  .logo img {
    height: 90px;
  }

  .signature-logo {
    height: 32px;
  }

  .projects h2 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 70px;
    margin-top: 0;
  }

  .signature-logo {
    height: 28px;
  }

  header {
    padding: 12px 16px;
  }

  .hero h1,
  .about h1 {
    font-size: 30px;
  }

  .hero .details,
  .about p {
    font-size: 16px;
    padding: 0 10px;
  }

  .about-img,
  .hero-img {
    width: 140px;
    height: 140px;
  }

  .projects {
    padding: 40px 16px;
  }

  .projects h2 {
    font-size: 24px;
  }

  .project {
    width: 100%;
    max-width: 340px;
  }

  .contact {
    padding: 60px 16px;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact p {
    font-size: 16px;
  }

  .contact-form {
    width: 100%;
  }

  .footer {
    padding: 24px 16px;
  }

  .footer p {
    font-size: 14px;
  }

  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .image-row img {
    height: auto;
    max-width: 100%;
  }

  .project-images {
    padding: 40px 16px;
  }

  .project-subtitle {
    font-size: 15px;
    text-align: center;
    padding: 0 10px;
  }

  .details {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .laranja,
  .flor {
    display: none;
  }

  .laranja-moldura,
  .flores-moldura {
    margin-bottom: 20px;
  }
}