﻿:root {
    --brand-blue: #556ca4;
    --brand-blue-light: #88a7f3;
    --brand-green: #2a5238;
    --brand-green-deep: #162e22;
    --ink: #172b21;
    --muted: #627168;
    --paper: #fbfdfb;
    --soft-green: #e2f9ea;
    --soft-blue: #eef3ff;
    --soft-warm: #fff9f5;
    --line: rgba(42, 82, 56, 0.16);
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(22, 46, 34, 0.15);
    --radius: 8px;
    --container: min(1160px, calc(100% - 44px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    background:
        linear-gradient(90deg, rgba(136, 167, 243, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(42, 82, 56, 0.06) 1px, transparent 1px),
        var(--paper);
    background-size: 72px 72px;
}

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

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 30;
    padding: 10px 14px;
    background: var(--brand-green);
    color: var(--white);
}

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

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: 3px;
    background: transparent;
}

.scroll-progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light), var(--brand-green));
}

.site-header {
    position: fixed;
    inset: 16px max(18px, calc((100vw - 1180px) / 2)) auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 14px 12px 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 16px 60px rgba(22, 46, 34, 0.11);
    backdrop-filter: blur(18px);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 52px rgba(22, 46, 34, 0.16);
}

.brand img {
    width: clamp(156px, 16vw, 210px);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #33433a;
    font-size: 0.92rem;
    font-weight: 800;
}

.site-nav a {
    position: relative;
    text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 22px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
    background: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 16px 38px rgba(85, 108, 164, 0.28);
}

.button-primary:hover,
.nav-cta:hover {
    background: #465c91;
    transform: translateY(-2px);
}

.button-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.09);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--brand-green);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 128px 0 76px;
    color: var(--white);
    isolation: isolate;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media {
    transform: scale(1.04);
    will-change: transform;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    animation: heroSlideshow 24s infinite;
    will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-slide:nth-child(4) {
    animation-delay: 18s;
}

@keyframes heroSlideshow {
    0% {
        opacity: 1;
        transform: scale(1.04);
    }
    8% {
        opacity: 1;
    }
    28% {
        opacity: 1;
    }
    38% {
        opacity: 0;
        transform: scale(1.11);
    }
    100% {
        opacity: 0;
        transform: scale(1.11);
    }
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(18, 38, 28, 0.94) 0%, rgba(18, 38, 28, 0.76) 45%, rgba(18, 38, 28, 0.22) 100%),
        linear-gradient(0deg, rgba(18, 38, 28, 0.48), transparent 45%);
}

.hero-layout {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.46fr);
    gap: clamp(32px, 6vw, 86px);
    align-items: end;
}

.hero-content {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-blue-light);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--brand-blue);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.06;
    letter-spacing: 0;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6.4rem);
    max-width: 760px;
}

h2 {
    margin-bottom: 18px;
    color: var(--brand-green);
    font-size: clamp(2.15rem, 4.6vw, 4.8rem);
}

h3 {
    margin-bottom: 14px;
    color: inherit;
    font-size: 1.25rem;
}

.hero-copy {
    max-width: 690px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

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

.hero-signal {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
}

.hero-signal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(136, 167, 243, 0.22), transparent 56%);
    pointer-events: none;
}

.hero-signal > * {
    position: relative;
}

.signal-label {
    display: inline-block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-signal strong {
    display: block;
    margin: 14px 0 8px;
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: 0.9;
    font-family: Georgia, "Times New Roman", serif;
}

.hero-signal p {
    color: rgba(255, 255, 255, 0.82);
}

.signal-list {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.signal-list span {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 850;
}

.scroll-cue {
    position: absolute;
    left: max(22px, calc((100vw - 1160px) / 2));
    bottom: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.section {
    position: relative;
    padding: 118px 0;
}

.section-inner {
    position: relative;
    z-index: 1;
    width: var(--container);
    margin: 0 auto;
}

.section-ambient {
    overflow: hidden;
    isolation: isolate;
}

.section-ambient::before {
    content: "";
    position: absolute;
    inset: 22px auto auto 52%;
    z-index: 0;
    width: min(620px, 70vw);
    aspect-ratio: 1.3;
    background: var(--ambient-image) center / cover no-repeat;
    opacity: 0.34;
    filter: blur(14px);
    transform: translateX(-8%) rotate(-3deg);
    pointer-events: none;
}

.section-ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(251, 253, 251, 0.94), rgba(251, 253, 251, 0.76), rgba(251, 253, 251, 0.92));
    pointer-events: none;
}

.ambient-about {
    --ambient-image: url("../img/ia-sobre-cuidado.webp");
}

.ambient-lines {
    --ambient-image: url("../img/ia-equipe-cuidado.webp");
}

.ambient-services {
    --ambient-image: url("../img/ia-equipe-cuidado.webp");
}

.ambient-structure {
    --ambient-image: url("../img/ia-estrutura-quarto.webp");
}

.ambient-faq {
    --ambient-image: url("../img/ia-sobre-cuidado.webp");
}

.trust-strip {
    position: relative;
    z-index: 2;
    padding: 0 0 86px;
    margin-top: -42px;
}

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

.trust-item {
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 70px rgba(22, 46, 34, 0.1);
    backdrop-filter: blur(14px);
}

.trust-item span {
    color: var(--brand-blue);
    font-weight: 950;
}

.trust-item strong {
    display: block;
    margin: 38px 0 8px;
    color: var(--brand-green);
    font-size: 1.22rem;
}

.trust-item p {
    margin: 0;
    color: var(--muted);
}

.about {
    padding-top: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(40px, 7vw, 90px);
    align-items: center;
}

.about-media {
    position: relative;
    min-height: 610px;
}

.reference-visual {
    background-position: center;
    background-size: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.reference-main {
    width: 72%;
    height: 570px;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(42, 82, 56, 0.16)),
        url("../img/ia-sobre-cuidado.webp");
}

.reference-secondary {
    position: absolute;
    right: 0;
    bottom: 56px;
    width: 52%;
    height: 310px;
    border: 10px solid var(--paper);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(85, 108, 164, 0.16)),
        url("../img/ia-rotina-jardim.webp");
}

.about-note {
    position: absolute;
    left: 34px;
    bottom: 0;
    width: min(360px, 72%);
    padding: 22px;
    border-radius: var(--radius);
    background: var(--brand-green);
    color: var(--white);
    box-shadow: var(--shadow);
}

.about-note strong,
.about-note span {
    display: block;
}

.about-note span {
    color: rgba(255, 255, 255, 0.76);
}

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

.mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.mini-list span {
    padding: 10px 13px;
    border: 1px solid rgba(85, 108, 164, 0.2);
    border-radius: 999px;
    background: var(--white);
    color: #33443a;
    font-weight: 850;
    font-size: 0.92rem;
}

.care-lines {
    background:
        linear-gradient(180deg, var(--paper), var(--soft-blue));
    padding-top: 92px;
}

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

.care-line-card {
    min-height: 330px;
    padding: 30px;
    border: 1px solid rgba(85, 108, 164, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 54px rgba(22, 46, 34, 0.07);
    backdrop-filter: blur(12px);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.care-line-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: 0 28px 86px rgba(22, 46, 34, 0.14);
}

.care-line-card span {
    display: inline-flex;
    margin-bottom: 46px;
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.care-line-card h3 {
    color: var(--brand-green);
}

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

.interactive-care {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    display: grid;
    align-items: center;
    color: var(--white);
    isolation: isolate;
}

.stage-media,
.stage-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.stage-media {
    background: var(--stage-image, url("../img/ia-rotina-jardim.webp")) center / cover no-repeat;
    transform: scale(1.04);
    transition: opacity 320ms ease, transform 900ms ease;
}

.interactive-care.is-changing .stage-media {
    opacity: 0.6;
    transform: scale(1.08);
}

.stage-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(22, 46, 34, 0.94), rgba(22, 46, 34, 0.76) 46%, rgba(22, 46, 34, 0.32)),
        linear-gradient(140deg, rgba(85, 108, 164, 0.28), transparent 44%);
}

.stage-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
}

.stage-heading h2 {
    color: var(--white);
}

.care-options {
    display: grid;
    gap: 14px;
}

.care-option,
.service-card {
    --hover-image: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.care-option {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    cursor: default;
    backdrop-filter: blur(16px);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.care-option::before,
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--hover-image) center / cover no-repeat;
    opacity: 0;
    transition: opacity 280ms ease, transform 700ms ease;
    transform: scale(1.06);
}

.care-option::after,
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(22, 46, 34, 0.9), rgba(22, 46, 34, 0.58));
    opacity: 0;
    transition: opacity 280ms ease;
}

.care-option:hover,
.care-option.is-active {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.16);
}

.care-option:hover::before,
.care-option.is-active::before,
.service-card:hover::before {
    opacity: 0.32;
    transform: scale(1);
}

.care-option:hover::after,
.care-option.is-active::after,
.service-card:hover::after {
    opacity: 1;
}

.care-option span,
.service-card span {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--brand-blue-light);
    font-weight: 950;
}

.care-option p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.services {
    background: linear-gradient(180deg, var(--soft-warm), var(--paper));
}

.section-heading {
    max-width: 860px;
    margin-bottom: 46px;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    min-height: 330px;
    padding: 26px;
    border: 1px solid rgba(85, 108, 164, 0.14);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 52px rgba(22, 46, 34, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.service-card span {
    color: var(--brand-blue);
}

.service-card h3 {
    color: var(--brand-green);
}

.service-card p {
    color: var(--muted);
}

.service-card:hover {
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 30px 90px rgba(22, 46, 34, 0.2);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover span {
    color: var(--white);
}

.process {
    background:
        linear-gradient(135deg, rgba(85, 108, 164, 0.96), rgba(42, 82, 56, 0.94)),
        url("../img/ia-equipe-cuidado.webp") center / cover no-repeat;
    color: var(--white);
}

.process h2 {
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    gap: 70px;
    align-items: start;
}

.steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    counter-increment: steps;
    position: relative;
    min-height: 116px;
    padding: 24px 28px 24px 92px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    transition: transform 220ms ease, background 220ms ease;
}

.steps li:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.18);
}

.steps li::before {
    content: counter(steps);
    position: absolute;
    left: 26px;
    top: 28px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--brand-blue);
    font-weight: 950;
}

.structure {
    background: var(--paper);
}

.gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    grid-auto-rows: 245px;
    gap: 14px;
}

.gallery-item {
    position: relative;
    min-height: 220px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: var(--line);
    cursor: pointer;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 30%, rgba(22, 46, 34, 0.76)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(85, 108, 164, 0.12));
    opacity: 0.92;
}

.gallery-item span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 1;
    color: var(--white);
    font-weight: 950;
}

.gallery-item:hover {
    transform: translateY(-6px);
    filter: saturate(1.04);
}

.reference-gallery .gallery-item {
    background-position: center;
    background-size: cover;
    transition: transform 240ms ease, filter 240ms ease;
}

.ai-gallery-structure {
    background-image: url("../img/ia-estrutura-quarto.webp");
}

.ai-gallery-care {
    background-image: url("../img/ia-sobre-cuidado.webp");
}

.ai-gallery-routine {
    background-image: url("../img/ia-rotina-jardim.webp");
}

.ai-gallery-team {
    background-image: url("../img/ia-equipe-cuidado.webp");
}

.ai-gallery-guidance {
    background-image: url("../img/ia-alimentacao.webp");
}

.faq {
    background: linear-gradient(180deg, var(--paper), var(--soft-blue));
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
}

.faq-grid > div:first-child p:last-child {
    color: var(--muted);
}

.accordion {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid rgba(85, 108, 164, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 54px rgba(22, 46, 34, 0.06);
    backdrop-filter: blur(10px);
}

summary {
    padding: 20px 22px;
    color: var(--brand-green);
    font-weight: 950;
    cursor: pointer;
}

details p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--muted);
}

.contact-section {
    padding: 118px 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(42, 82, 56, 0.94), rgba(42, 82, 56, 0.74)),
        url("../img/ia-sobre-cuidado.webp") center / cover no-repeat;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 70px;
    align-items: start;
}

.contact-section h2 {
    color: var(--white);
}

.contact-copy p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

address {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    font-style: normal;
}

address a {
    width: fit-content;
    color: var(--white);
    font-weight: 850;
}

.lead-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.lead-form label {
    display: grid;
    gap: 8px;
    font-weight: 950;
}

.lead-form input,
.lead-form select {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 14px;
    color: var(--ink);
    background: #fbfdfc;
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: var(--brand-blue);
    outline: 3px solid rgba(136, 167, 243, 0.26);
}

.full {
    width: 100%;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
    filter: saturate(0.86);
}

.site-footer {
    padding: 54px 0 26px;
    color: var(--white);
    background: #22362a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 38px;
    align-items: center;
}

.footer-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 950;
}

.social-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.social-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-icon:nth-child(2) svg,
.social-icon:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.copyright {
    width: var(--container);
    margin: 32px auto 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 18;
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 999px;
    background: #25d366;
    color: var(--white);
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(14, 128, 64, 0.28);
    transition: transform 180ms ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 26px;
    background: rgba(18, 28, 22, 0.86);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-height: 86vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.lightbox button {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.lightbox button::before,
.lightbox button::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 21px;
    width: 18px;
    height: 2px;
    background: var(--white);
}

.lightbox button::before {
    transform: rotate(45deg);
}

.lightbox button::after {
    transform: rotate(-45deg);
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-slide {
        animation: none;
    }

    .hero-slide:first-child {
        opacity: 1;
    }
}

@media (max-width: 1060px) {
    .site-header {
        left: 16px;
        right: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        display: none;
        padding: 18px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
        gap: 14px;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-layout,
    .about-grid,
    .stage-content,
    .process-grid,
    .faq-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-signal {
        max-width: 520px;
    }

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

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

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

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

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

@media (max-width: 680px) {
    :root {
        --container: min(100% - 28px, 1160px);
    }

    .site-header {
        inset: 10px 12px auto;
        border-radius: 24px;
    }

    .hero {
        min-height: 96vh;
        padding: 116px 0 68px;
    }

    h1 {
        font-size: clamp(2.7rem, 16vw, 4.8rem);
        max-width: 560px;
    }

    .hero-layout {
        gap: 28px;
    }

    .hero-overlay {
        background:
            linear-gradient(100deg, rgba(18, 38, 28, 0.94), rgba(18, 38, 28, 0.6)),
            linear-gradient(0deg, rgba(18, 38, 28, 0.48), transparent 45%);
    }

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

    .hero-signal {
        padding: 22px;
    }

    .scroll-cue {
        left: 14px;
    }

    .section,
    .contact-section {
        padding: 78px 0;
    }

    .trust-strip {
        padding-bottom: 56px;
        margin-top: -24px;
    }

    .about {
        padding-top: 18px;
    }

    .about-media {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .reference-main,
    .reference-secondary {
        position: static;
        width: 100%;
        height: 350px;
        border: 0;
    }

    .about-note {
        position: static;
        width: 100%;
    }

    .interactive-care {
        min-height: auto;
    }

    .care-option:hover,
    .care-option.is-active,
    .steps li:hover {
        transform: none;
    }

    .service-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .care-line-card {
        min-height: 280px;
    }

    .service-card {
        min-height: 280px;
    }

    .gallery {
        grid-auto-rows: 260px;
    }

    .gallery-large {
        grid-column: auto;
    }

    .steps li {
        padding-left: 24px;
        padding-top: 82px;
    }

    .steps li::before {
        left: 24px;
        top: 24px;
    }

    .lead-form {
        padding: 22px;
    }

    .floating-whatsapp {
        left: 14px;
        right: 14px;
        justify-content: center;
    }
}

