/* PALETA E FONTES */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap');

:root {
    --primary: #094770;    /* Azul */
    --secondary: #7DB5BE;  /* Verde Água */
    --accent: #EFE1D8;     /* Bege */
    --white: #FFFFFF;
    --dark-footer: #063452; /* Tom mais escuro para o rodapé */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Quicksand', sans-serif;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@media (min-width: 969px) {
  .sobre-photo-wrap{
    transform: rotate(-0.5deg);
  }
  .sobre-photo{
    transform: scale(1.05);
  }
  .sobre-photo-wrap:hover{
    transform: rotate(0deg) translateY(-4px);
    transition: 0.25s ease;
  }
}

@media (min-width: 969px) {
  .sobre-grid{
    grid-template-columns: 1.05fr 0.95fr; /* antes: 1.2fr 0.8fr */
  }
}


.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* HEADER & NAV */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 700; transition: 0.3s; }
.btn-cta-nav { background: var(--primary); color: white !important; padding: 0.7rem 1.5rem; border-radius: 50px; }

/* HERO SECTION (Desktop Side-by-Side) */
.hero { padding: 60px 0; background: linear-gradient(135deg, #fff 50%, var(--accent) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-text h1 { font-size: 3rem; color: var(--primary); line-height: 1.1; margin-bottom: 20px; }
.hero-image img { width: 100%; border-radius: 30px; box-shadow: 20px 20px 0 var(--secondary); }

/* SEÇÃO DE FORMAÇÃO (Grid Estilizado) */
.formacao { padding: 80px 0; background: var(--white); }
.section-title { text-align: center; color: var(--primary); font-size: 2.5rem; margin-bottom: 50px; }
.grid-formacao { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-formacao { background: var(--accent); padding: 30px; border-radius: 20px; text-align: center; transition: 0.3s; }
.card-formacao:hover { transform: translateY(-5px); }
.card-formacao i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }

/* ============================
   NOVA SEÇÃO: SOBRE / HISTÓRIA
   Texto à esquerda + Foto à direita
============================ */
.sobre {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 60%, #ffffff 100%);
}

.sobre-card {
    background: #fff;
    border: 1px solid rgba(9, 71, 112, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    overflow: hidden;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    align-items: stretch;
}

/* Coluna texto */
.sobre-text {
    padding: 44px 44px 46px 44px;
}

.sobre-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(125, 181, 190, 0.18);
    padding: 10px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.sobre-title {
    font-size: 2.2rem;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 18px;
}

.sobre-body p {
    color: #4c5a66;
    line-height: 1.85;
    font-size: 1.03rem;
    margin-bottom: 14px;
}

/* pills */
.sobre-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.sobre-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(9, 71, 112, 0.12);
    background: rgba(239, 225, 216, 0.45);
    color: #1f2b36;
    font-weight: 700;
    font-size: 0.92rem;
}

.sobre-pill i {
    color: var(--primary);
}

/* CTAs */
.sobre-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn-sobre-primary,
.btn-sobre-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 14px;
    padding: 12px 16px;
    transition: 0.25s ease;
}

.btn-sobre-primary {
    background: #25d366;
    color: #fff;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.25);
}

.btn-sobre-primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.98);
}

.btn-sobre-secondary {
    background: rgba(9, 71, 112, 0.06);
    color: var(--primary);
    border: 1px solid rgba(9, 71, 112, 0.16);
}

.btn-sobre-secondary:hover {
    transform: translateY(-2px);
    background: rgba(9, 71, 112, 0.08);
}

/* Nota */
.sobre-note {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(31, 43, 54, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
}

.sobre-note i {
    color: var(--secondary);
    margin-top: 2px;
}

/* Coluna mídia */
.sobre-media {
    position: relative;
    padding: 34px;
    background: radial-gradient(circle at 20% 20%, rgba(125, 181, 190, 0.25), transparent 55%),
                radial-gradient(circle at 80% 30%, rgba(239, 225, 216, 0.55), transparent 55%),
                linear-gradient(135deg, rgba(9, 71, 112, 0.06), rgba(255,255,255,0));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.sobre-photo-wrap {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(9, 71, 112, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    background: #fff;
}

.sobre-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.sobre-badge {
    border-radius: 18px;
    padding: 16px 16px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(9, 71, 112, 0.10);
    backdrop-filter: blur(10px);
}

.sobre-badge-title {
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 6px;
}

.sobre-badge-sub {
    color: rgba(31, 43, 54, 0.75);
    font-weight: 700;
    font-size: 0.95rem;
}

/* SERVIÇOS - ACORDEÃO (Desktop e Mobile) */
.servicos { padding: 80px 0; background: #fdfdfd; }
.accordion { max-width: 900px; margin: 0 auto; }
.acc-item { margin-bottom: 15px; border-radius: 12px; overflow: hidden; border: 1px solid #eee; background: white; }

.acc-header {
    background: var(--white);
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.acc-header:hover { background: #f8fbff; }
.acc-content { max-height: 0; overflow: hidden; transition: 0.4s ease-out; background: white; }

.acc-body { padding: 0 30px 30px 30px; color: #555; line-height: 1.8; }
.acc-item.active .acc-content { max-height: 1000px; padding-top: 10px; }
.acc-item.active .acc-header { color: var(--secondary); }

.btn-whatsapp-acc {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* RODAPÉ ESTILO PSICOBÊ (Garantindo CSS no Desktop) */
footer { background: var(--primary); color: var(--white); padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 50px; }
.footer-logo { height: 80px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-text { opacity: 0.8; font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; }

/* Ícones Sociais Circulares */
.social-links { display: flex; gap: 15px; }
.social-item {
    width: 45px; height: 45px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: white; text-decoration: none; transition: 0.3s;
}
.social-item:hover { background: var(--secondary); transform: translateY(-3px); }

.footer-col h4 { font-size: 1.3rem; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--secondary); }

.footer-menu { list-style: none; }
.footer-menu li { margin-bottom: 15px; }
.footer-menu a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; }
.footer-menu a:hover { color: var(--white); padding-left: 5px; }

.contact-box { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; color: rgba(255,255,255,0.8); }
.contact-box i { color: var(--secondary); font-size: 1.2rem; margin-top: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* RESPONSIVIDADE (Mobile Fixes) */
@media (max-width: 968px) {

    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-image { order: -1; }

    .grid-formacao { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .social-links { justify-content: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }

    .nav-links { display: none; } /* Simplicidade mobile */

    /* SOBRE: versão mobile bacana */
    .sobre { padding: 56px 0; }
    .sobre-grid { grid-template-columns: 1fr; }

    .sobre-media {
        order: -1; /* Foto primeiro no mobile (impacto visual) */
        padding: 22px;
    }

    .sobre-photo {
        height: 300px;
    }

    .sobre-text {
        padding: 26px 22px 28px 22px;
        text-align: left;
    }

    .sobre-title {
        font-size: 1.7rem;
        margin-bottom: 14px;
    }

    .sobre-kicker {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .sobre-body p {
        font-size: 1.0rem;
        line-height: 1.85;
    }

    .sobre-cta {
        gap: 10px;
    }

    .btn-sobre-primary,
    .btn-sobre-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        border-radius: 14px;
    }
}
/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: all 0.25s ease;
    text-decoration: none;
}

/* hover premium */
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    background: #1ebe5d;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55);
}

/* mobile ajustado */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
		z-index: 2147483647;
    }
}
.whatsapp-float::after {
    content: "Fale conosco";
    position: absolute;
    right: 78px;
    background: #094770;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px);
    transition: 0.2s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .whatsapp-float {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}


