/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/hello-elementor-child
Description: Tema child do Hello Elementor — adicione customizações aqui.
Author: Seu Nome
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/


/* FAQ — Layout baseado na referência enviada */

/* WRAPPER */
.faq-list {
    max-width: 1240px;
    margin: 0 auto;
}

/* ITEM CONTAINER */
.faq-item {
    border: 1px solid #e2e8f0; /* borda clara */
    border-radius: 8px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.20s ease;
}

/* BOTÃO (PERGUNTA) — estado normal */
.faq-question {
    width: 100%;
    padding: 20px 16px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    font-family: "Nunito Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;

    /* ESSENCIAIS PARA QUEBRAR LINHA */
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;                  /* espaço entre texto e seta */
    white-space: normal;        /* permite quebra */
    word-wrap: break-word;      /* quebra mesmo sem espaços */
    overflow-wrap: break-word;  /* suporte moderno */
}

/* ICON DEFAULT (setinha) */
.faq-question::after {
    content: "▾"; /* seta padrão */
    font-size: 20px;
    transition: transform 0.20s ease;
    opacity: 0.8;
}

/* HOVER — item fechado */
.faq-item:hover .faq-question {
    background: #EDEFFF; /* azul muito clarinho */
    color: #1a1a1a;
}

/* ABERTO (clicado) — aplica quando aria-expanded=true */
.faq-question[aria-expanded="true"] {
    background: #ffffff;        
    color: #1a1a1a;
}

/* Setinha rotaciona ao abrir */
.faq-question[aria-expanded="true"]::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* CONTEÚDO DA RESPOSTA */
.faq-answer {
    padding: 20px;
    padding-top: 0px;
    color: #333;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    border-top: 1px solid #ffffff;
}

/* Remove highlight visual do foco dos botões FAQ */
.faq-question:focus {
    outline: none !important;
    color: inherit !important;
    background: inherit !important;
    box-shadow: none !important;
}

/* Foco só no form em si. */

.sl-contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* GRID 2 COLUNAS / 1 COL EM MOBILE */
.sl-contact-form .sl-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sl-contact-form .sl-col-6 {
    flex: 1 1 calc(50% - 6px);
}

.sl-contact-form .sl-col-12 {
    flex: 1 1 100%;
}

/* CAMPOS */
.sl-contact-form .sl-field {
    margin-bottom: 6px;
}

.sl-contact-form .sl-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Inputs/textarea – fundo clarinho, sem borda escura */
.sl-contact-form .sl-field input,
.sl-contact-form .sl-field textarea {
    width: 100%;
    border-radius: 6px !important;
    border: none !important;
    padding: 10px 12px !important;
    font-size: 16px;
    background: #eef1ff !important; /* cor interna dos campos */
    box-shadow: none !important;
}

/* estado focus bem suave */
.sl-contact-form .sl-field input:focus,
.sl-contact-form .sl-field textarea:focus {
    outline: 2px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

/* TEXTAREA */
.sl-contact-form .sl-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* AÇÕES – botão alinhado à direita */
.sl-contact-form .sl-actions {
    margin-top: 16px;
    text-align: right;
}

/* BOTÃO – sólido, escuro, sem borda rosa */
.sl-contact-form .sl-contact-submit {
    border-radius: 8px !important;
    border: none !important;
    padding: 10px 22px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #4D5782 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none !important;
}

.sl-contact-form .sl-contact-submit:hover {
    opacity: 0.9;
}

/* Mensagens de status */
.sl-contact-form .sl-contact-status {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 16px;
}

.sl-contact-form .sl-contact-success {
    background: #e6fffa;
    border: 1px solid #38b2ac;
}

.sl-contact-form .sl-contact-error {
    background: #fff5f5;
    border: 1px solid #f56565;
}

/* Responsivo: 1 coluna no mobile */
@media (max-width: 768px) {
    .sl-contact-form .sl-col-6 {
        flex: 1 1 100%;
    }
}

/* Estado padrão (link normal, ainda não visitado) + visitado */
a:link,
a:visited {
    color: #ffffff;          /* cor padrão do link */
    text-decoration: none;
}

/* Hover e foco (mouse em cima / tab) */
a:hover,
a:focus {
    color: #98A4EA !important;          /* cor quando passa o mouse */
    text-decoration: underline;
}

/* Testimonial Carousel */
.testimonial-carousel {
  overflow: hidden;            /* esconde qualquer conteúdo que extrapole */
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* TRACK */
.testimonial-carousel .tc-track {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  transform: translateX(0);
  will-change: transform;
  box-sizing: border-box;
}

/* SLIDE */
.testimonial-carousel .tc-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0 18px;   /* mantém espaçamento visual, sem esticar */
  min-width: 0;      /* ESSENCIAL para evitar overflow em flex itens */
}

/* CARD */
.testimonial-carousel .tc-card {
    background: #f6f8fb;
    border-radius: 12px;
    padding: 28px 26px 42px;
    position: relative;
    min-height: 160px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
    max-width: 100%;
    box-sizing: border-box;
}
	
/* quote icon */
.testimonial-carousel .tc-quote-icon {
    position: absolute;
    left: 20px;
    top: 6px;
    margin: 0 0 20px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 90px;         /* aumentado */
    color: rgba(63,76,125,0.07);
    font-weight: 800;
    line-height: 1;
}

/* headline (title inside card) */
.testimonial-carousel .tc-headline {
    margin: 32px 0 12px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #6a7bd6; /* purple heading color */
}

/* content */
.testimonial-carousel .tc-content {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* little triangle (tail) centered bottom of card */
.testimonial-carousel .tc-tail {
    position: absolute;
    left: 15%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #f6f8fb;
}

/* meta (author + role below card) */
.testimonial-carousel .tc-meta {
    margin-top: 18px;
    padding-left: 34px;
    color: #ffffff;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
}

.testimonial-carousel .tc-author {
    font-weight: 700;
    color: #ffffff;          
    font-size: 16px;
}

.testimonial-carousel .tc-role {
    font-size: 13px;
    color: rgba(255,255,255,0.9); /* branco com leve opacidade */
    margin-top: 4px;
}

/* Dots */
.testimonial-carousel .tc-dots {
    margin-top: 18px;
    text-align: center;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
}

.testimonial-carousel .tc-dot {
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    border: none;
    margin: 0 8px;
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    line-height: 0;
    transition: transform .18s ease, background .18s ease;
}

.testimonial-carousel .tc-dot.active {
    background: #ffffff;
    transform: scale(1.08);
    opacity: 1;
}

/* responsive adjustments */
@media (max-width: 992px) {
    .testimonial-carousel .tc-card { padding: 22px; }
    .testimonial-carousel .tc-headline { font-size: 18px; }
}
@media (max-width: 768px) {
    .testimonial-carousel { padding-bottom: 40px; }
    .testimonial-carousel .tc-card { padding: 18px; border-radius:10px; }
    .testimonial-carousel .tc-headline { font-size: 18px; }
    .testimonial-carousel .tc-meta { padding-left: 18px; }
}

/* Segurança extra: impedir que pseudo-elementos e margens causem overflow */
.testimonial-carousel *,
.testimonial-carousel *::before,
.testimonial-carousel *::after {
  box-sizing: inherit;
}

/* Em casos extremos, garantir que o wrapper nunca passe 100vw */
.testimonial-carousel { max-width: 100vw; }

/* Active (no clique) – opcional */
a:active {
    color: #98A4EA;
}

/* Quick fix: remove white strip on small screens */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
  }
  /* segurança extra: garantir que elementos flex não causem overflow */
  .testimonial-carousel, .testimonial-carousel * { max-width: 100vw; box-sizing: border-box; }
}
