/* ================================================================
   Fortaleza Clínica Integrada — LP Fisioterapia Domiciliar
   Visual: Clean. Cor como ACENTO pontual.
   Ícones: SVG monocromáticos em verde.
   ================================================================ */

/* ========== RESET ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== CSS VARIABLES ========== */
:root {
    /* Verde — cor primária de acento (folhas da logo) */
    --green: #2A9657;
    --green-dark: #217A48;
    --green-light: #34A853;
    --green-bg: #F3FAF5;

    /* Azul — ajustado para ficar fiel à logo (médio, não escuro) */
    --blue: #2B7ABA;
    --blue-dark: #1A5580;
    --blue-bg: #F0F7FC;

    /* Dourado — acento pontual (hélice da logo) */
    --gold: #C89520;
    --gold-light: #E8C84A;

    /* Neutros — a base real da página */
    --white: #FFFFFF;
    --gray-50: #F7F8FA;
    --gray-100: #F0F2F5;
    --gray-200: #E2E6EB;
    --gray-300: #C8CED6;
    --gray-400: #8D95A3;
    --gray-500: #5F6878;
    --gray-600: #3D4654;
    --gray-700: #2A3140;
    --gray-800: #1A1F2B;

    /* WhatsApp */
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE57;

    /* Sistema */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --max-width: 1100px;
    --transition: all 0.3s ease;
}

/* ========== UTILITY CLASSES ========== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.section {
    padding: 60px 0;
}

.section--gray {
    background-color: var(--gray-50);
}

.section--dark {
    background-color: var(--gray-800);
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    line-height: 1.3;
}

.btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn--whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    font-size: 1.05rem;
}

.btn--whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--sm {
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 6px;
}

.btn--sm svg {
    width: 16px;
    height: 16px;
}

/* CTA Final — botão branco sobre fundo verde */
.btn--white {
    background-color: var(--white);
    color: var(--green-dark);
}

.btn--white:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn--white svg {
    color: var(--whatsapp);
}

/* Google Maps button */
.btn--maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #4285F4;
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    width: 100%;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn--maps:hover {
    background-color: #3367C7;
    transform: translateY(-1px);
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse-wa {
    0%   { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50%  { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
}

/* ========== NAVBAR ========== */
.navbar {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow 0.3s;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__logo img {
    border-radius: 4px;
}

.navbar__logo-text {
    display: flex;
    flex-direction: column;
}

.navbar__brand {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.navbar__sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== HERO SECTION ========== */
.hero {
    background-color: var(--gray-800);
    color: var(--white);
    padding: 30px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    overflow: hidden;
}

.hero__content {
    order: 2;
}

.hero__image {
    order: 1;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    background-color: rgba(42, 150, 87, 0.15);
    color: var(--green-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(42, 150, 87, 0.25);
}

.hero__title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--white);
}

.hero__subtitle {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.85;
    margin-bottom: 28px;
}

.hero__microcopy {
    margin-top: 14px;
    font-size: 0.78rem;
    opacity: 0.55;
}

.hero__image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    object-fit: cover;
    margin: 0 auto;
    width: 100%;
}

/* ========== TRUST BAR ========== */
.trust-bar {
    padding: 18px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trust-bar__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-500);
}

.trust-bar__item svg {
    color: var(--green);
    flex-shrink: 0;
}

/* ========== PAIN / DOR SECTION ========== */
.pain__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.pain__intro {
    color: var(--gray-400);
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.pain__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.pain-card {
    background-color: var(--white);
    border-left: 4px solid var(--green);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 12px;
}

.pain-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pain-card__icon {
    grid-row: 1;
    grid-column: 1;
    color: var(--green);
    margin-top: 2px;
}

.pain-card__title {
    grid-row: 1;
    grid-column: 2;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0;
    align-self: center;
}

.pain-card__text {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-top: 8px;
}

.pain__transition {
    margin-top: 36px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--green-dark);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== SOLUTION / COMO FUNCIONA ========== */
.solution__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--white);
}

.solution__blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.solution-block {
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: var(--transition);
}

.solution-block:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.solution-block__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.solution-block__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.solution-block__text {
    font-size: 0.92rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* ========== CTA INLINE (mid-page) ========== */
.cta-inline {
    padding: 40px 0;
    background-color: var(--green-bg);
    border-top: 3px solid var(--green);
    text-align: center;
}

.cta-inline__text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== DIFERENCIAIS / BENEFÍCIOS ========== */
.diff__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 36px;
}

.diff__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.diff-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.diff-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--green);
}

.diff-card__icon {
    width: 56px;
    height: 56px;
    background-color: var(--green-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--green);
}

.diff-card__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.diff-card__text {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========== DOCTOR / AUTHORITY SECTION ========== */
.doctor {
    padding: 60px 0;
}

.doctor__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.doctor__image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

.doctor__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.doctor__specialty {
    font-size: 0.88rem;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 16px;
}

.doctor__bio {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.doctor__crm {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* Specialty Pills */
.specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.specialty-pill {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--green-bg);
    color: var(--green-dark);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(42, 150, 87, 0.15);
}

/* ========== FAQ SECTION ========== */
.faq__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 32px;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 0 24px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    padding: 20px 0;
    user-select: none;
}

.faq-question__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: left;
}

.faq-question__icon {
    font-size: 1.5rem;
    color: var(--green);
    transition: var(--transition);
    flex-shrink: 0;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer__text {
    padding-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question__icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question__text {
    color: var(--green-dark);
}

/* ========== CLÍNICA / MAPA ========== */
.clinic__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.clinic__intro {
    color: var(--gray-400);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
}

.clinic__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.clinic__detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    text-align: left;
}

.clinic__detail svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

.clinic__detail strong {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-700);
    margin-bottom: 2px;
}

.clinic__detail p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.clinic__detail a {
    color: var(--green);
    font-weight: 500;
}

.clinic__detail a:hover {
    color: var(--green-dark);
}

.clinic__map iframe {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

/* ========== CTA FINAL ========== */
.cta-final {
    background-color: var(--green-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-final__title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}

.cta-final__text {
    font-size: 1rem;
    opacity: 0.88;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.cta-final__info {
    margin-top: 20px;
    font-size: 0.82rem;
    opacity: 0.55;
}

.cta-final__info strong {
    color: var(--white);
    opacity: 1;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--gray-800);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.footer__logo {
    margin-bottom: 12px;
}

.footer__logo img {
    border-radius: 4px;
}

.footer__info {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer__info p {
    margin-bottom: 3px;
}

.footer__social {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer__social a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 16px;
}

.footer__links {
    margin-top: 8px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

.footer__links a:hover {
    color: var(--white);
}

/* ========== RESPONSIVE ========== */

/* Mobile */
@media (max-width: 767px) {
    .navbar__logo-text {
        display: none;
    }

    .faq-question__text,
    .faq-answer__text {
        text-align: left;
    }

    .footer {
        text-align: center;
    }

    .clinic__detail {
        justify-content: flex-start;
    }

    /* 1 — remover foto do hero no celular */
    .hero__image {
        display: none;
    }

    /* 2 — centralizar logo do rodapé no celular */
    .footer__logo {
        display: flex;
        justify-content: center;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .hero__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__content {
        order: 1;
    }

    .hero__image {
        order: 2;
        display: block;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .pain__cards {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    .solution__blocks {
        grid-template-columns: 1fr 1fr;
    }

    .diff__grid {
        grid-template-columns: 1fr 1fr;
    }

    .doctor__grid {
        grid-template-columns: 300px 1fr;
    }

    .clinic__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 40px 0 80px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .solution__blocks {
        grid-template-columns: repeat(4, 1fr);
    }

    .diff__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-final__title {
        font-size: 2rem;
    }
}

/* ========== PRINT ========== */
@media print {
    .navbar,
    .floating-whatsapp,
    .btn,
    .cta-inline,
    .cta-final {
        display: none !important;
    }

    body {
        color: #000;
    }

    .hero,
    .section--dark {
        background: none;
        color: #000;
    }

    .hero__title,
    .solution__title,
    .solution-block__title {
        color: #000;
    }
}
