:root{
  --flow-bg: #CFE6EA;      
  --flow-text: #0E3D45;      
  --flow-muted: #537B83;     
  --flow-rail: rgba(29,60,69,.28); 
  --flow-accent: #A61B27;    
  --cor-quadrado: #BDD5DD;
  --cor-botoes-azul: #358493;
  --card-pad: 32px; 
}

body {
  font-family: 'Syne', sans-serif;
}

.flecha {
  display: none;
}

.hero-section {
  height: auto;
}

.hero-section h1 {
    font-size: 4rem;
    color: var(--flow-text);
    font-weight: 600;
    margin-top: 40px;
}

.vermelho-nx {
    color: var(--flow-accent) !important;
}

/* Primeira Dobra */
.first-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.first-section-div1 {
  display: flex;
  flex-direction: row;
  gap: 48px;
}

.first-section-div1_div {
  text-align: center;
  background-color: var(--cor-quadrado);
  padding: 41px 28px;
  border-radius: 10px;
}

.first-section-div1_div-h2 {
  color: var(--flow-text) !important;
  font-size: 24px !important;
  line-height: 145% !important;
  letter-spacing: -0.5% !important;
  font-weight: 600 !important;
}

.first-section-div1_div-p {
  color: var(--flow-text) !important;
  font-size: 24px;
  line-height: 145%;
  letter-spacing: -0.5%;
  text-align: center;
  margin-top: 40px;
}

.first-section-div2 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 40px;
  align-items: center;
}

.first-section-div2_p {
  font-size: 24px;
  margin-bottom: 0px;
  color: var(--flow-text);
}

.first-section-div2_a {
  font-size: 20px;
  color: #fff;
  background-color: var(--cor-botoes-azul);
  padding: 16px 12px;
  gap: 8px;
  border-radius: 12px;
}

.first-section hr {
  color: var(--flow-accent) !important;
  background-color: var(--flow-accent) !important;
  border-top: var(--flow-accent) 2px solid !important;
  font-weight: 1;
  width: 977px;
}

/* Segunda Section */
.timeline{
  position: relative;
  padding-top: 2rem;
  padding-bottom: 3.5rem; 
}

.timeline::before{
  content:"";
  position: absolute;
  top: 13%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: var(--flow-accent);
  height: 77%;
  align-items: center;
}

.timeline-arrow{
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid var(--flow-accent);
}

.timeline-row{
  position: relative;
  margin-bottom: 2.5rem;
  gap: 60px;
  flex-wrap: nowrap;
}

.timeline-dot{
  position: absolute;
  left: 48.5%;
  top: 48%;
  transform: translate(-50%,-50%);
  width: 20px;
  height: 30px;
  background-color: var(--flow-accent);
  border: 4px solid var(--flow-accent);
  border-radius: 100%;
  z-index: 2;
}

.timeline-card{
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}

.timeline-title{
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
  font-size: 36px !important;
}

.timeline-card p{
  margin: 0;
  text-align: left;
  width: 570px;
  font-size: 18px;
  color: var(--flow-text);
  line-height: 145%;
}

.timeline-img{
  border-radius: 10px;
  display: block;
  width: 80%;
  height: auto;
}

@media (max-width: 991.98px){
  .timeline::before{
    left: 12px;
    transform: none;
  }
  .timeline-arrow{
    left: 12px;
    transform: none;
  }
  .timeline-dot{
    left: 12px;
    transform: translate(-50%,-50%);
  }
}

.timeline-red {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 100px;
}

.timeline-red-box {
  align-items: center;
  border: 2px solid var(--flow-accent);
  border-radius: 20px;
  padding: 60px;
}

.timeline-box-title {
  font-size: 32px !important;
  font-weight: 600 !important;
  color: var(--flow-text);
}

.timeline-box-list {
  color: var(--flow-text) !important;
  font-size: 18px !important;
  line-height: 34px;
  margin-bottom: 0px;
}

/* Terceira section */ 
.white-section {
  background-color: #FFFFFF;
  padding: 120px !important;
}

.white-section-div-texts {
  padding: 20px;
}

.white-section-h1 {
  font-size: 40px !important;
  text-align: center !important;
  line-height: 145% !important;
  letter-spacing: -0.5% !important;
  font-weight: normal !important;
  margin-bottom: 50px;
}

.white-section-p {
  text-align: center;
  font-family: Syne;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 145%; /* 29px */
  letter-spacing: -0.1px;
  color: var(--flow-text);
}

.div-white-cards {
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 23px;
}

.div-div-white-cards{
  display: flex;
  gap: 32px;
}

.white-card {
  background-color: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 381px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #FFF;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.02), 0 6px 12px 0 rgba(0, 0, 0, 0.03);
  padding: 26px;
}

.white-card-title {
  color: var(--flow-text);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 10px;
}

.white-card-text {
  color: rgba(14, 61, 69, 0.80);
  text-align: center;
  font-family: Syne;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.09px;
}

/* Quarta section */
.container-section {
  height: 577px;
  padding: 50px 120px !important;
}

.container-section-div {
  border-radius: 68px;
  background: var(--Verde-NX, #0E3D45);
  height: 475px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 92px;
  gap: 60px;
}

.container-section-div h2 {
  color: #fff !important;
  text-align: center !important;
  font-size: 50px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 105% !important; /* 52.5px */
  letter-spacing: -1.5px;
}

.container-section-div a {
  border-radius: 88px;
  background: var(--Azul-NX, #358493);
  display: flex;
  width: 325px;
  height: 80px;
  padding: 24px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #F9F9F9;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 24px */
  letter-spacing: -0.48px;
}

/* Quinta Section */
.professional-cards {
  display: flex;
  padding: 120px 64px !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  align-self: stretch;
  background: #F9F9F9;
}

.professional-cards-title {
  color: var(--flow-text) !important;
  text-align: center !important;
  font-size: 40px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 145%; 
  letter-spacing: -0.2px;
}

.professional-cards > div {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 24px;
  align-items: stretch;                   
}

.professional-cards > div > div {
  padding: var(--card-pad);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden; 
}

.professional-cards > div > div img {
  display: block;            
  width: calc(100% + (var(--card-pad) * 2));  
  max-width: none;             
  margin-left: calc(var(--card-pad) * -1);
  margin-right: calc(var(--card-pad) * -1);
  margin-bottom: 0;                
  object-fit: cover;               
  aspect-ratio: 16/9;             
}

.professional-cards > div > div:nth-child(5) {
  display: flex;         
  flex-direction: column;
}

.professional-cards > div > div:nth-child(5) img {
  flex: 1 1 auto;       
  aspect-ratio: auto; 
  height: auto;          
  object-fit: cover;    
  width: calc(100% + (var(--card-pad) * 2));
  max-width: none;
  margin-left: calc(var(--card-pad) * -1);
  margin-right: calc(var(--card-pad) * -1);
  margin-bottom: 0;
}


.professional-card-title {
  color: var(--flow-text);
  font-family: Syne;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; 
  letter-spacing: -0.48px;
}

.professional-card-text {
  color: rgba(14, 61, 69, 0.80);
  font-family: Syne;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
  letter-spacing: -0.09px;
}

/* 1 */
.professional-cards > div > div:nth-child(1) {
  grid-column: 1;        
  grid-row: 1;           
  min-height: clamp(420px, 38vh, 560px);
}

/* 2 */
.professional-cards > div > div:nth-child(2) {
  grid-column: 1;       
  grid-row: 2;           
  min-height: clamp(220px, 26vh, 360px);
}

:root { --mid-card-h: clamp(280px, 30vh, 360px); }

/* 3 */
.professional-cards > div > div:nth-child(3) {
  grid-column: 2;         
  grid-row: 1;            
  height: 100%;
  align-self: start;     
}

/* 4 */
.professional-cards > div > div:nth-child(4) {
  grid-column: 2;        
  grid-row: 2;            
  height: 100%;
  align-self: start;
}

/* 5 */
.professional-cards > div > div:nth-child(5) {
  grid-column: 3;       
  grid-row: 1 / span 2;  
}

/* ----------- Responsivo ----------- */
@media (max-width: 1024px) {
  .professional-cards { padding: 80px 24px !important; }

  .professional-cards > div {
    grid-template-columns: 1fr; 
  }

  .professional-cards > div > div {
    height: auto;
    min-height: unset;
    align-self: stretch;
  }

  .professional-cards > div > div:nth-child(5) {
    grid-row: auto;
  }
}

@media (max-width: 1024px) {
  .professional-cards > div > div:nth-child(5) img {
    flex: 0 0 auto;     
    aspect-ratio: 16/9;    
    min-height: unset;
  }
}


/* Sexta section */ 
.countdown-section {
  background: var(--Vermelho-NX, #E85657);
  display: flex;
  justify-content: center;
  padding: 49px !important;
  margin-top: 0px !important;
}

.countdown-section div {

  align-items: center;
}

.countdown-cards {
  border-radius: 10px;
  background: var(--Vermelho-escuro-NX, #A61B27);
  display: flex;
  width: auto;
  height: 81px;
  padding: 20px 20px;
  align-items: center;
  flex-shrink: 0;
  gap: 20px;
}

.countdown-cards-title {
  color: var(--Branco, var(--Branco-NX, #FFF));
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: 73%; /* 35.04px */
  letter-spacing: -4.8px;
  margin-bottom: 0px;
  font-variant-numeric: tabular-nums;
}

.countdown-cards-text {
  color: var(--Branco, var(--Branco-NX, #FFF));
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 145%; /* 29px */
  letter-spacing: -0.1px;
}



/* FAQ Section */
.faq {
    background-color: white;
    padding: 80px 0 !important;
    margin-top: 0px !important;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid #e7eaee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden; 
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: box-shadow .25s ease, transform .12s ease, border-color .25s ease;
}

.faq-item:hover { border-color: #dfe6ea; }
.faq-item.open {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(197,226,233,.35), rgba(197,226,233,.35));
  border: 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.06rem;
  transition: background .25s ease, color .25s ease;
}

.faq-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease, padding .25s ease, background .25s ease;
  background: linear-gradient(0deg, rgba(53,132,147,.06), rgba(53,132,147,.06));
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0 22px;         
}
.faq-answer > * { overflow: hidden; } 

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  padding: 18px 22px;     
  background: linear-gradient(0deg, rgba(53,132,147,.08), rgba(53,132,147,.08));
}

.faq-answer p {
  margin: 0 0 .85rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 1rem;
}
.faq-answer p:last-child { margin-bottom: 0; }


.faq-question:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(53,132,147,.35);
  border-radius: 10px;
}


@media (max-width: 480px) {
  .faq-question { padding: 16px 18px; font-size: 1rem; }
  .faq-answer { padding: 0 18px; }
  .faq-item.open .faq-answer { padding: 16px 18px; }
}

#servicos-index #carouselServicos .card {
  max-width: none;
}

/* Responsividade */
@media (max-width: 767px) {
  section {
    padding: 20px !important;
  }

  .first-section-div1 {
    flex-direction: column;
  }

  .div-div-white-cards {
    flex-direction: column;
  }

  .countdown-cards-div {
    flex-direction: column !important;
  }

  .professional-cards > div {
    display: flex !important;
    flex-direction: column;
  }

  .timeline::before, .timeline-dot, .timeline-arrow {
    display: none !important;
  }

  .timeline-card p {
    width: auto;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .timeline {
    padding: 20px !important;
    padding-left: 0px;
  }

  .div-white-cards {
    width: auto;
    padding: 0px !important;
  }

  .container-section-div h2 {
    font-size: 2rem !important;
  }

  .container-section-div a {
    width: auto;
    height: auto;
  }

  .container-section-div {
    padding: 60px;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .container-section-div a {
    font-size: 1rem;
  }

  .container-section {
    padding: 40px !important;
  }

  .timeline-title {
    font-size: 1.5rem !important;
  }

  .timeline-card {
    padding: 0px;
  }

  .timeline-img {
    width: 100%;
  }

  .flecha {
    color: #A61B27;
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 59%;
    letter-spacing: -0.32px;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: block;
  }

  .timeline-red-box {
    padding: 20px;
  }

  .white-section {
    padding: 20px !important;
  }

  .first-section-div2 {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .first-section-div1_div-p {
    font-size: 18px;
  }

  .timeline-row {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 0px;
  }

  .timeline-card p {
    text-align: center;
    
  }
}