@import url(../global/global.css);

/* ── Base ────────────────────────────────────────────────────────────────── */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #f4f6f5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — padrão compartilhado com todas as páginas
═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    background-color: var(--color-primary);
    padding: 6rem 0 8rem;
    overflow: hidden;
    z-index: 0;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.75rem;
}

.page-hero__title {
    font-family: 'Lora', serif;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.page-hero__title em {
    font-style: italic;
    color: var(--color-secondary, #a8d5b5);
}

.page-hero__sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.page-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero__accent {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #f4f6f5;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 1;
}

/* ── Botões Hero ─────────────────────────────────────────────────────────── */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-btn--primary {
    background: #fff;
    color: var(--color-primary);
}

.hero-btn--outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.hero-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.hero-btn--white {
    background: #fff;
    color: var(--color-primary);
}

.hero-btn--outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.55);
}

.hero-btn--outline-white:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS — padrão compartilhado
═══════════════════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-secondary, #4caf50);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 1rem;
    color: #777;
    font-weight: 300;
    margin: 0;
}

.section-header--light .section-title,
.section-header--light .section-sub {
    color: #fff;
}

.section-header--light .section-label {
    color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PILLAR CARDS (Missão / Visão / Valores)
═══════════════════════════════════════════════════════════════════════════ */
.cards-section {
    padding: 4rem 0 4rem;
    transform: translateY(-2.5rem);
}

.pillar-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.13);
}

.pillar-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-card__img {
    transform: scale(1.04);
}

.pillar-card__body {
    padding: 1.5rem;
}

.pillar-card__icon {
    font-size: 1.5rem;
    color: var(--color-secondary, #4caf50);
    margin-bottom: 0.75rem;
}

.pillar-card__title {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.pillar-card__text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVIÇOS
═══════════════════════════════════════════════════════════════════════════ */
.services-section {
    background: #fff;
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 991.98px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.06);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover {
    background: #f4f6f5;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.service-item__icon {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-item__title {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.service-item__text {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DEPOIMENTOS
═══════════════════════════════════════════════════════════════════════════ */
.testimonial-section {
    background-color: var(--color-primary);
    padding: 5rem 0;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.testimonial-card__quote {
    font-size: 2rem;
    color: var(--color-secondary, #a8d5b5);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-card__author strong {
    color: #fff;
    font-size: 0.9rem;
}

.testimonial-card__author span {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════════════════ */
.cta-section {
    background: color-mix(in srgb, var(--color-primary) 85%, #000);
    padding: 5rem 0;
}

.cta-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-section__title {
    font-family: 'Lora', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cta-section__title em {
    font-style: italic;
    color: var(--color-secondary, #a8d5b5);
}

.cta-section__sub {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin: 0;
}

.cta-section__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .cta-section__inner { flex-direction: column; text-align: center; }
    .cta-section__actions { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAPA
═══════════════════════════════════════════════════════════════════════════ */
.map-section {
    padding: 4rem 0 0;
    background: #f4f6f5;
}

.map-frame {
    height: 420px;
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMAÇÕES
═══════════════════════════════════════════════════════════════════════════ */
.fade-in-up, .fade-in-down, .fade-in-left, .fade-in-right {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.65s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up    { animation-name: fadeInUp; }
.fade-in-down  { animation-name: fadeInDown; }
.fade-in-left  { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeInUp    { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown  { from { opacity:0; transform:translateY(-24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-24px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:translateX(0); } }