/* =========================================================================
   Dr. Marco Ude — Ortopedista e Traumatologista | Cirurgia da Mão · Lorena-SP
   Paleta: #293681 · #4274D9 · #95CCDD · #D0E7E6
   Fonte: Outfit.
   ========================================================================= */

:root {
    /* Marca — paleta de azuis */
    --primary:        #293681;   /* azul marinho — cor principal */
    --primary-dark:   #1B2560;   /* azul marinho escuro p/ contraste */
    --primary-light:  #4274D9;   /* azul médio */
    --secondary:      #95CCDD;   /* azul claro */
    --accent:         #4274D9;   /* azul médio — cor de destaque */
    --accent-dark:    #2C58B0;   /* azul médio escuro p/ hover */
    --accent-soft:    #D0E7E6;   /* azul bem claro p/ fundos */

    --background:     #F7FBFB;
    --white:          #FFFFFF;
    --text:           #202B4D;
    --text-muted:     #5C6C8A;

    /* Tokens genéricos usados pelo layout */
    --color-bg: var(--background);
    --color-bg-soft: #EAF3F3;
    --color-surface: var(--white);
    --color-text: var(--text);
    --color-text-muted: var(--text-muted);
    --color-heading: var(--primary-dark);
    --color-border: #DCE7E8;

    --bg-lavender: #EEF2FA;
    --bg-mint:     #D0E7E6;   /* leve azul-esverdeado */
    --bg-beige:    #E9F3F4;
    --bg-gray:     #EEF2F4;

    --font-heading: 'Outfit', 'Outfit Fallback', Arial, sans-serif;
    --font-body: 'Outfit', 'Outfit Fallback', Arial, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 8px 24px rgba(27, 37, 96, 0.06);
    --shadow-md: 0 18px 44px rgba(27, 37, 96, 0.12);
    --shadow-hover: 0 24px 60px rgba(27, 37, 96, 0.16);

    --container: 1180px;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/woff2/Outfit-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: optional;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/woff2/Outfit-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: optional;
}
/* Fallback com métricas ajustadas ao Outfit (ascent/descent/size-adjust calculados
   a partir dos próprios arquivos .woff2), para que o texto renderizado com a fonte
   do sistema (antes do Outfit carregar) ocupe a mesma altura/largura e não cause
   mudança de layout (CLS) quando a troca de fonte acontece. */
@font-face {
    font-family: 'Outfit Fallback';
    src: local('Arial');
    ascent-override: 158.5%;
    descent-override: 41.2%;
    line-gap-override: 0%;
    size-adjust: 63.1%;
}

* { box-sizing: border-box; }

html { background: var(--background); scroll-behavior: smooth; overflow-x: hidden; }

body {
    overflow-x: hidden;
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-heading); line-height: 1.15; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(66,116,217,.20); color: var(--primary-dark); }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(66,116,217,.35);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.6rem;
    border-radius: 100px;
    border: 2px solid transparent;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all .22s ease;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(41,54,129,.20);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(27,37,96,.26);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(66,116,217,.24);
}
.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: rgba(255,255,255,.85);
    border-color: var(--color-border);
    color: var(--primary-dark);
}
.btn-outline:hover {
    border-color: var(--accent);
    background-color: var(--white);
    color: var(--accent-dark);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(66,116,217,.24);
}
.btn-whatsapp:hover { background-color: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 400;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow .2s ease;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 500;
    font-size: 1.18rem;
    color: var(--primary-dark);
    letter-spacing: -.01em;
    white-space: nowrap;
}
.logo-img {
    height: 42px;
    width: auto;
    display: block;
    margin-bottom: 5px;
}
.logo-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    line-height: 1.15;
}
.logo-dot { color: var(--accent); }
.logo-tagline {
    font-size: .68rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-muted);
}
.nav-menu { display: flex; align-items: center; gap: 1.4rem; }
.nav-list { display: flex; align-items: center; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--primary-dark); font-size: .96rem; }
.nav-list a:hover { color: var(--accent-dark); }
.btn-nav { padding: .6rem 1.15rem; font-size: .92rem; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: all .3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    min-height: calc(100vh - 73px);
    min-height: calc(100svh - 73px);
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    position: relative;
}
.hero-container {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 28px;
    align-items: center;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: .82rem;
    font-weight: 500;
    padding: .4rem .85rem;
    border-radius: 100px;
    margin-bottom: 1.1rem;
}
.hero-title {
    font-size: clamp(1.9rem, 3vw + 1.6vh, 3.4rem);
    margin: 0 0 1rem;
    color: var(--primary-dark);
}
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 18px; color: var(--text); margin: 0 0 1.3rem; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.2rem; }
.hero-quick-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .92rem; }
.hero-quick-links a {
    color: var(--accent-dark);
    border-bottom: 1px solid rgba(66,116,217,.4);
    padding-bottom: 1px;
}
.hero-quick-links a:hover { color: var(--primary-dark); border-bottom-color: var(--primary-dark); }
.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--secondary);
    box-shadow: 0 28px 70px rgba(27,37,96,.18);
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 700px);
    margin: 0 auto;
}
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-crm {
    margin: .75rem 0 0;
    color: var(--primary);
    text-align: center;
}
.hero-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-size: 1rem; text-align: center; padding: 2rem;
}

/* ---------- Seções ---------- */
.section { padding: var(--space-lg) 0; }
.section-alt { background-color: var(--bg-mint); }
.section-gray { background-color: var(--bg-gray); }
.section-header { max-width: 720px; margin: 0 auto var(--space-md); text-align: center; }
.section-eyebrow {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 500;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .6rem;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0 0 .8rem; }
.section-subtitle, .section-text { color: var(--text); font-size: 1.05rem; margin: 0 0 1rem; }
.text-left { text-align: left; margin-left: 0; }

/* ---------- Grid de cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background-color: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}
.card-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    color: var(--accent-dark);
    margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin: 0 0 .5rem; color: var(--primary-dark); }
.card p { color: var(--text); margin: 0 0 .8rem; font-size: .98rem; }
.card-link {
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--accent-dark); font-weight: 500; font-size: .95rem;
}
.card-link:hover { color: var(--primary-dark); }
.card-link::after { content: "→"; }

/* ---------- Depoimentos de pacientes ---------- */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-stars { color: var(--accent); letter-spacing: .12em; margin-bottom: .7rem; font-size: 1rem; }
.testimonial-quote { color: var(--text); font-size: .98rem; font-style: italic; margin: 0 0 1.3rem; }
.testimonial-author { margin-top: auto; }
.testimonial-name { font-weight: 600; color: var(--primary-dark); font-size: .95rem; margin: 0; }

/* ---------- Bloco sobre / imagem + texto ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 5;
    background: var(--secondary);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.list-check { list-style: none; padding: 0; margin: 1.2rem 0; }
.list-check li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; color: var(--text); }
.list-check li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    width: 1.35rem; height: 1.35rem;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
}

/* ---------- Faixa destaque (posicionamento / CTA) ---------- */
.band {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}
.band .section-title, .band p { color: #fff; }
.band .section-eyebrow { color: var(--accent-soft); }
.band .btn-primary { background: #fff; color: var(--primary-dark); }
.band .btn-primary:hover { background: var(--accent-soft); color: var(--primary-dark); }
.band .btn-outline { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.band .btn-outline:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- Atendimento / convênios card destaque ---------- */
.atendimento-feature {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    position: relative;
    overflow: hidden;
}
.atendimento-feature::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -130px;
    top: -150px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}
.atendimento-feature h2, .atendimento-feature p { color: #fff; }
.atendimento-feature .atendimento-copy a { color: #fff; text-decoration: underline; }
.atendimento-feature .atendimento-copy a:hover { color: var(--accent-soft); }
.atendimento-feature h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: .35rem 0 .8rem; }
.atendimento-feature .section-eyebrow { color: var(--accent-soft); }
.atendimento-feature .tag-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 1.4rem; }
.atendimento-copy, .atendimento-details { position: relative; z-index: 1; }
.atendimento-highlights { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin-top: 1.35rem; }
.atendimento-highlights span { color: #fff; font-size: .92rem; }
.atendimento-highlights span::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .45rem; }
.atendimento-details { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); padding: 1.5rem; }
.atendimento-label { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.atendimento-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.atendimento-actions .btn-primary { background: var(--accent); color: #fff; }
.atendimento-actions .btn-primary:hover { background: var(--accent-dark); }
.atendimento-actions .btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.atendimento-actions .btn-outline:hover { background: #fff; border-color: #fff; color: var(--primary-dark); }
.tag {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
    padding: .35rem .8rem;
    border-radius: 100px;
    font-size: .85rem;
}
.tag-solid {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--primary-dark);
}

/* ---------- Convênio badges (grid) ---------- */
.convenio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.convenio-item {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.4rem 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
}
.convenio-item:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.convenio-item span { display: block; font-size: .82rem; color: var(--text-muted); font-weight: 400; margin-top: .25rem; }

/* ---------- FAQ Accordion ---------- */
.faq-container { max-width: 820px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 2.2rem 1.25rem 0;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--primary-dark);
    cursor: pointer;
    position: relative;
}
.accordion-header:hover { color: var(--accent-dark); }
.accordion-header::after {
    content: "+";
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform .2s ease;
}
.accordion-item.active .accordion-header::after { content: "−"; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-content p { color: var(--text); padding: 0 0 1.25rem; margin: 0; }

/* ---------- Page title (páginas internas) ---------- */
.page-title {
    padding: 60px 0 40px;
    background: var(--background);
    text-align: center;
}
.page-title h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 .6rem; }
.page-title p { color: var(--text); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--primary); }

/* ---------- Prose (conteúdo longo) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; color: var(--accent-dark); }
.prose p { margin: 0 0 1.1rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose a { border-bottom: 1px solid rgba(66,116,217,.4); }

/* ---------- Localização ---------- */
.map-embed { display: block; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 0; }
.info-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
}
.info-card h3 { margin-top: 0; }
.info-row { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; }
.info-row svg { flex-shrink: 0; color: var(--accent-dark); margin-top: 3px; }
.location-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }

/* ---------- WhatsApp float ---------- */
.fab-contato {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(27,37,96,.34);
    z-index: 350;
    transition: all .2s ease;
    transform: translateZ(0);
    will-change: transform;
    isolation: isolate;
}
.fab-contato:hover { background-color: var(--primary); transform: scale(1.06); }
.fab-contato.d-none { display: none; }

/* ---------- Footer ---------- */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,.82);
    padding: 3.2rem 0 1.5rem;
    margin-top: var(--space-lg);
}
.footer-container {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(120px, .7fr));
    gap: 2rem 1.5rem;
}
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: #fff; }
.footer-logo { color: #fff; font-size: 1.15rem; font-weight: 500; display: inline-block; margin-bottom: .6rem; }
.footer-logo span { color: var(--accent); }
.footer-crm, .footer-desc { font-size: .88rem; margin: .3rem 0; }
.footer-desc { margin-top: .8rem; }
.footer-local { margin-top: 1rem; font-size: .86rem; }
.footer-local-subtitle { color: #fff; font-weight: 500; margin-bottom: .3rem; }
.footer-title { color: #fff; font-weight: 500; margin: 0 0 .8rem; }
.footer-links-group ul { list-style: none; margin: 0; padding: 0; }
.footer-links-group li { margin-bottom: .5rem; font-size: .9rem; }
.disclaimer-medico {
    border-top: 1px solid rgba(149,204,221,.2);
    margin-top: 2.4rem;
    padding-top: 1.5rem;
}
.disclaimer-medico p { font-size: .8rem; color: rgba(255,255,255,.62); max-width: 900px; }
.footer-bottom {
    border-top: 1px solid rgba(149,204,221,.2);
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    font-size: .82rem;
}
.footer-credit { color: rgba(255,255,255,.62); margin-top: .4rem; }
.footer-credit a { color: rgba(255,255,255,.82); text-decoration: underline; }
.footer-credit a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.98);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(27,37,96,.08);
    padding: 1rem 0;
    z-index: 300;
    transform: translateY(120%);
    transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.cookie-content p { margin: 0; font-size: .88rem; color: var(--text); }
.cookie-content p a { text-decoration: underline; }

/* ---------- Animações ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        inset: 72px 0 0 0;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.4rem;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
    }
    .nav-menu.mobile-active { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 1.2rem; width: 100%; }
    .nav-list a { font-size: 1.1rem; }
    .btn-nav { width: 100%; }
    .mobile-menu-btn { display: flex; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { padding: 1.5rem 0; }
    .hero-container { grid-template-columns: 1fr; gap: 20px; }
    .hero-image-wrapper { width: 100%; max-width: none; max-height: none; aspect-ratio: auto; }
    .hero-image-wrapper img { display: block; width: 100%; height: auto; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .atendimento-feature { grid-template-columns: 1fr; gap: 1.5rem; }
    .atendimento-actions .btn { width: 100%; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .band { padding: 2rem 1.4rem; }
    .footer-container { grid-template-columns: 1fr; }
    .hero-actions .btn, .band .btn { width: 100%; }
    #quando-procurar .btn { width: 100%; }
    .btn-mobile-block { width: 100%; }
}

@media (min-width: 769px) and (max-height: 700px) {
    .hero-quick-links { display: none; }
    .hero-badge { margin-bottom: .6rem; }
    .hero-image-wrapper { max-height: 56vh; }
}

@media (min-width: 641px) and (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Botão "Fonte preferida no Google" ---------- */
.fp-btn{display:inline-flex;align-items:center;gap:.6rem;padding:.8rem 1.3rem;border:0;border-radius:999px;background:#293681;color:#fff!important;font:600 .95rem/1.2 inherit;text-decoration:none!important;cursor:pointer;box-shadow:0 4px 14px rgba(41,54,129,.25);transition:background .2s,transform .2s}
.fp-btn:hover,.fp-btn:focus-visible{background:#1f2963;transform:translateY(-1px);outline:none}
.fp-btn svg{width:18px;height:18px;flex:none;stroke:#fff}
.fp-box{margin:2.5rem 0;padding:1.25rem 1.5rem;border:1px solid #e5e7eb;border-radius:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.fp-box p{margin:0;max-width:34rem;color:#4b5563;font-size:.95rem}
