@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/Comfortaa-Medium.ttf") format("truetype");
  font-weight: medium;
  font-style: normal;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/Comfortaa-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Laguna-Plain";
  src: url("../fonts/Laguna-Plain Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: regular;
}

:root {
  --bg: #dcd6c8;
  --primary-text: #143f50;
  --primary-button: #cca675;
  --primary-font-family: "Comfortaa", sans-serif;
  --secondary-text: #ffffff;
  --secondary-button: #143f50;
  --secondary-font-family: "Laguna-Plain", serif;
  --card: #ffffff;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--primary-text);
  line-height: 1.5;
  font-family: var(--primary-font-family);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
}

.container {
  max-width: 100vw;
  padding: 0 25px;
}

.header {
  display: flex;
  align-items: center;
  margin-top: 30px;
  justify-content: space-between;
  height: 10vh;
  width: 100%;
  gap: 16px;
}
button {
  font-family: var(--primary-font-family);
}

img.logo {
  max-height: 13dvh;
}

img.logo.small {
  display: block;
}

img.logo.large {
  display: none;
}

.title {
  font-family: var(--secondary-font-family);
}
.nav {
  max-height: 100%;
  text-align: end;
}

.nav a {
  align-items: center;
  text-align: center;
  margin: 5px;
}

.btn {
  min-width: 15dvw;
  max-width: 20dvw;
  max-height: 5rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--primary-button);
  font-size: 25px;
  text-decoration: none;
  text-align: center; 
  color: var(--secondary-text);
  background: var(--primary-button);
  display: flex;
  justify-content: space-evenly;
}
.btn:hover {
  filter: brightness(0.95);
}
.btn:active {
  transform: translateY(1px);
}
.btn.ghost {
  background: var(--secondary-button);
  color: var(--secondary-text);
}

.hero {
  padding: 24px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
}
.hero p {
  margin: 8px 0;
}

.hero-cta{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  max-width: 50dvw;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.about {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.about-text {
  padding: 20px;
  justify-items: center;
  text-align: justify;
}

.profile {
  max-width: 50vw;
  max-height: 50vh;
  border-radius: 15000px;
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 16px 0;
}

.grid {
  display: grid;
  gap: 16px;
}
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 1280px) {
  img.logo.small {
    display: none;
  }

  img.logo.large {
    display: block;
  }

  .about {
    flex-direction: row;
  }
  .about-text {
    padding: 30px;
    justify-items: start;
    text-align: justify;
  }
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

blockquote.card {
  margin: 0;
  font-style: italic;
}

details.card summary {
  cursor: pointer;
  font-weight: 600;
  outline: none;
}
details.card p {
  margin: 8px 0 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid #dcd6c8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: var(--card);
}
label {
  font-weight: 600;
}

.footer {
  font-size: 14px;
  color: var(--primary-text);
  display: flex;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 32px;
}

/* Seção de contato */
#contato {
  padding: 40px 25px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 0;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary-text);
  transition: transform 0.3s ease, color 0.3s ease;
  min-width: 80px;
}

.social-link:hover {
  transform: translateY(-8px);
  color: var(--primary-button);
}

.social-link:active {
  transform: translateY(-4px);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary-button);
  border-radius: 50%;
  color: var(--secondary-text);
  transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
  filter: brightness(0.9);
}

.social-name {
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .social-links {
    gap: 32px;
  }
  
  .social-icon {
    width: 64px;
    height: 64px;
  }
  
  .social-name {
    font-size: 16px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  width: 100%;
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 12px;
  margin: 24px 0 16px 0;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.breadcrumbs ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
}
.breadcrumb-link {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, font-size 0.2s;
}
.breadcrumb-link:hover {
  background: var(--primary-button);
  color: var(--secondary-text);
}
.breadcrumb-sep {
  color: var(--primary-button);
  font-size: 18px;
  margin: 0 2px;
}

/* Botão voltar ao topo */
.btn-topo {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--primary-button);
  color: var(--secondary-text);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-topo:hover {
  background: var(--secondary-button);
  transform: translateY(-4px);
}

/* Breadcrumbs menu hamburguer */
.breadcrumbs-hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-right: 8px;
}
.breadcrumbs-hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--primary-text);
  margin: 4px 0;
  border-radius: 2px;
  transition: background 0.2s;
}

@media (max-width: 700px) {
  .breadcrumbs-hamburger {
    display: flex;
  }
  .breadcrumbs-list {
    display: none !important;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--card);
    box-shadow: var(--shadow);
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    z-index: 99;
  }
  .breadcrumbs-list.open {
    display: flex !important;
  }
  .breadcrumbs {
    position: relative;
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
  }
  .breadcrumbs-list li {
    margin: 8px 0;
  }
  .breadcrumb-sep {
    display: none;
  }
  #ctaAgendar,
  #whatsappTop {
    justify-content: center;
  }
  #ctaAgendar svg,
  #whatsappTop svg {
    margin-right: 0;
  }
  #ctaAgendar,
  #whatsappTop {
    font-size: 0;
  }
  #ctaAgendar svg,
  #whatsappTop svg {
    font-size: 24px;
    width: 32px;
    height: 32px;
  }
}
@media (min-width: 701px) {
  .breadcrumbs-hamburger {
    display: none !important;
  }
  .breadcrumbs-list {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}
@media (min-width: 600px) {
  .breadcrumbs ul {
    gap: 10px;
  }
  .breadcrumb-link {
    font-size: 1.1rem;
    padding: 8px 18px;
  }
  .btn-topo {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    right: 32px;
    bottom: 32px;
  }
}
@media (min-width: 900px) {
  .breadcrumbs {
    padding: 16px 0;
  }
  .breadcrumb-link {
    font-size: 1.15rem;
    padding: 10px 22px;
  }
}
@media (max-width: 400px) {
  .breadcrumb-link {
    font-size: 0.95rem;
    padding: 4px 8px;
  }
  .btn-topo {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    right: 8px;
    bottom: 8px;
  }
}
