@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap');

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background: #f7f6f4;
  color: #222;
  letter-spacing: 1px;
}
header {
  text-align: center;
  padding: 0;
  background: #8197A0;
  height: 75vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 25vh;
  scroll-snap-align: start;
}
.logo {
  max-width: 553px;
  width: 100%;
  height: auto;
}
main {
  width: 100%;
}
section {
  padding: 48px 0;
  background: #fff;
  scroll-snap-align: start;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}
h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin-top: 0;
  color: #000000;
  letter-spacing: 3px;
}
p {
  text-align: justify;
}
#quem-sou-eu {
  background: #F7E7DA;
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#quem-sou-eu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/Flavia-De-Conti-32.png');
  background-position: right 2rem center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  margin: 3rem;
}

#quem-sou-eu .container {
  position: relative;
  z-index: 2;
  width: 100vh;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

#formacao .container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

#formacao {
  background: #FAF3EF;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contato {
  background: #BFA8A0;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

  #contato .container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  #contato .contact-info {
    flex: 1;
    text-align: left;
  }
  
  #contato .logo {
    height: 200px;
    width: auto;
    margin-left: 2rem;
  }
ul {
  padding-left: 20px;
}
li {
  margin-bottom: 12px;
}
address {
  font-style: normal;
  line-height: 2.5;
  font-size: 1.2rem;
}
a {
  color: #3e5c50;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: #000000;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 50px;
  border: 1px solid #000000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #000000;
  text-decoration: none;
  border: 1px solid #000000;
}

.whatsapp-float i {
  font-size: 24px;
}

.whatsapp-float span {
  white-space: nowrap;
}

/* Animação de pulso */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .container {
    max-width: 90%;
    padding: 0 20px;
  }
  
  #quem-sou-eu .container {
    width: 90%;
    max-width: 90%;
  }
  
  #formacao .container {
    width: 90%;
    max-width: 90%;
  }
  
  #contato .container {
    width: 90%;
    max-width: 90%;
  }
}

/* Tablets pequenos */
@media (max-width: 768px) and (min-width: 601px) {
  header {
    height: 60vh;
    padding-top: 15vh;
  }
  
  #quem-sou-eu {
    height: 80vh;
  }
  
  #formacao {
    height: 80vh;
  }
  
  #contato {
    min-height: 60vh;
  }
  
  .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 45%;
    margin-bottom: 32px;
  }
  
  .icon-item i {
    font-size: 58px;
    color: #8197A0;
    margin-bottom: 16px;
  }
  
  #contato .container {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  #contato .contact-info {
    text-align: center !important;
    order: 1;
  }
  
  #contato .logo {
    margin: 4rem auto 0 auto !important;
    height: 150px !important;
    width: auto !important;
    display: block !important;
    order: 2;
  }
}

/* Celulares */
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }
  
  h2 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  
  header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  
  #quem-sou-eu {
    min-height: 100vh;
    height: auto;
    padding: 2rem 0;
  }
  
  #formacao {
    min-height: 100vh;
    height: auto;
    padding: 2rem 0;
  }
  
  #contato {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  #contato .container {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  
  #contato .contact-info {
    text-align: center !important;
    order: 1;
  }
  
  #contato .logo {
    height: 150px !important;
    width: auto !important;
    margin: 3rem auto 0 auto !important;
    display: block !important;
    order: 2;
  }
  
  section {
    padding: 24px 0;
  }
  
  .logo {
    max-width: 70vw;
  }
  
  .icon-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 45% !important;
    margin-bottom: 40px !important;
  }
  
  .icon-item i {
    font-size: 40px;
    color: #8197A0;
    margin-bottom: 16px;
  }
  
  address {
    font-size: 0.9rem;
    line-height: 2.5;
  }
  
  #quem-sou-eu::before {
    background-size: auto 30%;
    margin: 0.5rem;
  }
  
  p {
    text-align: left;
    margin-bottom: 1rem;
  }
}

/* Celulares pequenos */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  body {
    font-size: 0.85rem;
  }
  
  h2 {
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  
  header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }
  
  #quem-sou-eu {
    min-height: 100vh;
    height: auto;
    padding: 1.5rem 0;
  }
  
  #formacao {
    min-height: 100vh;
    height: auto;
    padding: 1.5rem 0;
  }
  
  #contato {
    min-height: 100vh;
    padding: 1.5rem 0;
  }
  
  #contato .container {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  
  #contato .contact-info {
    text-align: center !important;
    order: 1;
  }
  
  #contato .logo {
    height: 120px !important;
    width: auto !important;
    margin: 2.5rem auto 0 auto !important;
    display: block !important;
    order: 2;
  }
  
  .icon-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 45% !important;
    margin-bottom: 35px !important;
  }
  
  .icon-item i {
    font-size: 35px;
    color: #8197A0;
    margin-bottom: 16px;
  }
  
  address {
    font-size: 0.85rem;
    line-height: 2.2;
  }
  
  #quem-sou-eu::before {
    background-size: auto 25%;
    margin: 0.25rem;
  }
}
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 40px;
  letter-spacing: 1px;
}

/* Desktop - 3 colunas */
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 30%;
  margin-bottom: 32px;
}

.icon-item i {
  font-size: 58px;
  color: #8197A0;
  margin-bottom: 16px;
}

/* Responsividade do Botão WhatsApp */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .whatsapp-float i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .whatsapp-float i {
    font-size: 18px;
  }
  
  .whatsapp-float span {
    display: none;
  }
}