/* Optoclin — estilos consolidados e responsivos */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
    --navy: #092f59;
    --blue: #087fe0;
    --blue-dark: #0665b5;
    --light: #eaf5fc;
    --soft: #f6faff;
    --ink: #102a43;
    --muted: #53677e;
    --white: #ffffff;
    --border: #dfeaf3;
    --radius: 18px;
    --shadow: 0 12px 32px rgba(9, 47, 89, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 16px/1.7 "Inter", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img, svg {
    max-width: 100%;
}

img {
    height: auto;
}

h1, h2, h3 {
    margin: 0 0 18px;
    color: var(--navy);
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 20px;
    color: var(--muted);
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 12px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #f0a72d;
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 225px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav > a:not(.button) {
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav > a[aria-current="page"]:not(.button), .main-nav > a:not(.button):hover {
    color: var(--blue);
}

.menu-toggle {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    padding: 13px 21px;
    border: 2px solid var(--blue);
    border-radius: 12px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.button-small {
    padding: 10px 16px;
    white-space: nowrap;
}

.button-outline {
    background: transparent;
    color: var(--navy);
}

.button-outline:hover {
    background: var(--light);
    color: var(--navy);
}

.button-white {
    border-color: var(--white);
    background: var(--white);
    color: var(--navy);
}

.button-white:hover {
    border-color: var(--light);
    background: var(--light);
    color: var(--navy);
}

.button svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.hero {
    overflow: hidden;
    background: linear-gradient(120deg, #f4faff, #eaf5fc);
}

.hero-photo {
    position: relative;
    isolation: isolate;
    min-height: 440px;
    background: #eaf7ff;
}

.hero-photo::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background-image: linear-gradient(90deg, #eaf7ff 0%, rgba(234, 247, 255, 0.97) 28%, rgba(234, 247, 255, 0.8) 48%, rgba(234, 247, 255, 0.08) 78%),

        url("../assets/imagens/banner-equipamento.jpg");
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%;
}

.hero-photo-inner {
    display: flex;
    align-items: center;
    min-height: 440px;
    padding-block: 55px 85px;
}

.hero-photo-copy {
    max-width: 610px;
}

.hero-photo h1 {
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    line-height: 1.13;
}

.hero-photo h1 span, .hero h1 em {
    display: block;
    color: var(--blue);
    font-style: normal;
}

.hero p {
    max-width: 540px;
    font-size: 1.08rem;
}

.hero-photo p {
    margin-bottom: 0;
    color: #223b55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-photo .button {
    border-radius: 999px;
}

.hero-photo .button-hero {
    background: var(--blue);
}

.hero-photo .button-hero:hover {
    background: var(--blue-dark);
}

.hero-photo .button-whatsapp {
    background: rgba(255, 255, 255, 0.75);
}

.hero-photo .button-whatsapp:hover {
    background: var(--white);
}

.hero-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 48px;
    background: var(--blue);
    clip-path: polygon(0 52%, 25% 82%, 50% 100%, 75% 80%, 100% 48%, 100% 100%, 0 100%);
}

.features {
    border-bottom: 1px solid var(--border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 22px;
}

.feature-grid > div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 24px;
    border-right: 1px solid var(--border);
    font-weight: 600;
}

.feature-grid > div:first-child {
    padding-left: 0;
}

.feature-grid > div:last-child {
    border-right: 0;
}

.feature-grid strong {
    color: var(--blue);
    font: 700 1.5rem "Poppins", Arial, sans-serif;
}

.section {
    padding-block: 88px;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.eyebrow-light {
    color: #a9e1ff;
}

.text-link {
    color: var(--blue-dark);
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.page-hero {
    padding-block: 76px;
    background: linear-gradient(110deg, var(--light), #f9fcff);
}

.page-hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.page-hero p {
    max-width: 700px;
    margin-bottom: 0;
    font-size: 1.06rem;
}

.cards, .contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card, .contact-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #a8d6f6;
    box-shadow: 0 16px 36px rgba(9, 47, 89, 0.12);
}

.service-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.service-card p {
    margin: 0;
    font-size: 0.94rem;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 14px;
    background: var(--light);
    color: var(--blue);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.service-card:hover .service-icon {
    background: var(--blue);
    color: var(--white);
}

.contact-grid {
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.contact-card h2 {
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.contact-card p {
    margin-bottom: 20px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-card .button {
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: 12px 16px;
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.9rem;
}

.contact-card .button:hover {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
    color: var(--white);
    transform: none;
}

.note {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 12px;
    background: var(--light);
    color: var(--muted);
}

.placeholder {
    display: block;
    padding: 12px;
    border-radius: 10px;
    background: var(--light);
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 600;
}

.split, .about-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 60px;
}

.about-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: var(--light);
    box-shadow: var(--shadow);
}

.about-image img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.about-section .about-image img {
    height: 420px;
}

.image-caption {
    display: block;
    padding: 7px 12px;
    color: var(--muted);
    font-size: 0.75rem;
}

.about-content h2 {
    margin: 12px 0 22px;
}

.about-content h2 span {
    color: var(--blue);
}

.about-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.about-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 500;
}

.about-benefits svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    color: var(--blue);
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 46px 52px;
    border-radius: 22px;
    background: linear-gradient(110deg, var(--navy), #0754a1);
}

.cta h2, .cta p {
    color: var(--white);
}

.cta p {
    margin-bottom: 0;
}

.cta .button {
    flex-shrink: 0;
}

.map-container {
    width: 100%;
    margin: 24px 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--light);
    box-shadow: var(--shadow);
}

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

.site-footer {
    padding-top: 64px;
    background: #09243f;
    color: #b7c9db;
    border-top: 1px solid #173d61;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-column {
    min-width: 0;
}

.footer-column + .footer-column {
    border-left: 1px solid var(--border);
    padding-left: 44px;
    border-left-color: rgba(255, 255, 255, 0.14);
}

.footer-brand {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

.site-footer h2 {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 14px;
    font-size: 1.1rem;
    color: #f4f8fc;
}

.site-footer h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: var(--blue);
    content: "";
}

.site-footer p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.site-footer a {
    color: #f4f8fc;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #39a9ff;
}

.footer-contact {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 18px;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #39a9ff;
    stroke: currentColor;
}

.footer-navigation nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-navigation nav a::before {
    content: "›";
    margin-right: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #39a9ff;
}

.footer-social > p {
    max-width: 300px;
    margin-bottom: 24px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-social-links a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: #123654;
    color: #f4f8fc;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-social-links a:hover {
    background: #087fe0;
    border-color: #087fe0;
    color: #ffffff;
}

.footer-social-links svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-instagram-handle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f4f8fc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 22px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.88rem;
    border-top-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-column + .footer-column {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #128c45;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 78px;
    }

    .brand img {
        width: 190px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--white);
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--navy);
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 22px max(20px, calc((100vw - 1160px) / 2));
        border-bottom: 1px solid var(--border);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a:not(.button) {
        padding-block: 4px;
    }

    .cards, .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split, .about-section {
        gap: 32px;
    }

    .footer-grid {
        gap: 30px;
    }

    .hero-photo::before {
        background-image: linear-gradient(90deg, #eaf7ff 0%, rgba(234, 247, 255, 0.98) 42%, rgba(234, 247, 255, 0.56) 80%),

            url("../assets/imagens/banner-equipamento.jpg");
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding-block: 60px;
    }

    .page-hero {
        padding-block: 58px;
    }

    .hero-photo-inner {
        align-items: flex-start;
        min-height: 510px;
        padding-block: 48px 100px;
    }

    .hero-photo h1 {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    .hero-photo p {
        font-size: 1rem;
    }

    .hero-photo::before {
        background-image: linear-gradient(180deg, #eaf7ff 0%, rgba(234, 247, 255, 0.97) 48%, rgba(234, 247, 255, 0.62) 82%),

            url("../assets/imagens/banner-equipamento.jpg");
        background-position: center, right bottom;
        background-size: cover, auto 52%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-wave {
        height: 32px;
    }

    .feature-grid, .cards, .contact-grid, .split, .about-section, .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid > div, .feature-grid > div:first-child {
        padding: 13px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .feature-grid > div:last-child {
        border-bottom: 0;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card, .contact-card {
        padding: 25px;
    }

    .about-image img, .about-section .about-image img {
        height: 260px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
    }

    .footer-grid {
        gap: 28px;
    }

    .map-container iframe {
        height: 300px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 27px;
        height: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .service-card:hover, .button:hover, .whatsapp-float:hover {
        transform: none;
    }
}

.professional-card {
    max-width: 760px;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e2edf6;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(9, 47, 89, 0.06);
}

.professional-info h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.5rem;
}

.professional-info p {
    margin-bottom: 12px;
}

.professional-info p:last-child {
    margin-bottom: 0;
}

.professional-info strong {
    color: var(--blue);
}

@media (max-width: 600px) {
    .professional-card {
        padding: 24px;
    }
}

.professional-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    margin-top: 36px;
}

.professional-gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.professional-photo {
    overflow: hidden;
    background: #eaf5fc;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(9, 47, 89, 0.10);
}

.professional-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
}

.professional-photo:hover img {
    transform: scale(1.04);
}

.professional-photo-main {
    height: 440px;
}

.professional-photo-secondary {
    height: 330px;
}

.professional-details {
    min-width: 0;
}

.professional-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.professional-details h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.professional-qualification {
    color: var(--blue);
    font-size: 1rem;
    font-weight: 600;
}

.professional-divider {
    width: 56px;
    height: 3px;
    margin: 24px 0;
    background: var(--blue);
    border-radius: 10px;
}

.professional-details > p:not(.professional-qualification) {
    margin-bottom: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.professional-highlights {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

.professional-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: var(--light);
    color: var(--blue);
    border-radius: 10px;
    font-weight: 700;
}

.professional-highlight strong {
    display: block;
    margin-bottom: 2px;
    color: var(--navy);
    font-size: 0.95rem;
}

.professional-highlight p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.professional-button {
    margin-top: 8px;
}

@media (max-width: 1000px) {
    .professional-profile {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .professional-gallery {
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .professional-profile {
        gap: 28px;
    }

    .professional-gallery {
        gap: 10px;
    }

    .professional-photo-main {
        height: 320px;
    }

    .professional-photo-secondary {
        height: 240px;
    }

    .professional-photo {
        border-radius: 14px;
    }

    .professional-details h3 {
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .professional-photo img {
        transition: none;
    }

    .professional-photo:hover img {
        transform: none;
    }
}

.service-details-grid {
    align-items: stretch;
}

.service-detail-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
}

.service-detail-card h3 {
    margin-bottom: 14px;
}

.service-detail-card > p {
    flex: 1;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    padding-top: 16px;
    color: var(--blue);
    border-top: 1px solid #e2edf6;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-action:hover {
    color: var(--navy);
}

.service-action svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.service-action:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.services-info {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 64px;
}

.services-info h2 {
    margin: 12px 0 20px;
}

.services-info > div:first-child p {
    max-width: 600px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.services-info-card {
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e2edf6;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(9, 47, 89, 0.06);
}

.services-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--blue);
    background: var(--light);
    border-radius: 16px;
}

.services-info-icon svg {
    width: 28px;
    height: 28px;
}

.services-info-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
}

.services-info-card p {
    margin-bottom: 24px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .services-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .service-detail-card {
        padding: 24px;
    }

    .services-info-card {
        padding: 26px;
    }

    .service-action {
        font-size: 0.88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-action {
        transition: none;
    }
}

.instagram-section {
    background: #ffffff;
}

.instagram-card {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    align-items: center;
    gap: 48px;
    padding: 48px;
    background: #f3f9fe;
    border: 1px solid #e2edf6;
    border-radius: 24px;
}

.instagram-content h2 {
    max-width: 540px;
    margin: 12px 0 18px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.instagram-content > p {
    max-width: 520px;
    margin-bottom: 24px;
    color: var(--muted);
    line-height: 1.8;
}

.instagram-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.instagram-profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: linear-gradient(

        135deg,

        #833ab4,

        #fd1d1d,

        #fcb045

    );
    border-radius: 12px;
}

.instagram-profile strong {
    color: var(--navy);
    font-size: 1rem;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.instagram-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2edf6;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(9, 47, 89, 0.06);
}

.instagram-qr img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

.instagram-qr p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 800px) {
    .instagram-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .instagram-qr {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .instagram-card {
        padding: 24px;
        border-radius: 18px;
    }

    .instagram-content h2 {
        font-size: 1.8rem;
    }

    .instagram-qr {
        padding: 20px;
    }
}

.home-hero-eyebrow {
    margin-bottom: 16px;
    color: var(--blue-dark);
}

.feature-grid strong svg {
    display: block;
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.home-services-grid {
    align-items: stretch;
}

.home-service-card {
    height: 100%;
}

.home-service-card > p {
    line-height: 1.75;
}

.home-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--blue-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.home-service-link:hover {
    color: var(--navy);
}

.home-service-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.home-professional {
    background: var(--white);
}

.home-professional-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

.home-professional-photo {
    max-width: 420px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--light);
    box-shadow: var(--shadow);
}

.home-professional-photo img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center top;
}

.home-professional-content h2 {
    margin-bottom: 8px;
}

.home-professional-role {
    margin-bottom: 22px;
    color: var(--blue-dark);
    font-weight: 700;
}

.home-professional-content > p:not(.home-professional-role) {
    max-width: 540px;
    line-height: 1.85;
}

@media (max-width: 900px) {
    .home-professional-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .home-professional-inner {
        grid-template-columns: 1fr;
    }

    .home-professional-photo {
        width: 100%;
        max-width: 360px;
    }

    .home-professional-photo img {
        height: 360px;
    }

    .home-service-link {
        font-size: 0.9rem;
    }
}

.site-footer p, .site-footer address, .site-footer small {
    color: #b7c9db;
}

.footer-column h2::after {
    background: #39a9ff;
}

.footer-bottom small {
    color: #b7c9db;
}

.footer-bottom a {
    color: #f4f8fc;
}

.about-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    background: #eaf5fc;
    box-shadow: 0 12px 32px rgba(9, 47, 89, 0.08);
}

.about-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.about-carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.about-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Primeira foto exibida por inteiro, sem cortes. */
.about-carousel-slide:first-child {
    background: #f3f7fb;
}

.about-carousel-slide:first-child img {
    object-fit: contain;
}

.about-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(9, 47, 89, 0.65);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.about-carousel-btn:hover {
    background: #087fe0;
}

.about-carousel-prev {
    left: 14px;
}

.about-carousel-next {
    right: 14px;
}

.about-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.about-carousel-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.about-carousel-dots button.active {
    width: 24px;
    border-radius: 10px;
    background: #ffffff;
}

.about-carousel-btn:focus-visible, .about-carousel-dots button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .about-carousel {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .about-carousel {
        height: 260px;
        border-radius: 14px;
    }

    .about-carousel-btn {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-carousel-slide {
        transition: none;
    }
}

.google-reviews {
    background: #f3f8fd;
    border-top: 1px solid #e0edf8;
}

.google-reviews-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 48px;
}

.google-reviews-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.google-reviews h2 {
    margin: 0;
    color: #092f59;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.google-reviews-content > p {
    max-width: 600px;
    margin: 0;
    color: #496581;
    line-height: 1.8;
}

.google-reviews-stars {
    color: #f5b400;
    font-size: 1.8rem;
    letter-spacing: 5px;
}

.google-reviews .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 26px;
    background: #087fe0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.google-reviews .button:hover {
    background: #0669bb;
    transform: translateY(-2px);
}

.google-reviews-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e0edf8;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(9, 47, 89, 0.08);
}

.google-reviews-qr img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.google-reviews-qr p {
    margin: 0;
    color: #496581;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .google-reviews-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .google-reviews-content {
        align-items: center;
        text-align: center;
    }

    .google-reviews-qr {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .google-reviews-stars {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .google-reviews .button {
        width: 100%;
        max-width: 320px;
    }

    .google-reviews-qr {
        padding: 20px;
    }
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: #29a9ff;
}

.footer-contact-item a {
    color: #b7c9db;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.cards {
    align-items: stretch;
    grid-auto-rows: auto;
}

.service-card, .home-service-card, .service-detail-card {
    height: auto;
    min-height: 0;
}

.home-service-card > p, .service-detail-card > p {
    flex: 0 0 auto;
}

.home-service-link, .service-action {
    margin-top: auto;
}
