:root {
    /* Marca (mantida) */
    --rosa-forte: #E07CA0;
    --rosa-claro: #F8D7E0;
    --azul-petroleo-forte: #008EA0;
    --azul-claro: #D2E9EF;
    --azul-texto: #7EAEC2;
    --cinza-subtitulo: #7E8092;

    /* Tons acessíveis derivados da marca (texto/CTAs sobre fundo claro) */
    --rosa-texto: #B34C74;
    --rosa-cta: #C2497B;
    --rosa-cta-hover: #A83C68;
    --azul-texto-acessivel: #00707F;
    --tinta: #26313A;
    --creme: #FFFBF7;

    --fonte-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
    --fonte-corpo: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --raio: 14px;
    --sombra: 0 10px 30px -12px rgba(38, 49, 58, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-corpo);
    color: var(--tinta);
    background-color: var(--creme);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--fonte-display);
    font-weight: 600;
    line-height: 1.15;
}

:focus-visible {
    outline: 3px solid var(--azul-texto-acessivel);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Header ---------- */

header {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: rgba(255, 251, 247, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 142, 160, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--azul-texto-acessivel);
}

.brand img {
    max-height: 52px;
    width: auto;
}

.brand span {
    font-family: var(--fonte-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: var(--azul-texto-acessivel);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 6px 2px;
    position: relative;
    transition: color 0.25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background-color: var(--rosa-forte);
    transition: right 0.25s ease;
}

nav a:hover {
    color: var(--rosa-texto);
}

nav a:hover::after {
    right: 0;
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* ---------- Hero ---------- */

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr;
    align-items: center;
    gap: 40px;
    padding: 90px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    color: var(--rosa-texto);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--tinta);
    max-width: 14ch;
}

.hero-content p {
    margin-top: 18px;
    font-size: 18px;
    color: var(--cinza-subtitulo);
    max-width: 46ch;
}

.btn-primary {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 28px;
    background-color: var(--rosa-cta);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--sombra);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
    background-color: var(--rosa-cta-hover);
    transform: translateY(-2px);
}

.hero-figure {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--azul-claro), var(--rosa-claro) 75%);
}

.hero-figure img {
    width: 55%;
    filter: drop-shadow(0 12px 20px rgba(38, 49, 58, 0.15));
}

/* ---------- Seções ---------- */

section {
    padding: 64px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

section ul {
    padding-left: 40px;
}

section h2 {
    text-align: center;
    margin-bottom: 12px;
    color: var(--azul-texto-acessivel);
    font-size: clamp(26px, 3vw, 34px);
}

#sobre p {
    max-width: 68ch;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    color: var(--tinta);
}

/* ---------- Serviços ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 36px;
    align-items:start;
}

.service-card {
    background-color: var(--azul-claro);
    border: 1px solid rgba(0, 142, 160, 0.14);
    padding: 28px 20px;
    border-radius: var(--raio);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--azul-petroleo-forte);
    margin: 0 auto 14px;
}

.service-card h3 {
    font-family: var(--fonte-corpo);
    font-weight: 600;
    font-size: 16px;
    color: var(--tinta);
}

.service-card summary h3 {
    color:black;
    font-family: var(--fonte-corpo);
    cursor: pointer;
}

.service-card summary::after {
    content: none;
}

/* ---------- Acessibilidade ---------- */

.callout {
    background-color: var(--azul-claro);
    border-radius: var(--raio);
    padding: 40px;
    border-left: 5px solid var(--azul-petroleo-forte);
}

.callout h2 {
    text-align: left;
}

.callout p {
    color: var(--tinta);
    max-width: 72ch;
}

summary {
    list-style: none;
    cursor: pointer;
    color: var(--azul-texto-acessivel);
    font-weight: 600;
    font-size: 14px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "↓";
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.25s ease;
}

details[open] summary::after {
    transform: rotate(180deg);
}

/* ---------- Equipe ---------- */

.staff-table {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: start;
    margin-top: 36px;
}

.staff-card {
    background-color: var(--azul-claro);
    border: 1px solid rgba(0, 142, 160, 0.14);
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--raio);
    width: 260px;
    min-height: 280px;
    position: relative;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.staff-card:hover {
    box-shadow: var(--sombra);
    transform: translateY(-3px);
}

.staff-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rosa-claro);
    margin-bottom: 14px;
}

.staff-card h3 {
    font-family: var(--fonte-corpo);
    font-size: 16px;
    font-weight: 700;
    color: var(--tinta);
}

.staff-card>p {
    color: var(--rosa-texto);
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}

.staff-card details {
    margin-top: auto;
    text-align: left;
    align-self: stretch;
}

.staff-card details p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--cinza-subtitulo);
}

/* ---------- Convênios ---------- */

.pill-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    padding-left: 0;
}

.pill-list li {
    background-color: #ffffff;
    border: 1px solid rgba(0, 142, 160, 0.2);
    color: var(--azul-texto-acessivel);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 999px;
}

/* ---------- Depoimentos ---------- */

.testimonial {
    max-width: 700px;
    margin: 36px auto 0;
    background-color: #ffffff;
    border-radius: var(--raio);
    padding: 40px;
    text-align: center;
    box-shadow: var(--sombra);
}

.testimonial blockquote {
    font-family: var(--fonte-display);
    font-size: 20px;
    font-style: italic;
    color: var(--tinta);
    white-space: pre-line;
}

.testimonial blockquote::before {
    content: "“";
    display: block;
    font-size: 48px;
    color: var(--rosa-forte);
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial figcaption {
    margin-top: 18px;
}

.testimonial figcaption a {
    font-size: 13px;
    font-weight: 600;
    color: var(--azul-texto-acessivel);
    text-decoration: none;
}

.testimonial figcaption a:hover {
    text-decoration: underline;
}

/* ---------- Rodapé ---------- */

footer {
    padding: 56px 40px 28px;
    background-color: var(--azul-petroleo-forte);
    color: #ffffff;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
}

footer h2 {
    font-size: 22px;
    text-align: left;
    margin-bottom: 14px;
}

footer h3 {
    color: var(--rosa-claro);
    font-size: 16px;
    margin-bottom: 12px;
}

footer p {
    font-size: 14px;
    opacity: 0.92;
    margin-top: 4px;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer li {
    font-size: 14px;
    opacity: 0.92;
    margin-top: 4px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    opacity: 0.75;
    text-align: center;
}

/* ---------- Botões flutuantes ---------- */

.whatsapp-float,
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: var(--sombra);
    transition: transform 0.25s ease;
}

.whatsapp-float:hover,
.back-to-top:hover {
    transform: translateY(-3px);
}

.whatsapp-float img,
.back-to-top img {
    width: 26px;
    height: 26px;
}

.whatsapp-float {
    bottom: 82px;
}

.back-to-top {
    bottom: 20px;
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 56px 24px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-figure {
        max-width: 220px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    footer h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 14px 20px;
        flex-wrap: wrap;
    }

    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

    .nav-toggle-label span,
    .nav-toggle-label::before,
    .nav-toggle-label::after {
        content: "";
        display: block;
        height: 2px;
        background-color: var(--azul-texto-acessivel);
        border-radius: 2px;
    }

    nav {
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        gap: 14px;
        transition: max-height 0.3s ease;
    }

    .nav-toggle:checked~nav {
        max-height: 260px;
        margin-top: 16px;
    }

    section {
        padding: 40px 20px;
    }

    .callout {
        padding: 28px;
    }
}
