* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 999;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

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

.main-nav>a:not(.btn) {
    position: relative;
}

.main-nav>a:not(.btn):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: .2s;
}

.main-nav>a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--green);
    margin: 5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    border: 2px solid var(--green);
    transition: .2s;
}

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

.btn-small {
    min-height: 42px;
    padding: 0 19px;
}

.btn-ghost {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--green);
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--green);
}

.btn-outline:hover {
    color: #fff;
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--green);
}

.hero {
    position: relative;
    min-height: 670px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/hero/Home.jpg") center/cover no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(8,42,40,.88) 0%,rgba(8,42,40,.7) 40%,rgba(8,42,40,.18) 75%,rgba(8,42,40,.08) 100%);
}

.hero-content {
    position: relative;
    color: #fff;
    padding: 90px 0;
    max-width: 760px;
    margin-left: max(20px,calc((100vw - var(--container))/2));
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .76rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 12px;
}

.hero .eyebrow {
    color: #f4d39d;
}

.hero h1 {
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(3rem,6vw,5.4rem);
    line-height: 1.02;
    margin: 0 0 22px;
    max-width: 850px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 670px;
    margin: 0 0 32px;
    color: rgba(255,255,255,.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section {
    padding: 94px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.copy-block h2,.section-heading h2,.visit-inner h2,.contact-preview h2 {
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(2.3rem,4vw,3.7rem);
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--green-dark);
}

.copy-block p {
    font-size: 1.05rem;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 12px;
    font-weight: 800;
    color: var(--green);
}

.media-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-heading.left {
    text-align: left;
    margin-left: 0;
}

.section-heading.compact {
    margin-bottom: 34px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.care-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(22,67,62,.08);
}

.care-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.care-card>div {
    padding: 26px;
}

.care-card h3,.feature-grid h3 {
    font-family: Georgia,"Times New Roman",serif;
    font-size: 1.55rem;
    color: var(--green-dark);
    margin: 0 0 10px;
}

.care-card p,.feature-grid p {
    margin: 0;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.feature-grid article {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;
    background: #fff;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-item {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-wide {
    grid-column: span 2;
    grid-row: span 2;
}

.center-action {
    text-align: center;
    margin-top: 32px;
}

.quote-section {
    background: var(--green);
    color: #fff;
    padding: 68px 0;
}

.quote-inner {
    text-align: center;
}

.quote-inner p {
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(2rem,4vw,3.7rem);
    line-height: 1.25;
    margin: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
}

.mission-grid article {
    padding: 10px 28px 10px 0;
    border-right: 1px solid var(--line);
}

.mission-grid article:last-child {
    border-right: 0;
}

.mission-grid .mission-marker {
    display: inline-block;
    color: var(--gold);
    font-size: 1em;
    font-weight: 900;
    line-height: 1;
}

.mission-grid h2 {
    font-family: Georgia,"Times New Roman",serif;
    font-size: 2rem;
    color: var(--green-dark);
    margin: 5px 0 12px;
}

.mission-grid p {
    color: var(--muted);
    margin: 0;
}

.visit-section {
    background: linear-gradient(120deg,var(--green-dark),var(--green));
    color: #fff;
    padding: 70px 0;
}

.visit-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.visit-inner h2 {
    color: #fff;
    margin-bottom: 10px;
}

.visit-inner p {
    margin: 0;
    color: rgba(255,255,255,.85);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.contact-links {
    display: grid;
    gap: 12px;
}

.contact-links a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-links strong {
    color: var(--green);
}

.site-footer {
    background: #092f2d;
    color: #dbe8e5;
    padding: 58px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 1fr 1fr;
    gap: 32px;
    padding: 54px 0 34px;
}

.footer-grid h2 {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 12px;
}

.footer-grid>div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid p {
    max-width: 360px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 38px;
    padding-top: 20px;
    font-size: .88rem;
    color: #a8bfbb;
}

@media (max-width:900px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(0,0,0,.08);
    }

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

    .main-nav .btn {
        width: 100%;
    }

    .hero {
        min-height: 610px;
    }

    .hero-content {
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .split-layout,.contact-grid {
        grid-template-columns: 1fr;
    }

    .care-grid,.feature-grid,.mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 20px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .visit-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .footer-brand-wrap {
        grid-column: 1/-1;
    }
}

@media (max-width:620px) {
    .container {
        width: min(calc(100% - 28px),var(--container));
    }

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 125px;
    }

    .main-nav {
        top: 76px;
    }

    .hero {
        min-height: 580px;
    }

    .hero-overlay {
        background: linear-gradient(90deg,rgba(8,42,40,.9),rgba(8,42,40,.62));
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.03rem;
    }

    .section {
        padding: 70px 0;
    }

    .care-grid,.feature-grid {
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .contact-links a {
        flex-direction: column;
        gap: 2px;
    }

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

    .footer-brand-wrap {
        grid-column: auto;
    }
}

/* =========================================================
   IDENTIDADE VISUAL — RECANTO NOVA CANAÃ
   Regras globais compartilhadas por todas as páginas
   ========================================================= */

:root {
    --white: #fff;
    --green: #124d4a;
    --green-dark: #0d3937;
    --green-soft: #eaf3ef;
    --gold: #b98b49;
    --ink: #243332;
    --muted: #677774;
    --line: #dfe7e4;
    --shadow: 0 18px 45px rgba(21,62,58,.12);
    --radius: 22px;
    --container: 1180px;
    --paper: #d9dad4;
    --paper-soft: #e4e5df;
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(217,218,212,.97);
    border-bottom: 1px solid rgba(18,77,74,.08);
    transition: .25s;
}

.section:not(.section-soft):not(.quote-section):not(.visit-section) {
    background: var(--paper);
}

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

.care-card,.feature-grid article {
    background: var(--paper-soft);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 700;
    font-size: .95rem;
    background: var(--paper);
}

/* Cabeçalho único para todas as páginas */

.brand img {
    width: min(120px,32vw);
    height: auto;
    max-height: none;
    object-fit: contain;
}

/* Rodapé único para todas as páginas */

.footer-brand-wrap img {
    width: auto;
    background: transparent;
    border-radius: 0;
    height: 90px;
}

/* Localização / mapa */

.contact-grid--with-map {
    grid-template-columns: 1fr 1.25fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.contact-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(22,67,62,.10);
    border: 1px solid var(--line);
    background: var(--paper-soft);
}

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

.contact-map-link {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-weight: 800;
    color: var(--green);
    background: var(--paper-soft);
}

/* =========================================================
   QUEM SOMOS
   Somente conteúdo interno da página; cabeçalho e rodapé
   continuam usando exclusivamente as regras globais acima.
   ========================================================= */

.page-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background: #173f3b;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background: url("../images/hero/QuemSomos.jpg") center 65%/cover no-repeat;
    transform: scale(1.01);
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(10,48,44,.82) 0%,rgba(10,48,44,.55) 45%,rgba(10,48,44,.18) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 150px;
    padding-bottom: 68px;
    max-width: 760px;
    color: #fff;
}

.page-hero__content .eyebrow {
    color: #ead59a;
}

.page-hero__content h1 {
    font-size: clamp(2.5rem,5vw,4.7rem);
    line-height: 1.02;
    margin: .4rem 0 1rem;
    color: #fff;
}

.page-hero__content p {
    font-size: clamp(1.05rem,1.8vw,1.28rem);
    line-height: 1.7;
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.93);
}

.story-layout {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 64px;
    align-items: center;
}

.story-copy p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0 0 1rem;
}

.story-photo {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(21,60,55,.14);
}

.story-photo img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.care-principles {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-top: 38px;
}

.care-principles article {
    padding: 30px;
    border: 1px solid rgba(21,77,71,.12);
    border-radius: 20px;
    background: var(--paper);
}

.care-principles span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #174f49;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.care-principles h3 {
    margin: 0 0 10px;
}

.care-principles p {
    margin: 0;
    line-height: 1.7;
}

.family-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 58px;
    align-items: center;
}

.family-media {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(21,60,55,.12);
}

.family-media img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.family-copy p {
    font-size: 1.05rem;
    line-height: 1.82;
}

.mission-grid--about article {
    background: var(--paper-soft);
    border: 1px solid rgba(21,77,71,.1);
    border-radius: 22px;
    padding: 32px;
}


@media (max-width:900px) {
    .brand img {
        width: 230px;
    }

    .contact-grid--with-map {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 260px;
    }

    .page-hero {
        min-height: 260px;
    }

    .story-layout,.family-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .story-photo img,.family-media img {
        height: auto;
        max-height: 520px;
    }

    .care-principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width:620px) {
    .brand img {
        width: 195px;
    }

    .contact-map iframe {
        height: 260px;
    }

    .page-hero {
        min-height: 260px;
    }

    .page-hero__content {
        padding-top: 125px;
        padding-bottom: 48px;
    }

    .page-hero__overlay {
        background: linear-gradient(90deg,rgba(10,48,44,.86),rgba(10,48,44,.42));
    }
}

/* =========================================================
   PÁGINA SERVIÇOS
   ========================================================= */

.page-hero__bg--services {
    background-image: url("../images/hero/Servicos.jpg");
    background-position: center 42%;
}

.service-feature-layout {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 64px;
    align-items: center;
}

.service-feature-layout--reverse {
    grid-template-columns: 0.98fr 1.02fr;
}

.service-feature-copy h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--green-dark);
}

.service-feature-copy > p {
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--muted);
    margin-bottom: 28px;
}

.service-feature-media {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(21, 60, 55, 0.14);
}

.service-feature-media img {
    display: block;
    width: 100%;
    height: 490px;
    object-fit: cover;
}

.service-points {
    display: grid;
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.service-points > div {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.service-points strong {
    display: block;
    margin-bottom: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.32rem;
    color: var(--green-dark);
}

.service-points span {
    display: block;
    line-height: 1.7;
    color: var(--muted);
}

@media (max-width: 900px) {
    .service-feature-layout,
    .service-feature-layout--reverse {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .service-feature-layout--reverse .service-feature-media {
        order: 2;
    }

    .service-feature-layout--reverse .service-feature-copy {
        order: 1;
    }

    .service-feature-media img {
        height: auto;
        max-height: 520px;
    }
}

@media (max-width: 620px) {
    .service-feature-copy h2 {
        font-size: 2.25rem;
    }

    .service-points > div {
        padding: 18px 0;
    }
}

/* =========================================================
   PÁGINA ESTRUTURA
   ========================================================= */

.page-hero__bg--estrutura {
    background-image: url("../images/hero/Estrutura.jpg");
    background-position: center 40%;
}

.structure-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 18px;
}

.structure-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.structure-gallery__item--wide {
    grid-column: span 2;
}

.structure-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.structure-gallery__item:hover img {
    transform: scale(1.035);
}

.structure-gallery__item::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(7, 42, 39, 0.72)
    );
    pointer-events: none;
}


.structure-details {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.structure-details__heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--green-dark);
}

.structure-details__heading p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.structure-details__list {
    display: grid;
}

.structure-details__list article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.structure-details__list article:first-child {
    padding-top: 0;
}

.structure-details__list article > span {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding-top: 6px;
}

.structure-details__list article > .structure-marker {
    font-size: 2rem;
    line-height: 1;
}

.structure-details__list h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    color: var(--green-dark);
}

.structure-details__list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 900px) {
    .structure-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
    }

    .structure-details {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 620px) {
    .structure-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .structure-gallery__item--large,
    .structure-gallery__item--wide {
        grid-column: auto;
        grid-row: auto;
    }

    .structure-details__list article {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }
}

/* =========================================================
   PÁGINA CONTATO
   ========================================================= */

.page-hero__bg--contact {
    background-image: url("../images/hero/Contato.jpg");
    background-position: center 66%;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: stretch;
}

.contact-page-info h2,
.contact-form-panel h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--green-dark);
}

.contact-page-info > p,
.contact-form-panel > p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-page-details {
    margin-top: 34px;
    display: grid;
}

.contact-page-details > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-page-details strong {
    display: block;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.contact-page-details span,
.contact-page-details a {
    color: var(--muted);
    line-height: 1.65;
}

.contact-page-details a:hover {
    color: var(--green);
}

.contact-page-map {
    margin-top: 34px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 35px rgba(21, 60, 55, 0.10);
}

.contact-page-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.contact-page-map > a {
    display: block;
    padding: 13px 18px;
    text-align: center;
    font-weight: 800;
    color: var(--green);
    background: var(--paper-soft);
}

.contact-form-panel {
    height: 100%;
    padding: 42px;
    border-radius: 24px;
    background: var(--paper-soft);
    border: 1px solid rgba(21, 77, 71, 0.10);
    box-shadow: 0 18px 44px rgba(21, 60, 55, 0.10);
}

.contact-form {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    font-weight: 800;
    color: var(--green-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid rgba(18, 77, 74, 0.20);
    border-radius: 12px;
    padding: 13px 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input,
.form-field select {
    min-height: 50px;
}

.form-field textarea {
    resize: vertical;
    min-height: 160px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(18, 77, 74, 0.10);
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.form-status {
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.form-status.is-success {
    color: #174f49;
    background: #e2f2ea;
    border: 1px solid #b9ddcb;
}

.form-status.is-error {
    color: #7b2f2f;
    background: #f8e5e5;
    border: 1px solid #e8bcbc;
}

.contact-submit {
    justify-self: start;
}

.contact-submit:disabled {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

@media (max-width: 900px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 620px) {
    .contact-form-panel {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-page-map iframe {
        height: 300px;
    }

    .contact-submit {
        width: 100%;
    }
}

/* =========================================================
   GALERIA INTERATIVA — PÁGINA ESTRUTURA
   ========================================================= */

.structure-gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(21, 60, 55, 0.10);
    appearance: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    background: transparent;
}

.structure-gallery__caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.structure-gallery__hint {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(9, 47, 45, 0.82);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(-5px);
    transition: 0.22s;
}

.structure-gallery__item:hover .structure-gallery__hint,
.structure-gallery__item:focus-visible .structure-gallery__hint {
    opacity: 1;
    transform: translateY(0);
}

.structure-gallery__item:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.gallery-open {
    overflow: hidden;
}

.structure-lightbox[hidden] {
    display: none;
}

.structure-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.structure-lightbox.is-open {
    opacity: 1;
}

.structure-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 24, 23, 0.88);
    backdrop-filter: blur(5px);
}

.structure-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.structure-lightbox__topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 28px 18px;
}

.structure-lightbox__topbar h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--green-dark);
}

.structure-lightbox__close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.structure-lightbox__stage {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 18px;
    align-items: center;
    padding: 0 22px;
}

.structure-lightbox__figure {
    margin: 0;
    min-width: 0;
}

.structure-lightbox__figure img {
    width: 100%;
    height: min(62vh, 650px);
    object-fit: contain;
    border-radius: 16px;
    background: #102d2b;
}

.structure-lightbox__figure figcaption {
    padding: 12px 4px 0;
    color: var(--muted);
    text-align: center;
}

.structure-lightbox__arrow {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

.structure-lightbox__counter {
    padding: 12px 28px 4px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.structure-lightbox__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 28px 26px;
}

.structure-lightbox__thumbs button {
    flex: 0 0 92px;
    height: 68px;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: none;
    cursor: pointer;
}

.structure-lightbox__thumbs button.is-active {
    border-color: var(--gold);
}

.structure-lightbox__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .structure-gallery__hint {
        opacity: 1;
        transform: none;
    }

    .structure-lightbox {
        padding: 10px;
    }

    .structure-lightbox__dialog {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .structure-lightbox__topbar {
        padding: 18px 18px 12px;
    }

    .structure-lightbox__stage {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
        padding: 0 10px;
    }

    .structure-lightbox__arrow {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .structure-lightbox__figure img {
        height: 52vh;
    }

    .structure-lightbox__thumbs {
        padding: 12px 14px 18px;
    }

    .structure-lightbox__thumbs button {
        flex-basis: 78px;
        height: 58px;
    }
}

/* =========================================================
   FONT AWESOME — ÍCONES INSTITUCIONAIS
   ========================================================= */

.btn i,
.text-link i,
.contact-map-link i,
.contact-page-map > a i {
    margin-right: 8px;
}

.btn .fa-whatsapp {
    font-size: 1.15em;
}

.feature-icon i,
.care-principles span i {
    line-height: 1;
}

.contact-links strong i,
.contact-page-details strong i {
    width: 1.15em;
    margin-right: 7px;
    color: var(--gold);
    text-align: center;
}

.contact-map-link i,
.contact-page-map > a i {
    color: var(--gold);
}

/* Hero — Política de Privacidade */
.page-hero__bg--privacy {
    background-image: url("../images/hero/Privacidade.jpg");
    background-position: center center;
}

/* Hero — Termos de Uso */
.page-hero__bg--terms {
    background-image: url("../images/hero/Termos.jpg");
    background-position: center center;
}
