/*
Theme Name: falarbem
Themere URI: https://falarbemoratoria.com.br/
Author: Guilherme Bastos
Author URI: https://falarbemoratoria.com.br/
Description: Tema criado para o falar bem
Version: 1.0
*/

@import "css/bootstrap.min.css";
@import url("icons/font/bootstrap-icons.min.css");

@font-face {
    font-family: 'Poppins' !important;
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* ──────────────────────────────────────────
   BASE
────────────────────────────────────────── */
body {
    font-family: 'Poppins', sans-serif;
    color: #334075;
}

h1 {
    font-weight: bold;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

h2 {
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: -0.3px;
    font-size: 1.9rem;
}

p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem;
}

li {
    font-size: 17px !important;
    line-height: 1.7 !important;
    margin-bottom: 6px;
}


/* ──────────────────────────────────────────
   UTILITIES
────────────────────────────────────────── */
nav.border-bottom,
section.border-bottom {
    border-bottom: 1px solid #334075 !important;
}

.nav-link-custom {
    font-size: 18px !important;
    color: #334075 !important;
}

img.border {
    border: 1px solid #F2A23A !important;
}

.text-orange { color: #f2a94a !important; }

/* Bird bullet list */
.list-custom { list-style: none; padding-left: 0; }
.list-custom li {
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    position: relative;
}
.list-custom li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 14px;
    /* bird image set via inline <style> in page-home.php so PHP path works */
}


/* ──────────────────────────────────────────
   FORMS (Contact Form 7)
────────────────────────────────────────── */
.form-card {
    border: 2px solid #1B2E4A !important;
    max-width: 400px;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    border: none !important;
    border-bottom: 2px solid #334075 !important;
    width: 100%;
    margin-bottom: 6px;
    font-size: 14px;
    padding: 4px 0;
}

.wpcf7-form-control.wpcf7-textarea {
    border: 2px solid #334075 !important;
    border-radius: 5px !important;
}

.wpcf7-submit {
    background-color: #F2A23A !important;
    color: #1B2E4A !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    font-style: italic !important;
    border: 2px solid #1B2E4A !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(242,162,58,0.25) !important;
}

.wpcf7-submit:hover {
    background-color: #e59030 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242,162,58,0.35) !important;
}

.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(242,162,58,0.20) !important;
}

.wpcf7-form-control:focus {
    outline: none !important;
    border-bottom-color: #f2a94a !important;
}

.wpcf7-form label {
    margin-bottom: 0px !important;
    display: block;
    font-size: 14px !important;
    color: #334075;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 4px !important;
}

.wpcf7-textarea {
    height: 80px !important;
    border: 2px solid #334075 !important;
    margin-top: 5px !important;
    font-size: 14px;
}

.wpcf7 br { display: none; }
.wpcf7 p  { margin-bottom: 5px !important; }


/* ──────────────────────────────────────────
   WHATSAPP FLOAT
────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    text-decoration: none !important;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

.whatsapp-float .bi {
    line-height: 1;
}


/* ──────────────────────────────────────────
   HERO SECTION — Falar Bem
────────────────────────────────────────── */
.falar-bem-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
}

.falar-bem-section .bg-decorative {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    opacity: 0.60;
    z-index: 1;
}

.falar-bem-section .photo-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 2;
}

.falar-bem-section .photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.90;
    display: block;
}

.falar-bem-section .photo-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255,255,255,1.00)  0%,
        rgba(255,255,255,0.05) 51%,
        rgba(255,255,255,1.00) 100%
    );
    z-index: 3;
}

/* Text card */
.falar-bem-section .text-card {
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 36px 44px;
    max-width: 540px;
}

.falar-bem-section .text-card .title-falar {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(3.2rem, 7vw, 5.5rem); /* bigger than before */
    line-height: 1.0;
    color: #F2A23A;
    letter-spacing: -2px;
}

.falar-bem-section .text-card .subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.9vw, 1.25rem);
    color: #1B2E4A;
    margin-top: 10px;
    line-height: 1.5;
}

/* ── CTA Button ── */
.btn-especialista {
    display: inline-block;
    background-color: #F2A23A;
    color: #1B2E4A !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    text-decoration: none !important;
    padding: 12px 28px;
    border-radius: 8px;
    border: 2px solid #1B2E4A;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(242,162,58,0.25);
    white-space: nowrap;
}

.btn-especialista:hover {
    background-color: #e59030;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242,162,58,0.35);
    color: #1B2E4A !important;
    text-decoration: none !important;
}

.btn-especialista:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(242,162,58,0.20);
}


/* ──────────────────────────────────────────
   BACKGROUND DECORATOR — inner sections
────────────────────────────────────────── */
.section-bg {
    position: relative;
    overflow: hidden;
}

.section-bg .bg-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: url('images/background.png') center left / cover no-repeat;
    opacity: 0.50;
    pointer-events: none;
    z-index: 0;
}

.section-bg > .container {
    position: relative;
    z-index: 1;
}


/* ──────────────────────────────────────────
   TESTIMONIAL CAROUSEL
────────────────────────────────────────── */

/* Fix: Bootstrap 4 carousel items are position:relative by default which
   causes non-active slides to render below instead of behind the active one.
   Forcing the inner wrapper to clip and items to stack correctly. */
.depo-carousel-wrap .carousel-inner {
    overflow: hidden;
}

.depo-carousel-wrap .carousel-item {
    display: none;
    width: 100%;
}

.depo-carousel-wrap .carousel-item.active,
.depo-carousel-wrap .carousel-item-next,
.depo-carousel-wrap .carousel-item-prev {
    display: block;
}

.depo-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(27,46,74,0.09);
    padding: 40px 36px;
    min-height: 340px;
}

.depo-photo-wrap {
    width: 160px;
}

.depo-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid #F2A23A;
    display: block;
    margin: 0 auto;
}

.depo-name {
    font-weight: 700;
    font-size: 15px;
    color: #1B2E4A;
    line-height: 1.3;
}

.depo-position {
    font-size: 12px !important;
    color: #666;
    line-height: 1.4 !important;
    margin-top: 4px;
    margin-bottom: 4px;
}

.depo-text-wrap {
    flex: 1;
    min-width: 0;
}

.depo-quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: #F2A23A;
    font-family: Georgia, serif;
    opacity: 0.6;
    margin-bottom: -8px;
}

.depo-text {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #F2A23A #f5f5f5;
}

.depo-text::-webkit-scrollbar       { width: 5px; }
.depo-text::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 10px; }
.depo-text::-webkit-scrollbar-thumb { background: #F2A23A; border-radius: 10px; }

.depo-text p {
    font-size: 15px !important;
    color: #334075;
    line-height: 1.75 !important;
}

/* Indicators */
.depo-indicators {
    position: static;
    margin-top: 28px;
    margin-bottom: 0;
}

.depo-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    opacity: 1;
    font-size: 0 !important;
    line-height: 0 !important;
    margin-bottom: 0 !important;
}

.depo-indicators li.active {
    background-color: #F2A23A;
    transform: scale(1.2);
}

/* Arrows */
.depo-control {
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    opacity: 1;
}

.depo-control.carousel-control-prev { left: -20px; }
.depo-control.carousel-control-next { right: -20px; }

.depo-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #F2A23A;
    border-radius: 50%;
    color: #F2A23A;
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s;
}

.depo-arrow:hover {
    background: #F2A23A;
    color: #fff;
}

/* Footer */

.rede_social {
    font-size: 45px;
}

.instagram-color {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.instagram-color:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 80%;
}

.linkedin_color {
    color: #0e76a8 ;
}

/* ──────────────────────────────────────────
   TESTIMONIAL — Company logo
────────────────────────────────────────── */
.depo-logo-img {
    max-width: 90px;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.85;
    display: block;
    margin: 0 auto;
}


/* ──────────────────────────────────────────
   RESPONSIVE — mobile
────────────────────────────────────────── */
@media (max-width: 767px) {

    /* Hero */
    .falar-bem-section {
        min-height: 480px;
        align-items: flex-end;
        padding-bottom: 36px;
    }
    .falar-bem-section .bg-decorative {
        width: 100%;
        opacity: 0.15;
    }
    .falar-bem-section .photo-wrapper { width: 100%; }
    .falar-bem-section .photo-gradient {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.00)  0%,
            rgba(255,255,255,0.85) 60%,
            rgba(255,255,255,1.00) 100%
        );
    }
    .falar-bem-section .text-card {
        max-width: 100%;
        padding: 24px 20px;
        text-align: center;
        border-radius: 12px;
    }
    .falar-bem-section .text-card .title-falar { font-size: 3rem; }
    .falar-bem-section .text-card .subtitle    { font-size: 1rem; }

    .btn-especialista {
        font-size: 0.9rem;
        padding: 10px 22px;
    }

    /* Background decorator */
    .section-bg .bg-deco {
        width: 55%;
        opacity: 0.20;
    }

    /* Carousel */
    .depo-card {
        padding: 28px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .depo-photo-wrap {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 24px;
    }
    .depo-text { max-height: 220px; }
    .depo-control.carousel-control-prev { left: -10px; }
    .depo-control.carousel-control-next { right: -10px; }
}
