/* ==========================================================================
   Se Cuida Gatinho - Landing Page
   Tema claro único. Raios: painéis 40px, cards 28px, imagens 24px, botões pill.
   ========================================================================== */

:root {
    --navy: #132C66;
    --navy-700: #1C3A80;
    --orange: #F08F28;
    --orange-light: #F6B143;
    --orange-tint: #FCE6C4;
    --lead: #535B6D;
    --gray: #CFD5E2;
    --white: #FFFFFF;

    --bg: #F3F5F9;
    --surface: #FFFFFF;
    --surface-2: #E7EBF2;

    --font-display: "sovba", "Lato", system-ui, sans-serif;
    --font-body: "lato", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-panel: 40px;
    --r-card: 28px;
    --r-img: 24px;
    --r-pill: 999px;

    --shadow-soft: 0 24px 48px -28px rgba(19, 44, 102, .35);
    --shadow-lift: 0 18px 36px -18px rgba(19, 44, 102, .45);

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 80px;
    --container: 1240px;
    --gutter: 24px;
}

/* Base
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--lead);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

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

h1, h2, h3, h4 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure { margin: 0; }

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

::selection {
    background: var(--orange-light);
    color: var(--navy);
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 18px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--r-pill);
    font-weight: 800;
    text-decoration: none;
}

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(72px, 9vw, 128px);
}

.section h2 {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    max-width: 22ch;
}

.lead {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    line-height: 1.45;
    color: var(--navy);
}

.highlight {
    display: inline;
    color: var(--navy);
    font-weight: 800;
    background: linear-gradient(transparent 62%, var(--orange-tint) 62%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--navy);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow > .ph-fill { color: var(--orange); font-size: 1.2rem; }

/* Padrão de rede (losangos), eco do logo */
.net-pattern {
    --net-line: rgba(255, 255, 255, .07);
    background-image:
        repeating-linear-gradient(45deg, var(--net-line) 0 1.5px, transparent 1.5px 28px),
        repeating-linear-gradient(-45deg, var(--net-line) 0 1.5px, transparent 1.5px 28px);
}

/* Botões
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 24px;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: pre-line;
    text-wrap: nowrap;
    transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.btn .ph { font-size: 1.35em; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
    background: var(--orange);
    color: var(--navy);
    box-shadow: 0 12px 24px -14px rgba(240, 143, 40, .9);
}

.btn-primary:hover { background: var(--orange-light); }

.btn-dark {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 14px 28px -16px rgba(19, 44, 102, .9);
}

.btn-dark:hover { background: var(--navy-700); }

.btn-lg {
    padding: 6px 24px;
    font-size: 1.0625rem;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--gray);
    border-radius: 50%;
    background: var(--surface);
    color: var(--navy);
    font-size: 1.3rem;
    transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}

.icon-btn:hover { background: var(--navy); color: var(--white); }
.icon-btn:active { transform: scale(.95); }
.icon-btn:disabled { opacity: .4; pointer-events: none; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid var(--orange-light);
    transition: border-color .25s;
}

.text-link:hover { border-color: var(--orange); }
.text-link .ph { color: var(--orange); font-size: 1.25em; }

/* Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(243, 245, 249, .86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    transition: box-shadow .3s var(--ease-out);
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px -22px rgba(19, 44, 102, .5);
}

.header-inner {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.brand {
	align-self: start;
	padding: 20px 30px;
	border-radius: 0 0 30px 30px;
    margin-right: auto;
	box-shadow: 0 10px 30px -22px rgba(19, 44, 102, .5);
	background: var(--bg);	
}

.brand img {
    width: 140px;
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: 2px;
}

.main-nav ul a {
    display: block;
    padding: 4px 13px 7px;
    border-radius: var(--r-pill);
    color: var(--navy);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s, color .25s;
}

.main-nav ul a:hover { background: var(--surface); }

.main-nav ul a.is-active {
    background: var(--navy);
    color: var(--white);
}

.main-nav .nav-cta-mobile,
.menu-toggle { display: none; }

@media (max-width: 1023px) {
    .header-inner { justify-content: space-between; }
     .brand {
	    padding: 12px 24px;       
        z-index: 10;
    }

    .brand img {
        width: 120px;        
    }
    .header-cta { margin-left: auto; }    

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 52px;
        height: 52px;
        border: 0;
        border-radius: 50%;
        background: var(--navy);
        color: var(--white);
        font-size: 1.5rem;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        height: calc(100dvh - var(--header-h));
        margin: 0;
        padding: 60px var(--gutter) 40px;
        background: var(--bg);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
    }

    .main-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav ul a {
        padding: 10px 14px;
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1;
    }

    .main-nav .nav-cta-mobile {
        display: inline-flex;
        margin-top: 24px;
        width: 100%;
    }
}

@media (max-width: 720px) {
    :root { --header-h: 72px; --gutter: 16px; }
    .header-cta { display: none; }
    .brand {
	    padding: 10px 20px;
        border-radius: 0 0 28px 28px;
    }

    .brand img {
        width: 90px;        
    }
}

body.menu-open { overflow: hidden; }

/* Hero
   ========================================================================== */

.hero {
    padding-block: clamp(60px, 4vw, 56px) clamp(56px, 7vw, 88px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 48px;
    min-height: min(calc(100dvh - var(--header-h) - 40px), 760px);
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -.015em;
    padding-bottom: .08em;
}

.hero h1 em {
    font-style: italic;
    color: var(--orange);
}

.hero-sub {
    max-width: 44ch;
    margin: 6px 0;
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
}

.hero-highlight {
	max-width: 44ch;
	display: inline-block;
	margin: 0 0 24px;
	padding-top: 6px;
    position: relative;
	
}
.hero-highlight:before{
    content: "";
    border-top: 2px solid var(--orange);
    width: 50%;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-visual {
    position: relative;
    justify-self: center;
    height: clamp(420px, calc(100dvh - 180px), 640px);
    aspect-ratio: 4 / 5;
}

.hero-card {
    position: absolute;
    inset: 22% 0 0 0;
    border-radius: var(--r-panel);
    background-color: var(--navy);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-thread {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-thread path {
    fill: none;
    stroke: var(--orange-light);
    stroke-width: 7;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.hero-ball {
    position: absolute;
    top: 0;
    left: 50%;
    width: 13%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .45), transparent 42%),
        var(--orange);
    box-shadow: 0 12px 24px -10px rgba(240, 143, 40, .9);
    transform: translate(-50%, -38%);
    display: none;
}

.hero-cat {
    position: absolute;
    bottom: 0;
    left: 60%;
    height: 108%;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 20px 30px rgba(19, 44, 102, .35));
}

.hero-bubble {
	position: absolute;
	left: -20%;
	bottom: 5%;
	width: 45%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 6px solid var(--white);
	border-radius: 50%;
	box-shadow: var(--shadow-lift);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * {
        animation: rise .9s var(--ease-out) both;
    }
    .hero-copy > :nth-child(2) { animation-delay: .08s; }
    .hero-copy > :nth-child(3) { animation-delay: .16s; }
    .hero-copy > :nth-child(4) { animation-delay: .24s; }

    .hero-card { animation: rise 1s var(--ease-out) .1s both; }
    .hero-cat { animation: cat-in 1.1s var(--ease-out) .25s both; }
    .hero-ball { animation: ball-in 1s var(--ease-out) .6s both; }
    .hero-bubble { animation: pop 0.8s var(--ease-out) .7s both; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

@keyframes cat-in {
    from { opacity: 0; transform: translate(-50%, 40px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes ball-in {
    from { opacity: 0; transform: translate(-50%, -120%) scale(.6); }
    to { opacity: 1; transform: translate(-50%, -38%) scale(1); }
}

@keyframes pop {
    from { opacity: 0; transform: scale(.7); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 899px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 40px;
    }

    .hero-visual {
        height: auto;
        width: min(100%, 380px);
    }

    .hero-bubble { left: -2%; width: 28%; }
}

/* Proteção
   ========================================================================== */

.perigo-intro {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
}

.perigo-media {
    position: relative;
    isolation: isolate;
}

.perigo-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--r-card);
    background: var(--orange-light);
    transform: translate(-18px, 18px) rotate(-3deg);
}

.perigo-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--r-card);
}

.perigo-copy h2 { margin-bottom: 24px; }
.perigo-copy .lead { margin-bottom: 24px; }

.block-title {
    margin: clamp(72px, 8vw, 112px) 0 28px;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}

.curiosidades {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.curio {
    padding: clamp(28px, 3vw, 40px);
    border-radius: var(--r-card);
}

.curio > .ph {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 1.6rem;
}

.curio h4 {
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.curio-main {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 460px;
  /*   background:
        linear-gradient(180deg, rgba(19, 44, 102, .1) 0%, rgba(19, 44, 102, .82) 42%, var(--navy) 66%),
        url("../fotos/otimizadas/se-cuida-gatinho__02-thumb.webp") center top / cover no-repeat,
        var(--navy); */
    background: 
        linear-gradient(180deg, rgba(19, 44, 102, 0) 0%, rgba(19, 44, 102, .62) 42%, rgba(19, 44, 102, .95) 66%), 
        url("../fotos/otimizadas/se-cuida-gatinho__02-thumb.webp") center bottom / cover no-repeat, 
        var(--navy);
    color: rgba(255, 255, 255, .82);
}
.curio-main h4 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.curio-main strong { color: var(--white); }
.curio-main > .ph { background: var(--orange); color: var(--navy); }

.curio-light { background: var(--surface); }
.curio-light > .ph { background: var(--surface-2); color: var(--navy); }

.curio-warm { background: var(--orange-tint); }
.curio-warm > .ph { background: var(--white); color: var(--orange); }
.curio-warm p { color: #3F4657; }

.riscos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.risco {
    display: grid;
    grid-template-columns: minmax(150px, 45%) 1fr;
    overflow: hidden;
    border-radius: var(--r-card);
    background: var(--surface);
}

.risco img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Foto com o assunto à direita: evita cortar o gato na coluna estreita do desktop */
.risco img.foco-direita { object-position: 70% 50%; }

.risco > div {
    padding: clamp(24px, 3vw, 36px);
}

.risco h4 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.risco h4 .ph {
    flex: none;
    color: var(--orange);
    font-size: 1.5rem;
    margin-top: 1px;
}

.prevencao {
    --net-line: rgba(19, 44, 102, .06);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
    margin-top: 20px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--r-card);
    background-color: var(--surface-2);
}

.prevencao > .ph-fill {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--navy);
    font-size: 2.6rem;
    transform: rotate(-14deg);
}

.prevencao h3 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.prevencao strong { color: var(--navy); }

@media (max-width: 899px) {
    .perigo-intro { grid-template-columns: 1fr; }
    .perigo-media { max-width: 420px; margin-left: 18px; }
    .curiosidades { grid-template-columns: 1fr; }
    .curio-main { grid-row: auto; }
    .riscos { grid-template-columns: 1fr; }
}

@media (max-width: 559px) {
    .risco { grid-template-columns: 1fr; }
    .risco img { aspect-ratio: 1 / 1; height: auto; }
    .prevencao { grid-template-columns: 1fr; }
    .prevencao > .ph-fill { width: 64px; height: 64px; font-size: 2rem; }
}

/* Soluções
   ========================================================================== */

.solucoes-head {
    max-width: 780px;
}

.solucoes-head h2 { margin-bottom: 24px; }
.solucoes-head .lead { margin-bottom: 40px; }

.subhead {
    margin-bottom: 14px;
    font-size: clamp(1.2rem, 1.7vw, 1.4rem);
}

.areas {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    grid-template-rows: auto 1fr;
    column-gap: clamp(24px, 3vw, 48px);
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(20px, 2.5vw, 32px);
    border-radius: var(--r-panel);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.areas-label {
    grid-column: 1;
    margin: 8px 0 16px 14px;
}

.areas-tabs {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.area-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 16px 12px 12px;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: var(--navy);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.3;
    text-align: left;
    transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}

.area-tab .ph {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--surface-2);
    font-size: 1.35rem;
    transition: background-color .25s var(--ease-out);
}

.area-tab:hover { background: var(--bg); }

.area-tab[aria-selected="true"] {
    background: var(--navy);
    color: var(--white);
}

.area-tab[aria-selected="true"] .ph {
    background: var(--orange);
    color: var(--navy);
}

/* Seta do accordion: só aparece no mobile */
.area-tab .ph.area-caret { display: none; }

.areas-panels {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.area-panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(24px, 3vw, 40px);
    height: 100%;
}

.area-panel[hidden] { display: none; }

.area-panel img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--r-img);
}

/* Carrossel: fotos empilhadas na mesma célula, só a ativa aparece */
.area-carousel {
    position: relative;
    display: grid;
    height: 100%;
}

.area-carousel figure {
    position: relative;
    grid-area: 1 / 1;
    height: 100%;
    margin: 0;
    opacity: 0;
}

.area-carousel figure.is-active { opacity: 1; }

.area-carousel figcaption {
    position: absolute;
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--navy);
    color: var(--white);
    font-size: .85rem;
    font-weight: 800;
    line-height: 1.3;
}

.carousel-dots {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.carousel-dots button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.carousel-dots button::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    border-radius: var(--r-pill);
    background: rgba(19, 44, 102, .35);
}

.carousel-dots button[aria-current="true"]::before { background: var(--orange); }

@media (prefers-reduced-motion: no-preference) {
    .area-carousel figure { transition: opacity .6s var(--ease-out); }
}

.area-text h3 {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

@media (prefers-reduced-motion: no-preference) {
    .area-panel:not([hidden]) { animation: fade-in .5s var(--ease-out); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.solucoes-cta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    margin-top: 24px;
    padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
    border: 1px solid var(--gray);
    border-radius: var(--r-card);
}

.note {
    display: flex;
    gap: 10px;
    color: var(--navy);
    font-style: italic;
}

.note .ph {
    flex: none;
    margin-top: 4px;
    color: var(--orange);
    font-size: 1.3rem;
    font-style: normal;
}

.solucoes-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.cta-kicker {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.4;
}

/* Mobile: accordion. Os contêineres de abas e painéis somem do layout
   (display: contents) e a ordem intercala cada aba com seu conteúdo. */
@media (max-width: 999px) {
    .areas {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .areas-label { margin: 4px 0 8px 4px; }

    .areas-tabs,
    .areas-panels { display: contents; }

    .area-tab {
        padding: 10px 18px 10px 10px;
        background: var(--bg);
    }

    .area-tab .ph.area-caret {
        display: block;
        width: auto;
        height: auto;
        margin-left: auto;
        background: none;
        color: inherit;
        font-size: 1.25rem;
        transition: transform .3s var(--ease-out);
    }

    .area-tab[aria-selected="true"] .ph.area-caret {
        background: none;
        color: var(--orange-light);
        transform: rotate(180deg);
    }

    .area-tab:nth-child(1) { order: 1; }
    .area-panel:nth-child(1) { order: 2; }
    .area-tab:nth-child(2) { order: 3; }
    .area-panel:nth-child(2) { order: 4; }
    .area-tab:nth-child(3) { order: 5; }
    .area-panel:nth-child(3) { order: 6; }
    .area-tab:nth-child(4) { order: 7; }
    .area-panel:nth-child(4) { order: 8; }
    .area-tab:nth-child(5) { order: 9; }
    .area-panel:nth-child(5) { order: 10; }

    .area-panel {
        height: auto;
        padding: 12px 4px 20px;
    }

    /* A aba logo acima já mostra o título */
    .area-text h3 { display: none; }

    .solucoes-cta { grid-template-columns: 1fr; }
}

@media (max-width: 699px) {
    .area-panel { grid-template-columns: 1fr; }
    .area-panel img { min-height: 0; aspect-ratio: 1 / 1; height: auto; }
}

/* Sobre nós
   ========================================================================== */

.sobre {
    padding-top: clamp(110px, 10vw, 150px);
}

.sobre-panel {
    position: relative;
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--r-panel);
    background-color: var(--navy);
    color: rgba(255, 255, 255, .8);
}

.sobre-top {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: clamp(32px, 5vw, 72px);
}

.sobre-copy h2 {
    margin-bottom: 20px;
    color: var(--white);
    max-width: 18ch;
}

.sobre-sub {
    margin-bottom: 24px;
    color: var(--orange-light);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.7vw, 1.4rem);
    line-height: 1.4;
}

.sobre-cat {
    position: absolute;
    right: clamp(24px, 7vw, 110px);
    bottom: calc(100% - 170px);
    width: clamp(150px, 17vw, 220px);
    transform: scaleX(-1);
    filter: drop-shadow(0 -6px 18px rgba(19, 44, 102, .18));
}

.sobre-redeplus {
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, .05);
}

.stat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.stat small {
    flex-basis: 100%;
    color: rgba(255, 255, 255, .7);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
}

.stat span {
    color: var(--orange);
    font-size: clamp(4rem, 7vw, 5.5rem);
    font-weight: 700;
    margin-right: -1.5rem;
}

.sobre-redeplus h3 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.3rem;
}

.sobre-redeplus a {
    color: var(--orange-light);
    font-weight: 800;
    text-underline-offset: 3px;
}

.diferenciais {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: clamp(40px, 5vw, 64px);
}

.diferencial {
    grid-column: span 2;
    padding: clamp(24px, 2.6vw, 32px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, .04);
    font-size: 1rem;
    line-height: 1.65;
}

.diferencial:nth-child(-n+2) { grid-column: span 3; }

.diferencial:first-child {
    border-color: transparent;
    background: var(--orange);
    color: var(--navy);
}

.diferencial .ph {
    display: block;
    margin-bottom: 16px;
    color: var(--orange-light);
    font-size: 2rem;
}

.diferencial:first-child .ph { color: var(--navy); }

.diferencial h3 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.25rem;
}

.diferencial:first-child h3 { color: var(--navy); }

@media (max-width: 1023px) {
    .sobre-cat { bottom: calc(100% - 30px); }
    .sobre-top { grid-template-columns: 1fr; }
    .diferenciais { grid-template-columns: 1fr 1fr; }
    .diferencial,
    .diferencial:nth-child(-n+2) { grid-column: auto; }
    .diferencial:last-child { grid-column: span 2; }
}

@media (max-width: 720px) {
    .diferenciais { grid-template-columns: 1fr; }
    .diferencial:last-child { grid-column: auto; }
}

/* Como funciona
   ========================================================================== */

.como-head {
    max-width: 760px;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.paws {
    display: inline-flex;
    gap: 2px;
    font-size: 1.15rem;
}

.paws .ph-fill:nth-child(1) { color: var(--navy); transform: rotate(-18deg) translateY(4px); }
.paws .ph-fill:nth-child(2) { color: var(--orange); transform: rotate(8deg) translateY(-3px); }
.paws .ph-fill:nth-child(3) { color: var(--orange-light); transform: rotate(-10deg) translateY(3px); }

.trilha {
    position: relative;
    display: grid;
    gap: 0;
}

.trilha::before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 50%;
    border-left: 3px dashed var(--gray);
    transform: translateX(-50%);
}

.passo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: start;
}

.passo + .passo { margin-top: -56px; }

.passo-marker {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 3px solid var(--orange);
    border-radius: 50%;
    background: var(--bg);
    color: var(--orange);
    font-size: 1.8rem;
    margin-top: 20px;
}

.passo:nth-child(odd) .passo-marker .ph-fill { transform: rotate(-18deg); }
.passo:nth-child(even) .passo-marker .ph-fill { transform: rotate(18deg); }

.passo-card {
    grid-row: 1;
    grid-column: 1;
    padding: clamp(24px, 2.8vw, 36px);
    border-radius: var(--r-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.passo:nth-child(even) .passo-card { grid-column: 3; }

.passo-num {
    display: block;
    margin-bottom: 8px;
    color: var(--orange-light);
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.passo-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 1.8vw, 1.45rem);
}

.passo-card p { font-size: 1rem; }

@media (max-width: 899px) {
    .trilha::before { left: 28px; }

    .passo,
    .passo + .passo {
        grid-template-columns: 56px 1fr;
        column-gap: 16px;
        margin-top: 0;
    }

    .passo + .passo { margin-top: 20px; }

    .passo-marker {
        grid-column: 1;
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
    }

    .passo-card,
    .passo:nth-child(even) .passo-card { grid-column: 2; }
}

/* Vídeos
   ========================================================================== */

.videos {
    background: var(--surface-2);
}

.videos-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.videos-head h2 { margin-bottom: 16px; }
.videos-head p { max-width: 56ch; }

.videos-head a {
    color: var(--navy);
    font-weight: 800;
    text-underline-offset: 3px;
}

.carousel-controls {
    display: flex;
    flex: none;
    gap: 10px;
}

.videos-track {
    --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    display: flex;
    gap: 20px;
    padding: 8px var(--edge) 16px;
    scroll-padding-inline: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.videos-track::-webkit-scrollbar { display: none; }

.video-card {
    position: relative;
    flex: 0 0 clamp(220px, 22vw, 280px);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: var(--r-card);
    background: var(--navy);
    scroll-snap-align: start;
    box-shadow: var(--shadow-soft);
}

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

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(19, 44, 102, .5));
    transition: opacity .3s var(--ease-out), background-color .3s;
}

.video-play i {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--navy);
    font-size: 1.8rem;
    box-shadow: 0 12px 26px -10px rgba(19, 44, 102, .7);
    transition: transform .3s var(--ease-out);
}

.video-play:hover i { transform: scale(1.08); }

.video-card.is-playing .video-play {
    opacity: 0;
    background: transparent;
}

.video-card.is-playing .video-play:focus-visible { opacity: 1; }

@media (max-width: 720px) {
    .videos-head { flex-direction: column; align-items: flex-start; }
    .video-card { flex-basis: 72vw; }
}

/* Depoimentos
   ========================================================================== */

.depoimentos h2 { margin-bottom: clamp(32px, 4vw, 48px); }

.depo-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: stretch;
    gap: 20px;
}

.depo-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 340px;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--r-panel);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.depo-mark {
    color: var(--orange-light);
    font-size: 4rem;
    line-height: 1;
}

.depo-quote {
    margin: 0;
}

.depo-quote p {
    margin-bottom: 24px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.35;
}

.depo-quote footer strong {
    display: block;
    color: var(--navy);
    font-weight: 800;
}

.depo-quote footer span { font-size: .95rem; }

@media (prefers-reduced-motion: no-preference) {
    .depo-quote:not([hidden]) { animation: fade-in .5s var(--ease-out); }
}

.depo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.depo-person {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--gray);
    border-radius: var(--r-card);
    background: transparent;
    text-align: left;
    transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out);
}

.depo-person:hover { background: var(--surface); }

.depo-person img {
    flex: none;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 3px solid var(--orange-light);
    border-radius: 50%;
}

.depo-person strong {
    display: block;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.3;
}

.depo-person small {
    font-size: .92rem;
}

.depo-person[aria-pressed="true"] {
    border-color: var(--navy);
    background: var(--navy);
    color: rgba(255, 255, 255, .78);
}

.depo-person[aria-pressed="true"] strong { color: var(--white); }

@media (max-width: 899px) {
    .depo-grid { grid-template-columns: 1fr; }
    .depo-stage { min-height: 0; }
}

/* Fotos
   ========================================================================== */

.fotos h2 { margin-bottom: clamp(32px, 4vw, 48px); }

.galeria {
    columns: 4 220px;
    column-gap: 16px;
}

.galeria li {
    margin-bottom: 16px;
    break-inside: avoid;
}

.galeria a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--r-img);
    background: var(--surface-2);
}

.galeria img {
    width: 100%;
    transition: transform .6s var(--ease-out);
}

.galeria a:hover img { transform: scale(1.04); }

.galeria-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}

.galeria a:hover .galeria-zoom,
.galeria a:focus-visible .galeria-zoom {
    opacity: 1;
    transform: none;
}

@media (max-width: 720px) {
    .galeria { columns: 2; column-gap: 10px; }
    .galeria li { margin-bottom: 10px; }
    .galeria a { border-radius: 16px; }
}

/* Lightbox */
.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 24px;
    border: 0;
    background: rgba(12, 26, 61, .95);
    color: var(--white);
}

.lightbox[open] {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    gap: 16px;
}

.lightbox::backdrop { background: rgba(12, 26, 61, .6); }

.lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.lightbox img {
    max-height: calc(100dvh - 140px);
    width: auto;
    border-radius: 16px;
    touch-action: pan-y;
}

.lightbox figcaption {
    max-width: 60ch;
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media (max-width: 720px) {
    .lightbox[open] {
        grid-template-columns: 1fr;
        padding: 72px 12px 24px;
    }

    .lightbox-nav {
        position: absolute;
        bottom: 24px;
    }

    .lightbox-prev { left: calc(50% - 64px); }
    .lightbox-next { right: calc(50% - 64px); }
    .lightbox img { max-height: calc(100dvh - 220px); }
}

/* FAQ
   ========================================================================== */

.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: clamp(40px, 6vw, 88px);
}

.faq-aside {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.faq-aside h2 { margin-bottom: 16px; }

.faq-aside a {
    color: var(--navy);
    font-weight: 800;
    text-underline-offset: 3px;
}

.faq-aside img {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-top: 32px;
    border-radius: var(--r-card);
}

.faq-item {
    margin-bottom: 12px;
    border-radius: 22px;
    background: var(--surface);
    transition: box-shadow .3s var(--ease-out);
}

.faq-item[open] { box-shadow: var(--shadow-soft); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .ph {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    font-size: 1.1rem;
    transition: transform .3s var(--ease-out), background-color .3s;
}

.faq-item[open] summary .ph {
    background: var(--orange);
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 26px 24px;
    margin: 0;
}

@media (max-width: 899px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-aside { position: static; }
    .faq-aside img { display: none; }
}

/* CTA final / Contato
   ========================================================================== */

.contato {
    padding-bottom: clamp(150px, 15vw, 210px);
}

.contato-panel {
    --net-line: rgba(19, 44, 102, .07);
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--r-panel);
    background-color: var(--orange);
    color: var(--navy);
}

.contato-panel h2 {
    margin-bottom: 20px;
    max-width: 15ch;
}

.contato-copy p { max-width: 52ch; }

.contato-kicker {
    margin-top: 28px;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
}

.contato-info {
    padding: 8px clamp(16px, 2vw, 24px);
    border-radius: var(--r-card);
    background: var(--surface);
    box-shadow: 0 30px 50px -30px rgba(19, 44, 102, .55);
}

.contato-info li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    color: var(--navy);
    line-height: 1.45;
}

.contato-info li + li { border-top: 1px solid var(--surface-2); }

.contato-info .ph {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange-tint);
    color: var(--navy);
    font-size: 1.4rem;
}

.contato-info small {
    display: block;
    color: var(--lead);
    font-size: .85rem;
    font-weight: 600;
}

.contato-info a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.contato-info a:hover { text-decoration: underline; }

@media (max-width: 899px) {
    .contato-panel { grid-template-columns: 1fr; }
}

/* Footer
   ========================================================================== */

.site-footer {
    position: relative;
    padding-top: clamp(56px, 6vw, 80px);
    background: var(--navy);
    color: rgba(255, 255, 255, .78);
    font-size: .98rem;
}

.footer-cats {
    position: absolute;
    bottom: calc(100% - 1px);
    left: 50%;
    width: min(520px, 86vw);
    transform: translateX(-50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: inline-grid;
    place-items: center;
    padding: 10px;
    margin-bottom: 16px;
    border-radius: var(--r-card);
    background: var(--white);
}

.footer-logo img { width: 96px; height: 96px; }

.site-footer a {
    color: var(--white);
    text-decoration: none;
    transition: color .2s;
}

.site-footer a:hover { color: var(--orange-light); }

.footer-brand a {
    color: var(--orange-light);
    font-weight: 800;
}

.footer-nav ul {
    columns: 2;
    column-gap: 32px;
}

.footer-nav li { padding-block: 6px; }

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.footer-contact .ph {
    color: var(--orange-light);
    font-size: 1.3rem;
}

.footer-bottom {
    margin-top: 48px;
    padding-block: 24px 32px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .88rem;
    color: rgba(255, 255, 255, .6);
}

/* Sublinhado: só a cor não basta para distinguir o link do texto ao redor */
.footer-bottom a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 899px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 559px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { padding-bottom: 96px; }
}

/* WhatsApp flutuante
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 40;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--navy);
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 16px 32px -12px rgba(19, 44, 102, .55);
    transition: transform .3s var(--ease-out), background-color .3s;
}

.whatsapp-float:hover {
    background: var(--orange-light);
    transform: translateY(-3px) scale(1.04);
}

body.menu-open .whatsapp-float { display: none; }

/* Revelação no scroll
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    }

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
