/* Surfway — estilos do site. Prefixo sw- em tudo. */

/* O cabeçalho e o rodapé são do plugin: esconder os do tema Astra. */
#masthead, .site-header, #colophon, .site-footer, #ast-scroll-top { display: none !important; }
body, .site, .site-content, .ast-page-builder-template { background: #F7F0E3 !important; }
.site-content > .ast-container, .entry-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.entry-content > p:empty { display: none; }

.sw {
  --sw-sea: #0E7C8A; --sw-deep: #0A4B54; --sw-accent: #FF7457; --sw-ink: #13343B; --sw-sand: #F7F0E3; --sw-dune: #EADBC0;
  --sw-muted: #55676B; --sw-body: #34494E; --sw-line: #E3D6BE; --sw-mist: #DDF1EF; --sw-pale: #BFEDEA;
  font-family: 'Work Sans', system-ui, sans-serif; color: var(--sw-ink); font-size: 17px; line-height: 1.55;
}
.sw { width: 100vw; margin-left: calc(50% - 50vw); overflow-x: clip; }
.sw *, .sw *::before, .sw *::after { box-sizing: border-box; }
.sw h1, .sw h2, .sw h3 { font-family: 'Archivo', system-ui, sans-serif; color: inherit; margin: 0; }
.sw p { margin: 0; }
.sw a { color: var(--sw-sea); }
.sw-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Botões */
.sw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 6px; font-weight: 600; text-decoration: none !important; border: 0; cursor: pointer; font: 600 16px 'Work Sans', sans-serif; }
.sw-btn--accent { background: var(--sw-accent); color: var(--sw-ink) !important; }
.sw-btn--accent:hover { background: #FF8E75; }
.sw-btn--sea { background: var(--sw-sea); color: #FFFFFF !important; }
.sw-btn--ghost { border: 2px solid var(--sw-sea); color: var(--sw-sea) !important; background: transparent; }
.sw-btn--light { background: #FFFFFF; color: var(--sw-ink) !important; }

/* Cabeçalho */
.sw-header { background: var(--sw-sand); color: var(--sw-ink); }
.sw-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; }
.sw-logo { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.5px; color: var(--sw-ink) !important; text-decoration: none !important; }
.sw-logo span { color: var(--sw-accent); }
.sw-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1 1 auto; font-size: 15px; }
.sw-nav a { color: var(--sw-ink) !important; text-decoration: none; padding: 10px 0; }
.sw-nav a:hover { text-decoration: underline; }

/* Hero */
.sw-hero { background: var(--sw-sea); color: #FFFFFF; position: relative; }
.sw-hero__row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 112px; }
.sw-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sw-kicker { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sw-pale); }
.sw-hero h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.03; letter-spacing: -1.5px; color: #FFFFFF; }
.sw-hero__lead { font-size: 19px; color: #F2FBFA; max-width: 540px; }
.sw-hero__media { flex: 1 1 400px; min-width: 0; min-height: 360px; border-radius: 12px; background: var(--sw-dune);
  display: flex; align-items: flex-end; padding: 28px; color: var(--sw-ink); }
.sw-hero__media blockquote { margin: 0; padding: 0; border: 0; background: none; color: var(--sw-ink); font-style: normal; font-family: 'Archivo', sans-serif; font-size: 22px; line-height: 1.3; }

/* Secções */
.sw-section { padding-top: 72px; padding-bottom: 32px; }
.sw-section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.sw-section h2 { font-weight: 800; font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.8px; }
.sw-section__sub { color: var(--sw-muted); }

/* Praias */
.sw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.sw-card { background: #FFFFFF; border: 1px solid var(--sw-line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.sw-card h3 { font-weight: 700; font-size: 21px; }
.sw-card p { font-size: 15px; color: var(--sw-body); }
.sw-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--sw-mist); color: var(--sw-sea); font-size: 13px; font-weight: 600; }
.sw-tag--warn { background: #FFE2D9; color: #8A2E17; }

/* Como funciona */
.sw-band { background: var(--sw-dune); margin-top: 56px; }
.sw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-bottom: 72px; }
.sw-step { display: flex; flex-direction: column; gap: 8px; }
.sw-step__n { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 44px; color: var(--sw-sea); line-height: 1; }
.sw-step h3 { font-size: 21px; }
.sw-step p { font-size: 15px; color: var(--sw-body); }

/* Escolas e instrutores (antigo) */
.sw-join { margin-top: 8px; border: 2px dashed var(--sw-sea); border-radius: 10px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.sw-join p { max-width: 640px; color: var(--sw-body); }

/* Segurança */
.sw-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.sw-split > * { flex: 1 1 420px; min-width: 0; }
.sw-split__list { margin: 0; padding-left: 20px; color: var(--sw-body); display: flex; flex-direction: column; gap: 8px; }
.sw-split__box { display: flex; flex-direction: column; gap: 16px; }

/* Pedido de aula */
.sw-request { background: var(--sw-sea); color: #FFFFFF; position: relative; }
.sw-request__row { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
.sw-request__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sw-request__text h2 { color: #FFFFFF; font-weight: 800; font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.8px; }
.sw-request__text p { color: #F2FBFA; }
.sw-form { flex: 1 1 520px; min-width: 0; background: #FFFFFF; color: var(--sw-ink); border-radius: 12px; padding: 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sw-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.sw-form input, .sw-form select, .sw-form textarea { min-height: 44px; border: 1px solid #9AA9A6; border-radius: 6px; padding: 8px 10px;
  font: 400 16px 'Work Sans', sans-serif; color: var(--sw-ink); background: #FFFFFF; width: 100%; }
.sw-form textarea { min-height: 96px; resize: vertical; }
.sw-form__full { grid-column: 1 / -1; }
.sw-form__check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.sw-form__check input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.sw-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sw-notice { grid-column: 1 / -1; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.sw-notice--ok { background: #E3F4EA; color: #14532D; }
.sw-notice--err { background: #FCE7DD; color: #8A3410; }

/* Páginas de texto */
.sw-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; display: flex; flex-direction: column; gap: 18px; }
.sw-page h1 { font-weight: 800; font-size: clamp(34px, 5vw, 48px); letter-spacing: -1px; }
.sw-page p { color: var(--sw-body); font-size: 18px; }

/* Rodapé */
.sw-footer { background: var(--sw-deep); color: #D3ECEC; font-size: 14px; }
.sw-footer__row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.sw-footer__brand { display: flex; flex-direction: column; gap: 8px; max-width: 340px; }
.sw-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sw-footer__nav a { color: #D3ECEC !important; padding: 8px 0; }

@media (max-width: 640px) {
  .sw-form { grid-template-columns: minmax(0, 1fr); }
  .sw-header .sw-btn { width: 100%; }
}

/* Ondas entre secções */
.sw-wave { display: block; width: 100%; height: 64px; position: absolute; left: 0; }
.sw-wave--bottom { bottom: -1px; }
.sw-wave--top { top: -1px; transform: scaleY(-1); }
.sw-request__row { padding-top: 112px !important; }
.sw-footer .sw-logo { color: #FFFFFF !important; }
.sw-hero .sw-kicker { color: var(--sw-pale); }

/* Partners */
.sw-card--link { text-decoration: none !important; color: var(--sw-ink) !important; transition: border-color .15s; }
.sw-card--link:hover { border-color: var(--sw-sea); }
.sw-card__more { margin-top: auto; font-weight: 600; color: var(--sw-sea); }
.sw-join-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sw-join-h { font-size: 20px; margin-top: 8px !important; }
.sw-join-page { align-items: flex-start; }
.sw-join-page .sw-kicker a { color: inherit; }

/* Fotos */
.sw-photo { margin: 0; position: relative; overflow: hidden; border-radius: 12px; }
.sw .sw-photo__img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.sw-photo figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #FFFFFF; background: rgba(10,40,45,.55); padding: 2px 8px; border-radius: 999px; }
.sw-hero__photo { flex: 1 1 400px; min-width: 0; height: 460px; position: relative; z-index: 1; }
.sw-card--spot { padding: 0; overflow: hidden; }
.sw-card--spot > :not(figure):not(.sw-card__nophoto) { margin-left: 22px; margin-right: 22px; }
.sw-card--spot > :last-child { margin-bottom: 22px; }
.sw-card__photo { height: 170px; }
.sw-card__photo { border-radius: 0; flex: 0 0 auto; }
.sw-card__nophoto { height: 170px; background: var(--sw-mist); color: var(--sw-sea); display: flex; align-items: center; padding: 0 24px; }
.sw-card__nophoto svg { width: 100%; height: 40px; opacity: .5; }
.sw-safety__photo { height: 420px; }
.sw-about__photo { height: 360px; margin: 8px 0; }
@media (max-width: 640px) { .sw-hero__photo { height: 320px; } .sw-safety__photo { height: 300px; } }
