/* ==========
   Reset básico + acessibilidade
   ========== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

a:focus-visible,
.btn:focus-visible,
.whatsapp-float:focus-visible {
    outline: 3px solid #94c6ff;
    outline-offset: 2px;
    border-radius: 8px;
}

/* ==========
      Tokens
      ========== */
:root {
    --bg: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --primary: #2f80ed;
    --light: #e2eef9;

    --container: 1120px;
    --radius: 20px;
    --shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
    --header-h: 64px;
}

/* ==========
      Rolagem por blocos
      ========== */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--header-h);
}

.block {
    min-height: calc(100svh - var(--header-h));
    display: grid;
    align-items: center;
    scroll-snap-align: start;
    padding: clamp(1.5rem, 5vw, 5rem) 0;
}

/* ==========
      Container
      ========== */
.container {
    width: min(100% - 1.5rem, var(--container));
    margin-inline: auto;
}

/* ==========
      Header
      ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--header-h);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: .75rem;
    padding-inline: .25rem;
    white-space: nowrap;
}

.brand {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
}

.nav {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: nowrap;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;
}

.btn.small {
    padding: .5rem .8rem;
    font-size: .85rem;
}

@media (max-width: 900px) {
    .brand {
        max-width: 52vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav {
        gap: .5rem;
    }

    .nav .hide-mobile {
        display: none !important;
    }
}

/* ==========
      Botões
      ========== */
.btn {
    display: inline-block;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    transition: filter .2s ease, transform .2s ease;
}

.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn.ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.nav .btn.small[data-wa] {
    background-color: var(--text);
    border-color: var(--text);
    color: #fff;
}

.nav .btn.small[data-wa]:hover {
    background-color: var(--muted);
}


/* ==========
      BLOCO 1 (Hero)
      ========== */
.block-hero {
    background: var(--light);
}

.block-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.block-hero-grid {
    grid-template-columns: auto 1fr;
}

@media (max-width: 900px) {
    .block-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: start;
        justify-items: center;
    }
}

.hero-copy h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 800;
    color: var(--text);
}

.hero-copy p {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    margin: 0 0 1.25rem;
    color: var(--muted);
}

.hero-cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .hero-cta {
        justify-content: center;
    }
}

.hero-figure {
    margin: 0;
    position: relative;
    width: clamp(180px, 32vw, 440px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .block-hero {
        padding: 1.25rem 0 2rem;
    }

    .block-grid {
        gap: 1rem;
    }

    .hero-figure {
        justify-self: center;
        width: min(70vw, 280px);
    }
}

/* ==========
      BLOCO 2 (About)
      ========== */
.block-about {
    background: var(--bg);
}

.block-about-grid {
    grid-template-columns: 1.05fr 1fr;
}

@media (max-width: 1000px) {
    .block-about-grid {
        grid-template-columns: 1fr;
    }
}

.about-copy h2 {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 800;
    color: var(--text);
}

.about-copy p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    margin: 0 0 1rem;
    color: var(--muted);
}

.about-cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .about-cta {
        margin-top: 1rem;
    }
}

.about-media {
    position: relative;
}

.media-grid {
    position: relative;
    display: grid;
    gap: clamp(.6rem, 2vw, 1rem);
    grid-template-areas: "a b" "a c";
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.media-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-item.a {
    grid-area: a;
    min-height: clamp(260px, 44vh, 500px);
}

.media-item.b {
    grid-area: b;
    min-height: clamp(120px, 20vh, 230px);
}

.media-item.c {
    grid-area: c;
    min-height: clamp(120px, 20vh, 230px);
}

.badge.exp {
    position: absolute;
    right: clamp(-6px, -1vw, -12px);
    bottom: clamp(-6px, -1vw, -12px);
    transform: translate(10%, 10%);
    z-index: 2;
    display: grid;
    place-items: center;
    text-align: center;
    width: clamp(90px, 13vw, 135px);
    aspect-ratio: 1 / 1;
    background: #fff;
    color: var(--text);
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 4px solid var(--light);
    padding: .5rem;
}

.badge.exp strong {
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    line-height: 1;
    color: var(--primary);
}

.badge.exp span {
    display: block;
    margin-top: .25rem;
    font-size: clamp(.7rem, 1.5vw, .85rem);
    color: var(--muted);
}

@media (max-width: 1000px) {
    .media-grid {
        grid-template-areas: "a" "b" "c";
        grid-template-columns: 1fr;
    }

    .badge.exp {
        right: 8px;
        bottom: 8px;
        transform: none;
    }
}

/* ==========
      BLOCO 3 (Serviços)
      ========== */
.block-services {
    background: var(--light);
}

.services-header {
    text-align: center;
    margin-bottom: clamp(1.25rem, 4vw, 2.25rem);
}

.services-header h2 {
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    line-height: 1.15;
    margin: 0 0 .5rem;
    font-weight: 800;
    color: var(--text);
}

.services-header p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

.cards {
    display: grid;
    gap: clamp(.9rem, 2.4vw, 1.25rem);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: stretch;
}

@media (min-width: 1200px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    box-shadow: 0 4px 14px rgba(2, 6, 23, .06);
    text-align: center;
    display: grid;
    align-content: start;
    gap: .75rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(2, 6, 23, .12);
    border-color: #c7dcff;
}

.icon-circle {
    width: 64px;
    aspect-ratio: 1 / 1;
    margin: 0 auto .25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid #c7dcff;
    box-shadow: 0 4px 12px rgba(2, 6, 23, .06);
}

.icon-circle img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 800;
    color: var(--text);
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.services-cta {
    margin-top: clamp(1.1rem, 3vw, 1.75rem);
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========
      Seção de contato
      ========== */
.section {
    padding: clamp(2rem, 6vw, 3.5rem) 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.1rem 0;
    color: var(--muted);
    background: var(--bg);
    text-align: center;
    font-size: .9rem;
}

/* ==========
      WhatsApp FAB
      ========== */
.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
    background-color: var(--bg);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.whatsapp-float img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.icon-credit {
    font-size: .7rem;
    text-align: center;
    margin: 0;
    padding: .25rem;
    color: var(--muted);
}

.icon-credit a {
    color: inherit;
    text-decoration: none;
}

.icon-credit a:hover {
    text-decoration: underline;
}

#contato {
    text-align: center;
}

/* Contato */
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--text);
    padding: .5rem .25rem;
    border-radius: 10px;
    transition: background .2s ease;
}

.contact-link:hover {
    background: rgba(47, 128, 237, 0.08);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.contact-text {
    display: inline-block;
    margin-left: 0;
    color: var(--muted);
    margin-bottom: 2rem;
}


/* ==========
      Ajustes MOBILE GERAIS
      ========== */
@media (max-width: 900px) {
    html {
        scroll-snap-type: none;
    }

    .block {
        min-height: auto;
        padding: 1.25rem 0 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}