/*------------------------------------------------------------------
[Table of contents]

1. Import libraries
2. Custom properties
3. General Styles
4. Typography
5. Header and Navbar
6. Buttons and Links
7. Utilities
8. Sections
9. Swiper
10.Boxes and Cards
11.Footer
12.Accordion
13.Error 404
14.Responsive Layouts

-------------------------------------------------------------------*/

/* ---------------------------- */
/* Import libraries             */
/* ---------------------------- */
/* Bootstrap e as fontes são carregados por <link> no <head> de cada página
   (em paralelo), em vez de @import, que bloqueia a renderização em cadeia. */

/* ---------------------------- */
/* Custom properties            */
/* ---------------------------- */
:root {
  --primary-color: #470B24;
  --secondary-color: #B4BDDC;
  --text-color: #2B171F;
  --text-color-2: #5F4D54;
  --accent-color: #742746;
  --accent-color-2: #929EC9;
  --accent-color-3: #F2DFBB;
  --font-1: "Nunito", sans-serif;
  --font-2: "Source Sans 3", sans-serif;
}

/* ---------------------------- */
/* General Styles               */
/* ---------------------------- */
body {
  font-family: var(--font-2);
  color: var(--text-color);
  background-color: #FFFFFF;
  overflow-x: clip; /* evita rolagem lateral causada pelas animações no mobile */
}

/* ---------------------------- */
/* Accessibility                */
/* ---------------------------- */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1100;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  color: #FFFFFF;
}

main:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.footer :focus-visible,
.quotes-section > .container > .row:first-child :focus-visible,
.bg-primary-color :focus-visible {
  outline-color: #FFFFFF;
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(71, 11, 36, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input {
  width: 1.35em;
  height: 1.35em;
  margin-top: 0.15em;
}

.form-check-label a {
  color: var(--primary-color);
  font-size: inherit;
  font-weight: 700;
}

.form-feedback:empty {
  display: none;
}

.form-feedback {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem 1.25rem;
  border: 2px solid currentColor;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  font-weight: 600;
}

.form-feedback--success {
  color: #146C43;
}

.form-feedback--error {
  color: #B02A37;
}

.form-hint {
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.bg-primary-color {
  background-color: var(--primary-color);
}

.bg-primary-color-2 {
  background-color: var(--accent-color);
}

.bg-secondary-color {
  background-color: var(--secondary-color);
}

.bg-secondary-color-2 {
  background-color: var(--accent-color-2);
}

.bg-accent-color {
  background-color: var(--accent-color-2);
}

.bg-accent-color-2 {
  background-color: var(--accent-color-3);
}

.bg-gradient-primary {
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #FAF8F9 0%, #E9EBF4 55%, #F7F3EA 100%);
  color: var(--text-color);
}

/* --------------------------------------------------
   Formação Contínua — ícones brancos
--------------------------------------------------- */
.continuous-education-section .continuous-education-icon,
.continuous-education-section .continuous-education-icon.text-white,
.continuous-education-section .continuous-education-icon .continuous-education-icon-symbol,
.continuous-education-section .continuous-education-icon .continuous-education-icon-symbol::before {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.continuous-education-section .education-item > div:last-child {
  min-width: 0;
  text-align: left;
}

.continuous-education-section .education-item .h5 {
  line-height: 1.2;
}

@media (min-width: 768px) {
  .continuous-education-section .education-item .h5 {
    min-height: 2.4em;
  }
}

.continuous-education-section .continuous-education-icon {
  background-color: var(--primary-color) !important;
}

.bg-gradient-secondary .text-primary-color {
  color: var(--primary-color) !important;
}

.bg-gradient-secondary hr.border-white {
  border-color: var(--primary-color) !important;
  opacity: 0.22 !important;
}

.text-primary-color {
  color: var(--primary-color);
}

.text-black-color-2 {
  color: var(--text-color);
}

.text-secondary-color-2 {
  color: var(--secondary-color);
}

.text-muted-color {
  color: var(--text-color-2);
}

.accent-primary-color {
  color: var(--accent-color);
}

.accent-secondary-color {
  color: var(--accent-color-2);
}

.accent-tertiary-color {
  color: var(--accent-color-3);
}

.font-1 {
  font-family: var(--font-1);
}

.font-2 {
  font-family: var(--font-2);
}

.section {
  padding: 6em 2em 6em 2em;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.b-container {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.treatment-cards .card {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.treatment-cards .card-photo {
  display: block;
  width: 100%;
  height: 250px;
  border-radius: 0;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.treatment-cards .card-content {
  background-color: var(--secondary-color);
}

.treatment-cards .card-icon {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-size: 1.75rem;
}

.treatment-cards .card-cta {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-50%);
}

.treatment-cards h3 {
  display: flex;
  align-items: center;
  min-height: 2.4em;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .treatment-cards .card > .flex-grow-1 {
    padding: 1rem !important;
  }

  .treatment-cards h3 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .treatment-cards .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .treatment-cards .btn {
    padding: 0.5rem 0.75rem;
    font-size: 14px;
  }
}

/* ---------------------------- */
/* Typography                   */
/* ---------------------------- */
h1 {
  font-size: 72px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 32px;
}

h4,
.h4 {
  font-size: 26px;
}

h5,
.h5 {
  font-size: 22px;
}

h6 {
  font-size: 20px;
}

/* Título de página (h1) com o tamanho visual de um h2. */
.title-lg {
  font-size: 48px;
}

/* Rótulo acima dos títulos (antes era um <h6>, mas não é um título). */
.eyebrow {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.fw-extrabold {
  font-weight: 800;
}

.fw-black {
  font-weight: 900;
}

.text-lg {
  font-size: 18px;
}

button, a {
  font-size: 18px;
  font-family: var(--font-1);
}

ul {
  list-style: none;
}

p,
li {
  font-size: 18px;
}

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

.signature {
  width: auto;
  height: 60px;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
}

/* ---------------------------- */
/* Header and Navbar            */
/* ---------------------------- */
.top-bar {
  background-color: var(--primary-color);
  /* padding-block: 1.2rem; */
  min-height: 80px;
}

.about-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 1.5rem;
  text-align: left;
}

.about-highlights > li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.about-highlights > li > i {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.about-highlights .h5 {
  line-height: 1.4;
}

@media (min-width: 768px) {
  .about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
  }
}

.social-box {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.social-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: background-color 0.3s ease-in-out;
}

.social-box a:hover {
  background-color: var(--accent-color-2);
}

.logo-box img,
.logo-drawer img {
  width: auto;
  max-height: 63px;
}

.navbar-toggler {
  min-width: 48px;
  min-height: 48px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.navbar-nav .nav-link,
.dropdown-item {
  text-transform: uppercase;
}

.nav-link {
  font-size: 1.15rem;
  color: var(--text-color);
  font-weight: 600;
  padding-block: 1.85rem;
  padding-inline: 1.50rem;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
}

.dropdown-menu{
  border: 0;
  border-radius: 0 0 25px 25px;
  padding: 15px 0px;
  width: max-content;
  min-width: 0;
  max-width: calc(100vw - 2rem);
  -webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
}

.dropdown-item {
  color: var(--text-color);
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 1.15rem;
  padding: 15px;
  font-weight: 600;
  padding-block: 0.75rem;
  padding-inline: 0.75rem;
}

.dropdown-item:hover {
  color: var(--accent-color) !important;
  background-color: transparent;
}

.dropdown-item:focus {
  color: var(--accent-color) !important;
}

.dropdown-item.active {
  color: var(--primary-color) !important;
  background-color: transparent;
}
/* ---------------------------- */
/* Buttons and Links            */
/* ---------------------------- */
.btn-quotes {
  width: 180px;
  background-color: var(--text-color);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
}

.btn-quotes:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border: none;
}

.btn-whatsapp {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--primary-color);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-focus-shadow-rgb: 71, 11, 36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
  white-space: nowrap;
}

.btn-whatsapp .bi-whatsapp {
  font-size: 1.35rem;
  line-height: 1;
}

.btn-whatsapp:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  box-shadow: none;
}

.btn-primary-solid {
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-size: 1.15rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn-primary-solid:hover {
  background-color: var(--accent-color);
  color: #FFFFFF;
  border: none;
}

.btn-secondary-solid {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.15rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn-secondary-solid:hover {
  background-color: var(--accent-color-2);
  color: var(--primary-color);
  border: none;
}

.btn-secondary-solid-2 {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.15rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn-secondary-solid-2:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border: none;
}

.btn-secondary-solid-2[aria-current="page"] {
  background-color: var(--primary-color);
  color: #FFFFFF;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: none;
}

.links-primary {
  font-family: var(--font-2);
  color: var(--text-color);
  font-size: 18px;
  text-decoration: none;
}

.links-primary:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.links-secondary {
  font-family: var(--font-2);
  color: #FFFFFF;
  font-size: 18px;
  text-decoration: none;
}

.links-secondary:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.badge-primary-color {
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
}

.badge-primary-color:hover {
  background-color: var(--accent-color);
  color: #FFFFFF;
}

/* ---------------------------- */
/* Utilities                    */
/* ---------------------------- */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-box {
  width: 100%;
  max-width: 960px;
  height: auto;
}

.video-overlay .ratio {
  width: 100%;
  height: auto;
}

.video-overlay iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.img-container {
  width: 100%;
  max-width: 100%;
  max-width: 1000px;
}

.ratio-wrapper-429 {
  position: relative;
  aspect-ratio: 3 / 4; /* default: portrait */
  overflow: hidden;
}

.img-circle {
  width: 275px;
  height: 275px;
}

.ratio-wrapper-419 {
  position: relative;
  aspect-ratio: 3 / 4; /* default: portrait */
  overflow: hidden;
}

.bg-overlay-secondary {
  background: linear-gradient(45deg, rgba(71, 11, 36, 0.92), rgba(180, 189, 220, 0.82));
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.cta-card-bg {
  background-image: url('../image/LOGO-1280x1920.webp');
  background-size: cover;
  background-position: center;
}

.contact-card {
  border: 2px solid var(--secondary-color);
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.icon-circle--lg {
  width: 90px;
  height: 90px;
}

.contact-link {
  color: inherit;
  font-size: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-link:hover {
  color: var(--primary-color);
}

.transition-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .transition-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
}

.scale-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeitos de escala só em dispositivos com mouse: no toque, o :hover "gruda". */
@media (hover: hover) and (pointer: fine) {
  .btn-primary-solid:hover,
  .btn-secondary-solid:hover,
  .btn-secondary-solid-2:not([aria-current="page"]):hover {
    transform: scale(1.1);
  }

  .scale-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
}

.bg-secondary-gradient {
  background: linear-gradient(to right, white 0%, white 50%, #D9DDF0 50%, #B4BDDC 100%);
}

.breadcrumb {
  font-size: 22px;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: white !important;
}

.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: white !important;
}

.list-unstyled {
  padding-left: 0;
  margin-bottom: 0;
}

/* ---------------------------- */
/* Sections                     */
/* ---------------------------- */
.banner-section {
  position: relative;
  overflow: hidden;
  padding: 50px 75px 0 75px;
  color: white;
}

.hero-section {
  background-image: url('../image/Homehero.webp');
  background-size: cover;
  background-position: center;
  padding-bottom: 80px;
}

/* Transição contínua entre “Quando buscar ajuda?” e o agendamento. */
.signs-section {
  margin-bottom: 0 !important;
  background: linear-gradient(
    to bottom,
    #FFFFFF 0%,
    #FFFFFF 60%,
    var(--primary-color) 60%,
    var(--primary-color) 100%
  );
}


/* O fundo do Hero é claro; estes ajustes preservam a imagem e melhoram a leitura. */
.hero-section .text-white {
  color: var(--text-color) !important;
}

.hero-section h1,
.hero-section h6 {
  color: var(--primary-color);
}

.hero-section p {
  color: var(--text-color);
}

.hero-section hr {
  border-color: var(--primary-color) !important;
  opacity: 0.35 !important;
}

.hero-section .btn-primary-solid {
  color: #FFFFFF;
}

.hero-section .btn-secondary-solid {
  color: var(--primary-color);
}

.hero-section .badge-cta.bg-secondary-color {
  color: var(--primary-color) !important;
}


/* Fundos lilás são claros: textos escuros oferecem contraste melhor. */
.bg-secondary-color.text-white,
.bg-secondary-color-2.text-white,
.bg-secondary-color .text-white,
.bg-secondary-color-2 .text-white {
  color: var(--primary-color) !important;
}

/* Destaques claros sobre as áreas escuras de agendamento. */
.quotes-section > .container > .row:first-child .text-primary-color,
.quotes-section > .container > .row:first-child h6.text-primary-color,
.quotes-section > .container > .row:first-child h2 .text-primary-color {
  color: #DCE1F0 !important;
}

.quotes-section > .container > .row:first-child h2 {
  color: #FFFFFF !important;
}

.footer .text-secondary-color-2 {
  color: #DCE1F0 !important;
}

/* ---------------------------- */
/* Swiper                       */
/* ---------------------------- */
.swiper-container-outer {
  position: relative;
  overflow: hidden;
}

.swiper {
  padding: 30px 0;
}

.swiper-slide {
  height: auto;
}

/* Os controles ficam sobre a parte vinho do fundo da seção. */
.signs-controls {
  --swiper-pagination-color: #FFFFFF;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-horizontal-gap: 8px;
  --swiper-pagination-bullet-inactive-color: #FFFFFF;
  --swiper-pagination-bullet-inactive-opacity: 0.45;
}

.signs-controls :focus-visible {
  outline-color: #FFFFFF;
}

.signs-controls .swiper-pagination {
  position: static;
  width: auto;
  transform: none;
}

.swiper-autoplay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 2px solid #FFFFFF;
  border-radius: 30px;
  background-color: transparent;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
}

.swiper-autoplay-toggle:hover {
  background-color: #FFFFFF;
  color: var(--primary-color);
}

/* ---------------------------- */
/* Boxes and Cards              */
/* ---------------------------- */
.step-box {
  position: relative;
  margin-bottom: 3rem;
}

.step-box .step-number {
  display: block;
  font-size: 72px;
  line-height: 1.2;
  position: absolute;
  font-family: var(--font-1);
  font-weight: 900;
  opacity: 1;
  top: -10px;
  left: 13%;
  transform: translateX(-50%);
  z-index: 0;
  background: -webkit-linear-gradient(var(--secondary-color), #E3E6F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-box h3 {
  position: relative;
  font-family: var(--font-1);
  font-weight: 700;
  margin: 25px 0 20px 0;
  z-index: 1;
}

.step-box p {
  position: relative;
  z-index: 1;
}

.feedback-card {
  background: #fff;
  border: var(--primary-color) 2px solid;
  border-radius: 30px;
  padding: 35px;
}

.contact-booking-form .form-label {
  font-size: 1rem;
}

.contact-booking-form .form-control {
  min-width: 0;
  font-size: 1rem;
}

.contact-details-cards {
  display: grid;
  gap: 1rem;
}

.contact-details-cards > .col-12 {
  display: flex;
}

.contact-details-cards .card {
  width: 100%;
}

.contact-details-cards .card-body {
  justify-content: center;
  padding: 0.75rem 1rem;
}

.contact-details-cards .rounded-circle {
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0;
}

.contact-details-cards .rounded-circle .bi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.contact-details-cards .rounded-circle .bi::before {
  display: block;
}

.contact-details-cards .card-title {
  margin-top: 0.5rem !important;
  font-size: 1.25rem;
  line-height: 1.2;
}

.contact-details-cards .card-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .contact-details {
    display: flex;
    flex-direction: column;
  }

  .contact-details-cards {
    flex: 1;
    grid-template-rows: repeat(3, 1fr);
  }

  .quotes-section .booking-form .col-lg-6 > .form-label,
  .contact-booking-form .col-lg-6 > .form-label {
    display: flex;
    align-items: center;
    min-height: 3em;
    line-height: 1.5;
  }
}

.quotes-section {
  padding: 6em 2em 6em 2em;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background-color: var(--primary-color);
}

.quotes-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-image: url('../image/LOGO-1280x1920.webp');
  background-size: cover;
  background-position: center center;
  opacity: 1;
  z-index: -1; /* place behind of content */
}

.quotes-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(71, 11, 36, 1) 0%,
    rgba(71, 11, 36, 0.98) 32%,
    rgba(116, 39, 70, 0.94) 100%
  );
  opacity: 1;
  z-index: 1; /* place in-front of content */
}

.quotes-section > .container {
  position: relative; /* Force container in-front of background */
  z-index: 2;
}

.quotes-section > .card {
  margin-top: 30px; /* Space from heading */
}

.news-card {
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.publication-card {
  flex-direction: row;
}

.publication-card .publication-image {
  width: 28%;
  height: 280px;
  align-self: center;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.publication-card .card-body {
  min-width: 0;
}

.publication-card .publication-vehicle {
  white-space: normal;
}

@media (min-width: 768px) {
  .publication-card .publication-image-fill {
    height: auto;
    min-height: 280px;
    align-self: stretch;
  }
}

@media (max-width: 767.98px) {
  .publication-card {
    flex-direction: column;
  }

  .publication-card .publication-image {
    width: 100%;
    height: 220px;
  }
}

.news-card .card-title {
  font-family: var(--font-1);
  font-weight: 800;
  text-decoration: none;
}
.news-card .card-title:hover {
  font-family: var(--font-1);
  font-weight: 800;
  /* font-size: 22px; */
  text-decoration: none;
  color: var(--primary-color);
}

/* ---------------------------- */
/* Footer                       */
/* ---------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  color: white;
}

.footer-background {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../image/LOGO-1280x1920.webp');
  background-size: cover;
  background-position: center center;
  z-index: -1;
}

.footer-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(71, 11, 36, 0.96), rgba(116, 39, 70, 0.94));
  z-index: 1; /* place in-front of content */
}

.footer-logo > img {
  width: auto;
  max-height: 65px;
}

.footer-title {
  font-size: 26px;
  margin-bottom: 1.5rem;
}

.footer address p,
.footer-credentials {
  overflow-wrap: anywhere;
}

.footer-credentials {
  font-size: 16px;
}

/* ---------------------------- */
/* Accordion                    */
/* ---------------------------- */
.accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: transparent;
}

.accordion .accordion-button {
  font-size: large;
  font-weight: 700;
  color: #fff;
  background-color: var(--accent-color); /* Default blue */
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: none;
}

.accordion .accordion-button.collapsed {
  background-color: var(--accent-color); /* Blue for collapsed */
  color: #fff;
}

.accordion .accordion-button:not(.collapsed) {
  background-color: var(--accent-color-2); /* Pink for expanded */
  color: #000;
}

.accordion .accordion-button:focus {
  box-shadow: none;
}

.accordion .accordion-button:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.accordion i {
  font-size: 1.2rem;
}

.accordion .accordion-collapse {
  margin-top: 0.5rem; /* Gap between header and body */
}

.accordion .accordion-body {
  font-size: large;
  background-color: #F5F5F5;
  padding: 1.5rem;
  border-radius: 1rem;
  /* margin-top: 0.5rem; */
  color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ---------------------------- */
/* Error 404                    */
/* ---------------------------- */
.error-code {
  font-size: 18rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.error-code span:nth-child(2) {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px 0;
  border-radius: 1.5rem;
}
/* ---------------------------- */
/* Responsive Layouts           */
/* ---------------------------- */
@media only screen and (max-width: 1199.98px) {
  .ratio-wrapper-429 {
    aspect-ratio: 3 / 2;
  }

  .ratio-wrapper-419 {
    aspect-ratio: 1 / 1;
  }

  .step-box .step-number {
    left: 17%;
  }
}

@media only screen and (max-width: 991.98px) {
  /* ---------------------------- */
  /* Typography                   */
  /* ---------------------------- */
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 24px;
  }

  h4,
  .h4,
  .footer-title {
    font-size: 22px;
  }

  h5,
  .h5 {
    font-size: 20px;
  }

  h6,
  .eyebrow {
    font-size: 18px;
  }

  .title-lg {
    font-size: 40px;
  }

  .step-box .step-number {
    font-size: 56px;
  }

  button, a{
    font-size: 17px;
  }

  p{
    font-size: 16px;
  }

/* ---------------------------- */
/* Header and Navbar            */
/* ---------------------------- */
/* padding: 4em 2em 4em 2em; */
  .section {
    padding: 4em 1em;
  }

  .top-bar {
    display: none;
  }

  /* Logo e botão do menu sempre na mesma linha no mobile. */
  .logo-box {
    max-width: calc(100% - 64px);
  }

  .logo-box img {
    max-height: 56px;
  }

  .logo-drawer img {
    max-height: 60px;
  }

  .nav-link {
    font-size: 1rem;
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
  }
  
  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus {
    color: var(--primary-color) !important;
  }

  .navbar-nav .nav-link {
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
  }

  .dropdown-menu {
    border-radius: 0;
    width: max-content;
    max-width: 100%;
    padding: 5px 0px 5px 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

  .dropdown-item {
    font-size: 1rem;
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
  }

  .btn-quotes {
    display: none;
  }

  .img-circle {
    width: 275px;
    height: 275px;
  }

  .step-box .step-number {
    left: 5%;
  }

  .feedback-slide {
    width: 33.333%; /* 3 slides per-row for desktop */
  }

  .bg-secondary-gradient {
    background: #FFFFFF;
  }

  /* A coluna ocupa a largura toda do card (gutter da .row = padding do card);
     sobe 1.5rem para encostar no topo arredondado. */
  .booking-info {
    margin-top: calc(var(--bs-gutter-y) - 1.5rem);
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    border-radius: 2rem 2rem 0 0;
    background: linear-gradient(to bottom, #B4BDDC 0%, #D9DDF0 100%);
  }

  .quotes-section {
    position: relative; /* Force container in-front of background */
    overflow: hidden;
    padding: 0;
  }

  .quotes-section > .container {
    position: relative; /* Force container in-front of background */
    z-index: 2;
    padding: 0;
  }

  .quotes-section > .card {
    margin-top: 70px;
  }

  .img-container {
    width: 90%;
  }

  .ratio-wrapper-429 {
    aspect-ratio: 16 / 9;
  }

  .img-circle {
    width: 300px;
    height: 300px;
  }

  .footer-logo {
    text-align: center;
    padding: 0 4rem;
  }

  .footer-logo > img {
    max-height: 85px;
  }

  .error-code {
    font-size: 15rem;
  }
}

@media only screen and (max-width: 767.98px) {
  .btn-play {
    width: 80%;
  }

  .badge-cta {
    display: none;
  }

  .img-container {
    width: 85%;
  }

  .ratio-wrapper-429 {
    aspect-ratio: 1 / 1;
  }

  .img-circle {
    width: 300px;
    height: 300px;
  }

  .step-box .step-number {
    left: 6%;
  }

  .footer-logo > img {
    max-height: 65px;
  }
}

@media only screen and (max-width:576.98px){
  .ratio-wrapper-429 {
    aspect-ratio: 3 / 4;
  }

  .img-circle {
    width: 185px;
    height: 185px;
  }

  .step-box .step-number {
    left: 8%;
  }

  .error-code {
    font-size: 10rem;
  }

  h1 {
    font-size: 40px;
  }

  h2,
  .title-lg {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  .signature {
    height: 50px;
  }
}

/* Formação Contínua — cores corretas */
.continuous-education-section h2,
.continuous-education-section .h5 {
  color: var(--primary-color) !important;
}

/* Círculos vinho */
.continuous-education-section .continuous-education-icon {
  background-color: var(--primary-color) !important;
}

/* Somente os símbolos dos ícones ficam brancos */
.continuous-education-section .continuous-education-icon-symbol,
.continuous-education-section .continuous-education-icon-symbol::before {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Como funciona o acompanhamento — textos em vinho */
.consult-section,
.consult-section h2,
.consult-section h3,
.consult-section h5,
.consult-section h6,
.consult-section p {
  color: var(--primary-color) !important;
}

/* Garante que os números 01, 02 e 03 também fiquem vinho */
.consult-section .step-box .step-number {
  background: none !important;
  color: var(--primary-color) !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: var(--primary-color) !important;
  opacity: 0.18;
}

/* Linha divisória em vinho */
.consult-section hr {
  border-color: var(--primary-color) !important;
  opacity: 0.25 !important;
}

/* O texto do botão precisa continuar branco */
.consult-section .btn-primary-solid {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* ---------------------------- */
/* Ajustes de acessibilidade e páginas novas */
/* ---------------------------- */
.navbar-nav button.nav-link {
  text-align: start;
}

.continuous-education-section .continuous-education-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
}

.privacy-content a {
  color: var(--primary-color);
  font-size: inherit;
  font-weight: 700;
}

.privacy-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.privacy-list li {
  margin-bottom: 0.5rem;
}

/* Retrato: nos formatos mais largos (tablet), prioriza o rosto ao recortar. */
.ratio-wrapper-429 img {
  object-position: center 15%;
}
