html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-family: 'Ysabeau Infant', sans-serif;
}

:root {
  --roxo-escuro: #9e6d9a;
  --azul-serenity: #88bbd6;
  --lavanda-suave: #c6b7e3;
  --verde-salvia: #5cb85c;
  --rosa-quartzo: #f4b8d9;
  --cinza-texto: #4d4d4d;
}

body {
  margin: 0;
  background-color: #f0dbf1;
  color: var(--cinza-texto);
  letter-spacing: 0.8px;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,102,203, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
  border-color: rgb(255, 102, 203);
}

.navbar {
  background-color: var(--roxo-escuro);
  padding: 0;
  transition: top 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 0;
}

.navbar-brand,
.nav-link,
.nav-link:visited {
  color: #ffffff;
  font-size: 1.4rem;
}

.nav-link:hover,
.nav-link:active {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.nav-item:last-child {
  margin: 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

section {
  background-color: #f9f9f9;
  padding: 2rem;
  /*border-radius: 12px;
  max-width: 1200px;*/
  margin: 0 auto;
}

section p {
  font-size: 1.5rem;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--azul-serenity);
  margin-top: 1rem;
}

section h3 {
  font-family: 'Playfair Display', serif;
  color: var(--azul-serenity);
  margin: 2rem 0;
  font-weight: bold;
  font-size: 1.5rem;
}

section a {
  font-size: 1.3rem;
  color: var(--azul-serenity);
  font-weight: bold;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

.pg-404 {
  min-height: auto;
}

.btn-404 {
  margin: 50px 0;
  padding: 10px 20px;
  background-color: #9e6d9a;
  color: #ffffff;
}

.cta {
  margin-top: 2rem;
  background-color: var(--rosa-quartzo);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1.4rem;
}

.cta a {
  display: inline-block;
  margin: 10px 0;
  background-color: var(--verde-salvia);
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  transition-duration: 0.4s;
}

.cta a:hover {
  background-color: var(--roxo-escuro);
  transform: scale(1.1);
}

footer {
  background-color: #9e6d9a;
  text-align: center;
  color: #ffffff;
  padding: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

.topo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--lavanda-suave);
  color: white;
  overflow: hidden;
  min-height: 515px;
  margin-top: 100px;
}

.topo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/bg-site.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.topo h2,
.topo p {
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
  margin: 0.5rem 0;
}

.topo h2 {
  font-size: 2.5rem;
}

.topo p {
  font-size: 1.8rem;
  font-family: 'Josefin Slab', serif;
}

.bg-topo {
  background-color: #bda8e7;
  padding: 30px;
  color: white;
}

.faixa-decorativa {
  height: 100px;
  background: linear-gradient(to right, rgba(198, 183, 227, 0.5), rgba(198, 183, 227, 0.2));
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0% 100%);
}

.responsive {
  max-width: 100%;
  height: auto;
}

form {
  background-color: var(--rosa-quartzo);
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
}

input[type='text'],
input[type='email'],
textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #f9f9f9;
  border-radius: 8px;
  box-sizing: border-box;
}

input[type='submit'] {
  width: 100%;
  background-color: var(--verde-salvia);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: bold;
  transition-duration: 0.4s;
}

input[type='submit']:hover {
  background-color: var(--roxo-escuro);
}

.decoracao-linha {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  margin-left: 2px;
  margin-bottom: 30px;
  position: relative;
}

.decoracao-linha::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #f4b8d9;
  border-radius: 50%;
  box-shadow: 8px 0 0 #f4b8d9, 16px 0 0 #f4b8d9;
}

.decoracao-linha::after {
  content: '';
  display: inline-block;
  height: 4px;
  width: 80px;
  background-color: #f4b8d9;
  border-radius: 2px;
  margin-left: 28px;
}

/* Acessibilidade */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px dashed var(--azul-serenity);
  outline-offset: 3px;
}

::placeholder {
  color: #666;
  opacity: 1;
}

@media only screen and (max-width: 576px) {
  .cta img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    clear: both;
  }
}

@media only screen and (max-width: 480px) {
  #ansiedade img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    clear: both;
  }
}
