/* HappyFEET Podologia Clínica */
:root {
  --navy: #173f97;
  --navy-dark: #0f2c74;
  --brand: #2f6fd6;
  --ink: #0f1b33;
  --muted: #51607a;
  --soft: #f2f6fd;
  --line: #dfe7f6;
  --white: #fff;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(6, 33, 92, .08);
  --font-title: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy-dark); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .6em; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #ffb703; outline-offset: 3px; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: 15px; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--line); }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 30; background: rgba(15, 44, 116, .96); backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-title); font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; background: var(--white); }
.nav { display: flex; gap: 22px; }
.nav a { color: #dbe6ff; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--white); }

/* Abertura */
.hero { background: linear-gradient(160deg, var(--navy-dark), var(--navy) 55%, var(--brand)); color: var(--white); padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #a9c6ff; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; }
.hero-lead { font-size: 19px; color: #e3ebff; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-phone { color: #c9d8fb; font-size: 15px; }
.hero-phone a { color: var(--white); font-weight: 700; }
.hero-photo { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.hero-photo figcaption { position: absolute; left: 16px; top: 16px; max-width: calc(100% - 32px); display: flex; flex-direction: column; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; box-shadow: var(--shadow); }
.hero-photo figcaption strong { font-family: var(--font-title); font-size: 17px; color: var(--navy-dark); }

/* Faixa de confiança */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 auto; padding-top: 24px; padding-bottom: 24px; }
.trust-list li { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--brand); }
.trust-list strong { font-family: var(--font-title); color: var(--navy-dark); }
.trust-list span { font-size: 15px; color: var(--muted); }

/* Seções */
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { display: grid; grid-template-columns: 180px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-img { background: #e8effc; }
.service-img img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.service-body { display: flex; flex-direction: column; padding: 22px; }
.service-body h3 { margin-bottom: 2px; color: var(--navy-dark); }
.service-body .term { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: .8em; }
.service-body p { color: var(--muted); }
.link-wa { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--wa-dark); text-decoration: none; }
.link-wa::after { content: ' →'; }
.link-wa:hover { text-decoration: underline; }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 18px var(--font-title); }
.steps h3 { color: var(--navy-dark); }
.steps p { margin: 0; color: var(--muted); }

/* Quem atende */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photos img:last-child { margin-top: 48px; }
.about-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Parceiros */
.partners-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.partners-text p:not(.eyebrow) { color: var(--muted); }
.partners-text .btn { margin-top: 8px; }
.partners-img { margin: 0; justify-self: center; max-width: 420px; }
.partners-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Dúvidas */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; font: 700 18px var(--font-title); color: var(--navy-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 26px; color: var(--brand); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* Onde estamos */
.local-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe7f6; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.local-info h3 { color: var(--navy-dark); }
.address { color: var(--muted); }
.phone a { font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; margin: 8px 0 20px; }
.hours caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.hours th, .hours td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.local-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.reviews { font-weight: 700; }

/* Chamada final */
.final-cta { background: var(--navy); color: var(--white); padding: 56px 0; }
.final-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.final-cta h2 { color: var(--white); margin-bottom: .2em; }
.final-cta p { color: #dbe6ff; margin: 0; }

/* Rodapé */
.footer { background: var(--navy-dark); color: #c9d8fb; padding: 40px 0 96px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer p { margin: 0 0 .4em; }
.footer a { color: var(--white); }
.footer-brand { font-family: var(--font-title); font-weight: 800; color: var(--white); font-size: 18px; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }

/* Responsivo */
@media (max-width: 1000px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid, .about-grid, .partners-grid, .local-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 380px; }
  .services { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 300px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .service { grid-template-columns: 120px 1fr; }
  .service-body { padding: 16px; }
  .trust-list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .about-photos img:last-child { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
}
