/*
Theme Name: Amarine
Description: Tema institucional Amarine.
Version: 1.0.0
Text Domain: amarine
*/

html {
  scroll-behavior: smooth;
}

body.amarine-home-page-template {
  margin: 0;
  background: #ffffff;
}

body.amarine-home-page-template.admin-bar .amarine-clone-header--overlay {
  top: 32px;
}

.amarine-home {
  --amarine-navy: #08163b;
  --amarine-cyan: #3fbcf2;
  --amarine-yellow: #ffce00;
  --amarine-violet: #8676c3;
  --amarine-white: #ffffff;
  --amarine-ink: #10203f;
  --amarine-muted: #4c5d7d;
  --amarine-line: rgba(8, 22, 59, 0.12);
  --amarine-surface: #f5f8ff;
  --amarine-surface-alt: #eaf4fb;
  --amarine-shadow: 0 24px 64px rgba(8, 22, 59, 0.12);
  color: var(--amarine-ink);
  background:
    radial-gradient(circle at top right, rgba(0, 172, 204, 0.14), transparent 28%),
    radial-gradient(circle at left center, rgba(134, 118, 195, 0.16), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  font-family: "Inter", Verdana, sans-serif;
}

.amarine-home--standalone {
  min-height: 100vh;
}

.amarine-home,
.amarine-home * {
  box-sizing: border-box;
}

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

.amarine-home a {
  color: inherit;
}

.amarine-home [id] {
  scroll-margin-top: 92px;
}

.amarine-menu-open {
  overflow: hidden;
}

.amarine-home__container {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.amarine-clone-header {
  position: relative;
  z-index: 30;
}

.amarine-clone-header--overlay {
  position: sticky;
  inset: 0 0 auto 0;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(8, 22, 59, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.amarine-clone-header--overlay .amarine-clone-nav a,
.amarine-clone-header--overlay .amarine-clone-lang,
.amarine-clone-header--overlay .amarine-clone-social a,
.amarine-clone-header--overlay .amarine-clone-menu-button {
  color: var(--amarine-white);
}

.amarine-clone-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 70px;
}

.amarine-clone-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.amarine-clone-header__brand img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.amarine-clone-nav {
  flex: 0 1 auto;
}

.amarine-clone-nav ul,
.amarine-clone-mobile-menu ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amarine-clone-nav a,
.amarine-clone-mobile-menu a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.amarine-clone-nav a:hover,
.amarine-clone-mobile-menu a:hover {
  color: var(--amarine-cyan);
}

.amarine-clone-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.amarine-clone-lang {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--amarine-white);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.amarine-language-switcher {
  position: relative;
}

.amarine-language-switcher::after {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 10px;
  content: '';
}

.amarine-clone-lang {
  gap: 8px;
}

.amarine-clone-lang .fa-chevron-down {
  font-size: 0.7em;
  transition: transform 180ms ease;
}

.amarine-language-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 138px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(8, 22, 59, 0.96);
  box-shadow: 0 14px 30px rgba(8, 22, 59, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.amarine-language-switcher:hover .amarine-language-switcher__menu,
.amarine-language-switcher:focus-within .amarine-language-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.amarine-language-switcher:hover .fa-chevron-down,
.amarine-language-switcher:focus-within .fa-chevron-down {
  transform: rotate(180deg);
}

.amarine-language-switcher__menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--amarine-white);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.amarine-language-switcher__menu a:hover,
.amarine-language-switcher__menu a:focus-visible,
.amarine-language-switcher__menu a[aria-current="page"] {
  background: rgba(63, 188, 242, 0.25);
  color: var(--amarine-white);
}

.amarine-clone-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amarine-clone-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.amarine-clone-menu-button,
.amarine-clone-menu-close,
.amarine-clone-footer-form button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.amarine-clone-menu-button {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--amarine-white);
  font-size: 0.88rem;
  font-weight: 800;
}

.amarine-clone-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 22, 59, 0.74);
  backdrop-filter: blur(10px);
}

.amarine-clone-mobile-menu__inner {
  margin-top: 24px;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(8, 22, 59, 0.24);
}

.amarine-clone-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.amarine-clone-mobile-menu__top img {
  height: 40px;
  width: auto;
}

.amarine-clone-mobile-menu ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.amarine-clone-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(8, 22, 59, 0.08);
  color: var(--amarine-navy);
  font-weight: 800;
}

.amarine-home__section {
  position: relative;
  padding: 96px 0;
}

.amarine-home__section::before {
  display: none;
}

.amarine-home__section--muted {
  background:
    linear-gradient(180deg, rgba(0, 172, 204, 0.06), rgba(0, 172, 204, 0.02)),
    #ffffff;
}

.amarine-home__section--cta {
  background:
    linear-gradient(135deg, rgba(8, 22, 59, 0.98), rgba(8, 22, 59, 0.92)),
    var(--amarine-navy);
  color: var(--amarine-white);
}

.amarine-home__masthead {
  margin-top: -70px;
  padding: 152px 0 64px;
  background-image: url("https://amarine.com.br/wp-content/uploads/2022/09/header-background-1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.amarine-home__masthead-inner {
  min-height: 595px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amarine-home__masthead-logo-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.amarine-home__masthead-logo {
  width: min(522px, 100%);
  max-width: 522px;
  height: auto;
}

.amarine-home__masthead-tagline {
  position: absolute;
  left: 45.205%;
  bottom: 0;
  color: #ffffff;
  font-family: "Inter", Verdana, sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.3em;
}

.amarine-home__masthead-tagline p {
  margin: 0;
}

.amarine-home__hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  color: var(--amarine-ink);
}

.amarine-home__hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 0;
  align-items: center;
  min-height: 445px;
  padding-top: 28px;
}

.amarine-home__hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
  padding-top: 18px;
  text-align: start;
}

.amarine-home__hero-accent {
  position: absolute;
  pointer-events: none;
}

.amarine-home__hero-accent--left {
  right: 249px;
  bottom: 154px;
  width: 48px;
}

.amarine-home__hero-text {
  position: relative;
  width: auto;
  max-width: 34rem;
  color: #000000;
  font-family: "Inter", Verdana, sans-serif;
}

.amarine-home__hero-text h1 {
  margin: 0;
  color: var(--amarine-navy);
  font-size: clamp(1.8rem, 3.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.amarine-home__hero-text strong {
  color: #7670b3;
}

.amarine-home__hero-text::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 45px;
  height: 5px;
  background-color: #2fbced;
}

.amarine-home__hero-text p {
  margin: 1.35rem 0 0;
  color: var(--amarine-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.amarine-home__hero-media-wrap {
  padding: 18px 0 0 46px;
}

.amarine-home__hero-media {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.amarine-home__hero-photo {
  position: relative;
  z-index: 3;
  width: 55%;
  max-width: 248px;
  height: auto;
}

.amarine-home__hero-shape {
  position: absolute;
  pointer-events: none;
}

.amarine-home__hero-shape--back {
  top: 4px;
  left: 329px;
  z-index: 1;
  width: 311px;
  max-width: 311px;
}

.amarine-home__hero-shape--front {
  left: -12px;
  bottom: 77px;
  z-index: 4;
  width: 34px;
  max-width: 34px;
}

.amarine-home__about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.amarine-home__about-visual,
.amarine-home__about-copy,
.amarine-home__marketing,
.amarine-home__testimonial,
.amarine-home__highlight,
.amarine-home__highlight--featured,
.amarine-clone-footer-contact__copy,
.amarine-clone-footer-form {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--amarine-shadow);
}

.amarine-home__about-visual {
  padding: 34px;
  overflow: hidden;
}

.amarine-home__about-visual h2 {
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
  margin-top: 6px;
}

.amarine-home__about-copy {
  padding: 34px;
}

.amarine-home__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.amarine-home__metrics article {
  padding: 20px 18px;
  border-radius: 20px;
  border: 1px solid var(--amarine-line);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.amarine-home__metrics strong,
.amarine-home__story h3,
.amarine-home__marketing h3,
.amarine-home__highlight h3,
.amarine-home__testimonial strong {
  display: block;
  color: var(--amarine-navy);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.3;
}

.amarine-home__metrics span {
  display: block;
  margin-top: 8px;
  color: var(--amarine-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.amarine-home__story {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--amarine-line);
  font-size: 1.22rem;
  line-height: 1.7;
}

.amarine-home__story h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.amarine-home__section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.amarine-home__section-head h2 {
  font-size: clamp(1.05rem, 1.75vw, 1.36rem);
  margin-top: 4px;
}

.amarine-home__section-head p {
  margin: 16px 0 0;
}

.amarine-home__section-head > .amarine-home__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--amarine-cyan);
  font-size: clamp(1.32rem, 1.95vw, 1.62rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amarine-home__cards {
  display: grid;
  gap: 20px;
}

.amarine-home__cards--partners {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amarine-home__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--amarine-line);
  box-shadow: 0 18px 40px rgba(8, 22, 59, 0.08);
}

.amarine-home__card img {
  width: auto;
  max-width: 180px;
  height: 56px;
  object-fit: contain;
}

.amarine-home__card-mark {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: var(--amarine-navy);
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
  opacity: 0.6;
}

.amarine-home__card p {
  margin: 0;
  color: var(--amarine-muted);
  line-height: 1.7;
}

.amarine-home__card a {
  margin-top: auto;
  color: var(--amarine-cyan);
  font-weight: 800;
  text-decoration: none;
}

.amarine-home__marketing {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 26px;
  padding: 30px 32px;
  background:
    linear-gradient(135deg, rgba(8, 22, 59, 0.98), rgba(8, 22, 59, 0.94)),
    var(--amarine-navy);
}

.amarine-home__marketing .amarine-home__eyebrow,
.amarine-home__marketing h3,
.amarine-home__marketing p,
.amarine-home__marketing a {
  color: var(--amarine-white);
}

.amarine-home__marketing .amarine-home__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--amarine-cyan);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amarine-home__testimonials {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.amarine-home__client-name {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: var(--amarine-navy);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.amarine-home__testimonial {
  position: relative;
  grid-column: span 2;
  padding: 28px 24px;
  overflow: hidden;
}

.amarine-home__testimonial::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255, 206, 0, 0.18), transparent 70%);
}

.amarine-home__testimonial strong,
.amarine-home__client-name {
  margin-bottom: 14px;
}

.amarine-home__testimonial p {
  position: relative;
  margin: 0;
  color: var(--amarine-muted);
  line-height: 1.7;
}

.amarine-home__testimonial:nth-child(4) {
  grid-column: 2 / span 2;
}

.amarine-home__testimonial:nth-child(5) {
  grid-column: 4 / span 2;
}

.amarine-home__highlights {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.amarine-home__highlight--featured {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px;
}

.amarine-home__highlight--featured img,
.amarine-home__highlight img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.amarine-home__highlight--featured img {
  min-height: 280px;
}

.amarine-home__highlight-list {
  display: grid;
  gap: 16px;
}

.amarine-home__highlight {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.amarine-home__highlight span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--amarine-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amarine-home__highlight h3 {
  margin: 0;
  font-size: 1.08rem;
}

.amarine-home__highlight p {
  margin: 12px 0 0;
  color: var(--amarine-muted);
  line-height: 1.65;
}

.amarine-home__cta {
  display: grid;
  gap: 32px;
}

.amarine-home__cta h2,
.amarine-home__cta h3,
.amarine-home__cta p,
.amarine-home__cta-kicker {
  color: var(--amarine-white);
}

.amarine-home__cta-intro {
  max-width: 58rem;
}

.amarine-home__cta h2 {
  font-size: clamp(1.05rem, 1.75vw, 1.32rem);
}

.amarine-home__cta p {
  margin: 16px 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
}

.amarine-home__cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.amarine-home__cta-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 30px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.amarine-home__cta-card--brands {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 206, 0, 0.08));
}

.amarine-home__cta-card--retail {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 172, 204, 0.08));
}

.amarine-home__cta-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amarine-home__cta-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.14;
}

.amarine-home__cta-card p {
  margin: 0;
  max-width: none;
}

.amarine-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  color: var(--amarine-navy);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.amarine-home__button:hover,
.amarine-home__button:focus-visible {
  transform: translateY(-1px);
}

.amarine-clone-footer-contact {
  padding: 96px 0 72px;
  background:
    linear-gradient(180deg, rgba(8, 22, 59, 0.05), rgba(255, 255, 255, 0) 24%),
    #ffffff;
}

.amarine-clone-footer-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 24px;
  align-items: start;
}

.amarine-clone-footer-contact__copy,
.amarine-clone-footer-form {
  padding: 32px;
  border: 1px solid var(--amarine-line);
}

.amarine-clone-footer-contact__copy h2 {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.amarine-clone-footer-contact__copy p {
  margin: 16px 0 0;
}

.amarine-clone-footer-contact__meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--amarine-line);
}

.amarine-clone-footer-contact__meta strong {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--amarine-navy);
}

.amarine-clone-footer-form {
  display: grid;
  gap: 16px;
}

.amarine-clone-footer-contact--no-form .amarine-clone-footer-contact__grid {
  grid-template-columns: minmax(0, 1fr);
}

.amarine-clone-footer-contact--no-form .amarine-clone-footer-contact__copy {
  max-width: 720px;
}

.amarine-clone-footer-form label {
  display: grid;
  gap: 8px;
  color: var(--amarine-navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.amarine-clone-footer-form input,
.amarine-clone-footer-form select,
.amarine-clone-footer-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(8, 22, 59, 0.16);
  border-radius: 16px;
  background: #ffffff;
  color: var(--amarine-ink);
  font: inherit;
}

.amarine-clone-footer-form textarea {
  min-height: 144px;
  resize: vertical;
}

.amarine-clone-footer-form button {
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--amarine-navy);
  color: var(--amarine-white);
  font-size: 0.95rem;
  font-weight: 800;
}

.amarine-clone-copyright {
  padding: 0 0 36px;
  background: #ffffff;
}

.amarine-clone-copyright__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid rgba(8, 22, 59, 0.08);
}

.amarine-clone-copyright__inner p {
  margin: 0;
  color: var(--amarine-muted);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .amarine-home__container {
    width: min(100%, calc(100% - 40px));
  }

  .amarine-clone-nav--desktop,
  .amarine-language-switcher,
  .amarine-clone-social {
    display: none;
  }

  .amarine-clone-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .amarine-home__cards--partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amarine-home__highlights,
  .amarine-home__about-grid,
  .amarine-clone-footer-contact__grid,
  .amarine-home__marketing,
  .amarine-home__hero-grid,
  .amarine-home__cta {
    grid-template-columns: 1fr;
  }

  .amarine-home__event-banner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 780px) {
  body.amarine-home-page-template.admin-bar .amarine-clone-header--overlay {
    top: 46px;
  }

  .amarine-home__container {
    width: min(100%, calc(100% - 24px));
  }

  .amarine-clone-header__inner {
    min-height: 64px;
  }

  .amarine-clone-header__brand img {
    height: 34px;
  }

  .amarine-clone-mobile-menu__inner,
  .amarine-home__about-visual,
  .amarine-home__about-copy,
  .amarine-home__marketing,
  .amarine-home__testimonial,
  .amarine-home__highlight,
  .amarine-home__highlight--featured,
  .amarine-clone-footer-contact__copy,
  .amarine-clone-footer-form {
    padding: 24px;
    border-radius: 22px;
  }

  .amarine-home__section,
  .amarine-clone-footer-contact {
    padding: 72px 0;
  }

  .amarine-home__masthead {
    margin-top: -64px;
    padding: 118px 0 40px;
  }

  .amarine-home__hero-media {
    min-height: 300px;
  }

  .amarine-home__metrics,
  .amarine-home__testimonials,
  .amarine-home__cards--partners {
    grid-template-columns: 1fr;
  }

  .amarine-home__testimonial,
  .amarine-home__testimonial:nth-child(4),
  .amarine-home__testimonial:nth-child(5) {
    grid-column: auto;
  }

  .amarine-home__highlight--featured {
    grid-template-columns: 1fr;
  }

  .amarine-home__highlight {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
  }

  .amarine-home__highlight img {
    min-height: 120px;
  }

  .amarine-home__highlight--featured img {
    min-height: 180px;
  }

  .amarine-home__events-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .amarine-home__events-nav {
    width: 56px;
    height: 56px;
  }

  .amarine-home__events-nav--prev {
    order: 2;
    justify-self: start;
  }

  .amarine-home__events-nav--next {
    order: 3;
    justify-self: end;
    margin-top: -72px;
  }

  .amarine-home__events-viewport {
    order: 1;
  }

  .amarine-home__event-banner,
  .amarine-home__event-copy {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }

  .amarine-home__event-copy h3 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .amarine-home__event-gallery {
    grid-template-columns: 1fr;
  }

  .amarine-home__event-photo-card {
    min-height: 180px;
    height: 180px;
  }

  .amarine-home__event-photo-card--image {
    min-height: 180px;
    height: 180px;
  }

  .amarine-home__hero-copy h1,
  .amarine-home__section-head h2,
  .amarine-home__about-visual h2,
  .amarine-home__cta h2,
  .amarine-clone-footer-contact h2 {
    letter-spacing: -0.025em;
  }

  .amarine-home__gallery-modal {
    padding: 16px;
  }

  .amarine-home__gallery-shell {
    grid-template-columns: 1fr;
  }

  .amarine-home__gallery-nav {
    width: 54px;
    height: 54px;
  }

  .amarine-home__gallery-nav--prev,
  .amarine-home__gallery-nav--next {
    justify-self: center;
  }

  .amarine-home__gallery-figure img {
    max-height: 58vh;
  }

  .amarine-home__gallery-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 780px) {
  .amarine-home__masthead-inner {
    min-height: 420px;
  }

  .amarine-home__masthead-logo {
    max-width: 80%;
  }

  .amarine-home__masthead-tagline {
    left: 0;
    bottom: -47%;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .amarine-home__hero-grid {
    grid-template-columns: 1fr;
    min-height: 632px;
  }

  .amarine-home__hero-copy {
    justify-content: center;
    margin-top: 50px;
  }

  .amarine-home__hero-accent--left {
    right: 274px;
    bottom: 131px;
    width: 46%;
    max-width: 46%;
  }

  .amarine-home__hero-media-wrap {
    padding: 24px 0 0;
  }

  .amarine-home__hero-photo {
    max-width: 166px;
  }


  .amarine-home__hero-shape--back {
    left: 205px;
    top: 15px;
    max-width: 239px;
  }

  .amarine-home__hero-shape--front {
    left: -12%;
    width: 35%;
    max-width: 35%;
  }
}
/* Brand color rebalance */
.amarine-home {
  --amarine-orange: #ff7900;
  --amarine-green: #00a690;
  --amarine-surface: #fbfaf7;
  --amarine-surface-alt: #eef9f8;
  --amarine-surface-warm: #fff8ee;
  --amarine-surface-cool: #eef7fb;
  --amarine-line: rgba(8, 22, 59, 0.1);
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 121, 0, 0.1), transparent 18%),
    radial-gradient(circle at 86% 8%, rgba(0, 172, 204, 0.14), transparent 24%),
    radial-gradient(circle at 84% 70%, rgba(0, 166, 144, 0.1), transparent 20%),
    linear-gradient(180deg, #f8fbfd 0%, #fffdf8 52%, #f4fbfa 100%);
}

.amarine-clone-header--overlay {
  background: linear-gradient(180deg, rgba(8, 22, 59, 0.68), rgba(8, 22, 59, 0.34));
}

.amarine-clone-lang {
  border-color: #3fbcf2;
  background: rgba(63, 188, 242, 0.22);
}

.amarine-clone-social a:hover,
.amarine-clone-lang:hover {
  background-color: rgba(63, 188, 242, 0.36);
  color: var(--amarine-white);
}

.amarine-clone-footer-form button:hover {
  background: linear-gradient(135deg, #0d255f, #1a4c90);
  color: var(--amarine-white);
}

.amarine-clone-mobile-menu__languages {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(8, 22, 59, 0.12);
}

.amarine-clone-mobile-menu__languages li {
  list-style: none;
}

.amarine-clone-mobile-menu__languages a {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(8, 22, 59, 0.14);
  border-radius: 999px;
  color: var(--amarine-navy);
}

.amarine-clone-mobile-menu__languages a[aria-current="page"] {
  border-color: var(--amarine-cyan);
  background: rgba(63, 188, 242, 0.12);
}

.amarine-home__section::before {
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 121, 0, 0.08) 42% 54%, transparent 54% 100%),
    linear-gradient(180deg, transparent 0 58%, rgba(0, 166, 144, 0.06) 58% 100%);
}

.amarine-home__section--muted {
  background:
    linear-gradient(180deg, rgba(0, 166, 144, 0.07), rgba(0, 172, 204, 0.03)),
    var(--amarine-surface-alt);
}

.amarine-home__masthead {
  position: relative;
}

.amarine-home__masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 22, 59, 0.08), rgba(0, 172, 204, 0.08) 44%, rgba(255, 121, 0, 0.12));
  pointer-events: none;
}

.amarine-home__masthead-inner {
  position: relative;
  z-index: 1;
}

.amarine-home__about-visual,
.amarine-home__about-copy,
.amarine-home__marketing,
.amarine-home__testimonial,
.amarine-home__highlight,
.amarine-home__highlight--featured,
.amarine-clone-footer-contact__copy,
.amarine-clone-footer-form,
.amarine-home__card {
  border: 1px solid var(--amarine-line);
}

.amarine-home__about-visual {
  background: linear-gradient(180deg, rgba(8, 22, 59, 0.97), rgba(18, 44, 112, 0.94));
}

.amarine-home__about-visual .amarine-home__eyebrow,
.amarine-home__about-visual h2 {
  color: var(--amarine-white);
}

.amarine-home__about-copy {
  background:
    radial-gradient(circle at top right, rgba(255, 121, 0, 0.08), transparent 18%),
    linear-gradient(180deg, var(--amarine-surface-warm), #ffffff 68%);
}

.amarine-home__metrics article:nth-child(4n + 1) {
  background: linear-gradient(180deg, #fff4e6, #fffaf3);
  border-color: rgba(255, 121, 0, 0.18);
}

.amarine-home__metrics article:nth-child(4n + 2) {
  background: linear-gradient(180deg, #edf9f7, #f8fffd);
  border-color: rgba(0, 166, 144, 0.2);
}

.amarine-home__metrics article:nth-child(4n + 3) {
  background: linear-gradient(180deg, #eef8fc, #fbfeff);
  border-color: rgba(0, 172, 204, 0.18);
}

.amarine-home__metrics article:nth-child(4n) {
  background: linear-gradient(180deg, #f6f3ff, #fbfaff);
  border-color: rgba(118, 112, 179, 0.2);
}

.amarine-home__story {
  border-top-color: rgba(255, 121, 0, 0.18);
}

.amarine-home__card {
  background: linear-gradient(180deg, #ffffff, var(--amarine-surface-cool));
}

.amarine-home__card:nth-child(4n + 1) {
  border-top: 4px solid var(--amarine-orange);
}

.amarine-home__card:nth-child(4n + 2) {
  border-top: 4px solid var(--amarine-green);
}

.amarine-home__card:nth-child(4n + 3) {
  border-top: 4px solid var(--amarine-cyan);
}

.amarine-home__card:nth-child(4n) {
  border-top: 4px solid var(--amarine-yellow);
}

.amarine-home__marketing {
  background:
    radial-gradient(circle at top right, rgba(255, 121, 0, 0.18), transparent 24%),
    radial-gradient(circle at left bottom, rgba(0, 166, 144, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(8, 22, 59, 0.98), rgba(8, 22, 59, 0.92));
}

.amarine-home__testimonial {
  background:
    linear-gradient(180deg, #ffffff, #fffaf3);
  border: 1px solid rgba(255, 121, 0, 0.12);
}

.amarine-home__testimonial:nth-child(2n) {
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
  border-color: rgba(0, 166, 144, 0.12);
}

.amarine-home__highlight--featured {
  background:
    linear-gradient(180deg, rgba(8, 22, 59, 0.04), rgba(0, 172, 204, 0.03)),
    #ffffff;
}

.amarine-home__highlight-list .amarine-home__highlight:nth-child(1) {
  background: linear-gradient(180deg, #fff4e8, #fffdfa);
}

.amarine-home__highlight-list .amarine-home__highlight:nth-child(2) {
  background: linear-gradient(180deg, #eef9f8, #fbfffe);
}

.amarine-home__highlight-list .amarine-home__highlight:nth-child(3) {
  background: linear-gradient(180deg, #eef7fb, #fbfeff);
}

.amarine-home__section--cta {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 121, 0, 0.18), transparent 22%),
    radial-gradient(circle at 84% 74%, rgba(0, 166, 144, 0.18), transparent 18%),
    linear-gradient(135deg, rgba(8, 22, 59, 0.98), rgba(8, 22, 59, 0.92));
}

.amarine-home__button--primary {
  background: #3fbcf2;
  color: var(--amarine-navy);
}

.amarine-home__button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--amarine-white);
}

.amarine-clone-footer-contact {
  background:
    radial-gradient(circle at top left, rgba(0, 166, 144, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 121, 0, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(8, 22, 59, 0.05), rgba(255, 255, 255, 0) 24%),
    #ffffff;
}

.amarine-clone-footer-contact__copy {
  background:
    linear-gradient(180deg, rgba(8, 22, 59, 0.96), rgba(18, 44, 112, 0.92));
  color: var(--amarine-white);
}

.amarine-clone-footer-contact__copy h2,
.amarine-clone-footer-contact__copy p,
.amarine-clone-footer-contact__copy strong {
  color: var(--amarine-white);
}

.amarine-clone-footer-contact__meta {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.amarine-clone-footer-form {
  background:
    radial-gradient(circle at top right, rgba(255, 206, 0, 0.1), transparent 18%),
    linear-gradient(180deg, #ffffff, #f8fcfb);
}

.amarine-clone-footer-form button {
  background: linear-gradient(135deg, #08163b, #15407a);
}

/* Motion and partner hover refinements */
@media (prefers-reduced-motion: no-preference) {
  .amarine-home__hero-photo {
    opacity: 0;
    transform: translateX(-88px);
    transition: opacity 680ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }

  .amarine-home__hero-photo.is-inview {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .amarine-home__hero-photo {
    opacity: 1;
    transform: none;
  }
}

.amarine-home__card {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.amarine-home__card-logo,
.amarine-home__card-mark {
  transition: opacity 180ms ease, transform 180ms ease;
}

.amarine-home__card-logo {
  filter: none;
  opacity: 1;
}


.amarine-home__card a {
  display: inline-flex;
  align-self: flex-start;
  position: relative;
  padding: 0;
  background: transparent !important;
  color: var(--amarine-navy);
  box-shadow: none !important;
}

.amarine-home__card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.24;
  transition: opacity 180ms ease, transform 180ms ease;
  transform-origin: left center;
}

.amarine-home__card:hover a,
.amarine-home__card a:hover {
  background: transparent !important;
  color: var(--amarine-card-brand);
}

.amarine-home__card:hover a::after,
.amarine-home__card a:hover::after {
  opacity: 0.75;
  transform: scaleX(1.02);
}

.amarine-home__marketing a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.amarine-home__button--primary:hover,
.amarine-home__button--primary:focus-visible {
  box-shadow: 0 14px 28px rgba(63, 188, 242, 0.32);
}

.amarine-home__button--ghost:hover,
.amarine-home__button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 28px rgba(8, 22, 59, 0.18);
}

@media (max-width: 980px) {
  .amarine-home__cta-grid {
    grid-template-columns: 1fr;
  }
}


.amarine-home__events-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.amarine-home__events-viewport {
  min-width: 0;
}

.amarine-home__event-slide {
  display: block;
}

.amarine-home__event-slide[hidden] {
  display: none !important;
}

.amarine-home__event-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(280px, 0.84fr);
  gap: 26px;
  min-height: 580px;
  padding: 40px;
  border: 1px solid var(--amarine-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 121, 0, 0.1), transparent 22%),
    radial-gradient(circle at left bottom, rgba(0, 172, 204, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--amarine-shadow);
}

.amarine-home__event-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(8, 22, 59, 0.08);
  background: linear-gradient(180deg, rgba(8, 22, 59, 0.03), rgba(8, 22, 59, 0.01));
}

.amarine-home__event-copy h3 {
  margin: 0;
  color: var(--amarine-navy);
  font-size: 3.6rem;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.amarine-home__event-copy p:last-child {
  margin: 0;
  max-width: 34ch;
  color: var(--amarine-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.amarine-home__event-gallery {
  display: grid;
  gap: 16px;
  align-content: center;
}

.amarine-home__event-photo-card {
  display: grid;
  place-items: center;
  min-height: 240px;
  height: 240px;
  padding: 18px;
  border: 1px solid rgba(8, 22, 59, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: var(--amarine-navy);
  font-size: 1.3rem;
  font-weight: 700;
}

.amarine-home__event-photo-card--image {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  min-height: 240px;
  height: 240px;
  aspect-ratio: auto;
}

.amarine-home__event-photo-card--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amarine-home__events-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--amarine-navy);
  box-shadow: 0 14px 30px rgba(8, 22, 59, 0.16), inset 0 0 0 1px rgba(8, 22, 59, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.amarine-home__events-nav span {
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-2px);
}

.amarine-home__events-nav:hover,
.amarine-home__events-nav:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
  color: var(--amarine-navy);
}

.amarine-home__event-photo-card--image {
  cursor: pointer;
}

.amarine-home__event-photo-card--image:focus-visible {
  outline: 3px solid rgba(0, 172, 204, 0.42);
  outline-offset: 3px;
}

body.amarine-gallery-open {
  overflow: hidden;
}

.amarine-home__gallery-modal[hidden] {
  display: none !important;
}

.amarine-home__gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 32px;
}

.amarine-home__gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 59, 0.82);
  backdrop-filter: blur(10px);
}

.amarine-home__gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
}

.amarine-home__gallery-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.amarine-home__gallery-figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.amarine-home__gallery-swipe-hint[hidden] {
  display: none !important;
}

.amarine-home__gallery-swipe-hint {
  position: absolute;
  left: 50%;
  top: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 22, 59, 0.72);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(8, 22, 59, 0.24);
  transform: translate(-50%, -8px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.amarine-home__gallery-swipe-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.amarine-home__gallery-swipe-hint span {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.amarine-home__gallery-swipe-icon {
  width: 44px;
  height: 24px;
  overflow: visible;
}

.amarine-home__gallery-swipe-hand {
  fill: #ffce00;
  transform-origin: 50% 100%;
  animation: amarineGallerySwipeHand 3.5s infinite ease;
}

.amarine-home__gallery-swipe-arrow {
  fill: #ffffff;
  opacity: 0;
}

.amarine-home__gallery-swipe-arrow--right {
  animation: amarineGallerySwipeArrowRight 3.5s infinite ease;
}

.amarine-home__gallery-swipe-arrow--left {
  animation: amarineGallerySwipeArrowLeft 3.5s infinite ease;
}

@keyframes amarineGallerySwipeHand {
  5% { transform: translateX(3px) rotate(6deg); }
  25% { transform: translateX(0) rotate(0deg); }
  28% { transform: translateX(0) rotate(0deg); }
  33% { transform: translateX(-3px) rotate(-6deg); }
  53% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

@keyframes amarineGallerySwipeArrowRight {
  7% { transform: translateX(8px); opacity: 1; }
  17% { transform: translateX(10px); opacity: 0; }
  18%, 100% { transform: translateX(0); opacity: 0; }
}

@keyframes amarineGallerySwipeArrowLeft {
  0%, 30% { transform: translateX(0); opacity: 0; }
  37% { transform: translateX(-8px); opacity: 1; }
  47% { transform: translateX(-10px); opacity: 0; }
  48%, 100% { transform: translateX(0); opacity: 0; }
}

.amarine-home__gallery-figure img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #f4f8ff;
}

.amarine-home__gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--amarine-navy);
}

.amarine-home__gallery-caption strong {
  font-size: 1.05rem;
}

.amarine-home__gallery-counter {
  color: var(--amarine-muted);
  font-weight: 700;
}

.amarine-home__gallery-nav,
.amarine-home__gallery-close {
  border: 0;
  cursor: pointer;
}

.amarine-home__gallery-nav {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--amarine-navy);
  box-shadow: 0 18px 38px rgba(8, 22, 59, 0.18), inset 0 0 0 1px rgba(8, 22, 59, 0.08);
  transition: transform 180ms ease, background-color 180ms ease;
}

.amarine-home__gallery-nav span {
  font-size: 3rem;
  line-height: 1;
}

.amarine-home__gallery-nav:hover,
.amarine-home__gallery-nav:focus-visible,
.amarine-home__gallery-close:hover,
.amarine-home__gallery-close:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
}

.amarine-home__gallery-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--amarine-navy);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background-color 180ms ease;
}
/* Hero redesign - 2026-09-02 */
.amarine-home__hero {
  position: relative;
  overflow: hidden;
  margin-top: -70px;
  padding: 148px 0 92px;
  background: url("https://amarine.com.br/wp-content/uploads/2026/09/background-header.png") center center / cover no-repeat;
  color: var(--amarine-white);
}

.amarine-home__hero::before,
.amarine-home__hero::after {
  content: none;
}

.amarine-home__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(0.5rem, 1.4vw, 1.4rem);
  align-items: center;
  min-height: 620px;
  padding-top: 0;
}

.amarine-home__hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 36rem;
  padding: 0;
  text-align: left;
}

.amarine-home__hero-brand {
  margin-bottom: 1.2rem;
}

.amarine-home__hero-logo {
  display: block;
  width: min(276px, 62vw);
  height: auto;
}

.amarine-home__hero-accent,
.amarine-home__hero-text::after {
  display: none;
}

.amarine-home__hero-text {
  max-width: 34rem;
  color: var(--amarine-white);
}

.amarine-home__hero-text h1 {
  color: var(--amarine-white);
  font-size: clamp(2.35rem, 3.1vw, 3.3rem);
  font-weight: 700;
  font-variation-settings: 'wght' 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.amarine-home__hero-text p {
  max-width: 31rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  line-height: 1.45;
}

.amarine-home__hero-media-wrap {
  padding: 0;
  margin-left: -20%;
}

.amarine-home__hero-media {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.amarine-home__hero-carousel {
  position: relative;
  z-index: 3;
  width: min(100%, 552px);
  aspect-ratio: 661 / 739;
  border-radius: 0;
  overflow: visible;
}

.amarine-home__hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 520ms ease, transform 640ms ease;
}

.amarine-home__hero-photo.is-active {
  opacity: 1;
  transform: scale(1);
}

.amarine-home__hero-shape {
  position: absolute;
  pointer-events: none;
}

.amarine-home__hero-shape--purple {
  right: -17%;
  bottom: 25%;
  z-index: 1;
  width: min(100%, 400px);
  transform: translateX(-155px);
}

.amarine-home__hero-shape--blue {
  top: 0%;
  right: -5%;
  z-index: 4;
  width: min(20%, 136px);
  transform: translateX(-155px);
}

@media (prefers-reduced-motion: reduce) {
  .amarine-home__hero-photo {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .amarine-home__hero {
    padding: 124px 0 72px;
  }

  .amarine-home__hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 0.75rem;
    min-height: auto;
  }

  .amarine-home__hero-copy {
    max-width: 30rem;
  }

  .amarine-home__hero-text {
    max-width: 30rem;
  }

  .amarine-home__hero-text h1 {
    font-size: clamp(2rem, 3.25vw, 2.8rem);
  }

  .amarine-home__hero-text p {
    max-width: 27rem;
    font-size: 0.95rem;
  }

  .amarine-home__hero-media-wrap {
    margin-left: -12%;
  }

  .amarine-home__hero-media {
    min-height: 470px;
  }

  .amarine-home__hero-carousel {
    width: min(100%, 430px);
  }
}

@media (max-width: 780px) {
  .amarine-home__hero {
    margin-top: -70px;
    padding: 112px 0 48px;
  }

  .amarine-home__hero-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: auto;
  }

  .amarine-home__hero-copy {
    max-width: 100%;
  }

  .amarine-home__hero-brand {
    margin-bottom: 0.9rem;
  }

  .amarine-home__hero-logo {
    width: min(220px, 58vw);
  }

  .amarine-home__hero-text {
    max-width: 100%;
  }

  .amarine-home__hero-text h1 {
    font-size: clamp(1.95rem, 7.2vw, 2.8rem);
  }

  .amarine-home__hero-text p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .amarine-home__hero-media-wrap {
    margin-top: -0.25rem;
  }

  .amarine-home__hero-media {
    min-height: 338px;
    justify-content: center;
  }

  .amarine-home__hero-carousel {
    width: min(100%, 368px);
  }

  .amarine-home__hero-shape--purple {
    right: -6%;
    bottom: 18%;
    width: min(56vw, 198px);
  }

  .amarine-home__hero-shape--blue {
    top: 3%;
    right: -2%;
    width: min(24vw, 104px);
  }
}
/* About redesign - 2026-09-02 */
.amarine-home__section--about {
  background: url("https://amarine.com.br/wp-content/uploads/2026/09/background-sobre.png") center center / cover no-repeat;
}

.amarine-home__about-visual {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.amarine-home__about-visual-card {
  margin: 0 0 0;
  padding: 22px 28px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(5, 9, 25, 0.98), rgba(8, 22, 59, 0.96));
  box-shadow: 0 18px 36px rgba(8, 22, 59, 0.18);
}

.amarine-home__about-visual .amarine-home__eyebrow,
.amarine-home__about-visual h2 {
  color: var(--amarine-white);
}

.amarine-home__about-visual .amarine-home__eyebrow {
  margin: 0 0 10px;
}

.amarine-home__about-visual h2 {
  margin: 0;
}

.amarine-home__about-image {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  margin-top: 14px;
}

.amarine-home__about-copy {
  background: #ffffff;
}

.amarine-home__metrics article {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: none;
}

.amarine-home__metrics article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.75), transparent 34%);
  pointer-events: none;
}

.amarine-home__metrics article:nth-child(1),
.amarine-home__metrics article:nth-child(4) {
  border-color: #8781cc;
  background: linear-gradient(180deg, #f5f4ff, #eeeeff);
}

.amarine-home__metrics article:nth-child(2),
.amarine-home__metrics article:nth-child(3) {
  border-color: #3fbcf2;
  background: linear-gradient(180deg, #def8ff, #c7f1ff);
}

.amarine-home__metrics article:nth-child(1)::before,
.amarine-home__metrics article:nth-child(4)::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 110px;
  background: radial-gradient(circle at top right, rgba(135, 129, 204, 0.26), transparent 65%);
  pointer-events: none;
}

.amarine-home__metrics article:nth-child(2)::before,
.amarine-home__metrics article:nth-child(3)::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 110px;
  background: radial-gradient(circle at top right, rgba(63, 188, 242, 0.24), transparent 65%);
  pointer-events: none;
}

.amarine-home__story {
  border-top-color: rgba(63, 188, 242, 0.42);
}

@media (max-width: 780px) {
  .amarine-home__about-visual {
    height: auto;
  }

  .amarine-home__about-visual-card {
    padding: 20px 22px 18px;
    border-radius: 22px 22px 18px 18px;
  }

  .amarine-home__about-image {
    height: auto;
    flex: initial;
    object-fit: contain;
  }
}

/* Partners redesign - 2026-09-03 */
#nossas-parcerias {
  background: #f7f7f7;
}

#nossas-parcerias .amarine-home__card {
  --amarine-card-brand: #8781cc;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--amarine-line);
  border-top: 4px solid #8781cc;
  box-shadow: 0 18px 40px rgba(8, 22, 59, 0.08);
}

#nossas-parcerias .amarine-home__card img {
  width: auto;
  max-width: 190px;
  height: 56px;
  object-fit: contain;
}

#nossas-parcerias .amarine-home__card-logo {
  filter: none;
  opacity: 1;
}

#nossas-parcerias .amarine-home__card-logo.is-swapping {
  opacity: 0;
}

#nossas-parcerias .amarine-home__card p {
  color: var(--amarine-muted);
}

#nossas-parcerias .amarine-home__card a {
  color: #8781cc;
}

#nossas-parcerias .amarine-home__card--kodak {
  --amarine-card-brand: #FFB700;
}

#nossas-parcerias .amarine-home__card--canon {
  --amarine-card-brand: #CC0000;
}

#nossas-parcerias .amarine-home__card--marshall {
  --amarine-card-brand: #000000;
}

#nossas-parcerias .amarine-home__card--lexar {
  --amarine-card-brand: #DA291C;
}

#nossas-parcerias .amarine-home__card--reolink {
  --amarine-card-brand: #004cd8;
}

#nossas-parcerias .amarine-home__card--kooduu {
  --amarine-card-brand: #000000;
}

#nossas-parcerias .amarine-home__card:hover,
#nossas-parcerias .amarine-home__card:focus-within {
  border-top-color: var(--amarine-card-brand);
  border-color: var(--amarine-card-brand);
  box-shadow: 0 22px 48px rgba(8, 22, 59, 0.12), 0 0 0 1px color-mix(in srgb, var(--amarine-card-brand) 40%, transparent 60%);
  transform: translateY(-3px);
}

#nossas-parcerias .amarine-home__card:hover .amarine-home__card-logo,
#nossas-parcerias .amarine-home__card:focus-within .amarine-home__card-logo {
  transform: scale(1.015);
}

#nossas-parcerias .amarine-home__card:hover a,
#nossas-parcerias .amarine-home__card:focus-within a {
  color: var(--amarine-card-brand);
}

/* Clients redesign - 2026-09-03 */
#clientes {
  background: #ffffff;
}

#clientes .amarine-home__container,
#clientes .amarine-home__testimonials--logos,
#clientes .amarine-home__testimonial--logo,
#clientes .amarine-home__testimonial--logo:nth-child(4),
#clientes .amarine-home__testimonial--logo:nth-child(5) {
  background: #ffffff !important;
}

#clientes .amarine-home__section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  margin: 0 0 26px;
  text-align: center;
}

#clientes .amarine-home__section-head h2,
#clientes .amarine-home__section-head p {
  display: none;
}

#clientes .amarine-home__section-head > .amarine-home__eyebrow {
  display: block;
  margin: 0;
  color: #3fbcf2;
  font-size: clamp(1.32rem, 1.95vw, 1.62rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amarine-home__testimonials--logos {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}


.amarine-home__clients-carousel {
  position: relative;
}

.amarine-home__clients-viewport {
  min-width: 0;
}

.amarine-home__clients-nav {
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--amarine-navy);
  box-shadow: 0 14px 30px rgba(8, 22, 59, 0.14), inset 0 0 0 1px rgba(8, 22, 59, 0.08);
  cursor: pointer;
}

.amarine-home__clients-nav span {
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-2px);
}

.amarine-home__testimonial--logo,
.amarine-home__testimonial--logo:nth-child(4),
.amarine-home__testimonial--logo:nth-child(5) {
  grid-column: span 1;
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.amarine-home__testimonial--logo::before {
  content: none;
}

.amarine-home__client-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
}

@media (max-width: 780px) {
  #clientes .amarine-home__section-head {
    margin-bottom: 20px;
  }

  #clientes .amarine-home__clients-carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  #clientes .amarine-home__clients-nav {
    display: inline-flex;
  }

  #clientes .amarine-home__clients-viewport {
    overflow: hidden;
  }

  #clientes .amarine-home__testimonials--logos {
    display: block;
  }

  #clientes .amarine-home__testimonial--logo,
  #clientes .amarine-home__testimonial--logo:nth-child(4),
  #clientes .amarine-home__testimonial--logo:nth-child(5) {
    width: 100%;
    min-height: 120px;
    padding: 12px 0;
  }

  #clientes .amarine-home__testimonial--logo[hidden] {
    display: none !important;
  }

  #clientes .amarine-home__client-logo {
    max-height: 72px;
    margin: 0 auto;
  }
}


/* Events redesign - 2026-09-03 */
.amarine-home__section--events {
  background: #ffffff url("https://amarine.com.br/wp-content/uploads/2026/09/background-header.png") center center / cover no-repeat;
}

.amarine-home__section--events::before {
  display: none;
}

.amarine-home__section--events .amarine-home__section-head {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.amarine-home__section--events .amarine-home__section-head > p:last-child {
  color: #ffffff;
}

.amarine-home__cta-intro {
  margin: 0 auto;
  text-align: center;
}

.amarine-home__cta-intro > .amarine-home__eyebrow {
  display: block;
  margin: 0 0 12px;
  color: #3fbcf2;
  font-size: clamp(1.32rem, 1.95vw, 1.62rem);
  line-height: 1.08;
  font-weight: 800;
}

.amarine-home__cta-intro > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.amarine-home__section--events .amarine-home__event-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  grid-template-areas:
    "title title"
    "feature gallery";
  gap: 24px;
  min-height: 620px;
  padding: 28px;
  border: 1px solid rgba(135, 129, 204, 0.22);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(8, 22, 59, 0.16);
  backdrop-filter: blur(8px);
  align-items: start;
}

.amarine-home__section--events .amarine-home__event-title {
  grid-area: title;
  margin: 0;
  padding: 0 4px;
  color: var(--amarine-navy);
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.amarine-home__section--events .amarine-home__event-feature {
  grid-area: feature;
  display: grid;
  grid-template-rows: 520px;
  min-width: 0;
}

.amarine-home__section--events .amarine-home__event-gallery {
  grid-area: gallery;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 18px;
  align-content: stretch;
  height: 520px;
}

.amarine-home__section--events .amarine-home__event-photo-card {
  position: relative;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 22, 59, 0.12);
  border-radius: 24px;
  background: #eef4ff;
  box-shadow: 0 14px 28px rgba(8, 22, 59, 0.12);
}

.amarine-home__section--events .amarine-home__event-photo-card--primary {
  min-height: 520px;
  height: 520px;
  max-height: 520px;
}

.amarine-home__section--events .amarine-home__event-photo-card--image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  background: #eef4ff;
}

@media (max-width: 1100px) {
  .amarine-home__section--events .amarine-home__event-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "feature"
      "gallery";
    min-height: 0;
  }

  .amarine-home__section--events .amarine-home__event-feature {
    grid-template-rows: 420px;
  }

  .amarine-home__section--events .amarine-home__event-photo-card--primary {
    min-height: 420px;
    height: 420px;
  }

  .amarine-home__section--events .amarine-home__event-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    height: 180px;
  }

  .amarine-home__section--events .amarine-home__event-gallery .amarine-home__event-photo-card {
    min-height: 180px;
    height: 180px;
  }
}

@media (max-width: 720px) {
  .amarine-home__section--events .amarine-home__section-head {
    margin-bottom: 20px;
  }

  .amarine-home__section--events .amarine-home__events-carousel {
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-areas:
      "viewport viewport viewport viewport"
      ". prev next .";
    gap: 14px;
    align-items: start;
  }

  .amarine-home__section--events .amarine-home__events-viewport {
    grid-area: viewport;
  }

  .amarine-home__section--events .amarine-home__events-nav {
    width: 52px;
    height: 52px;
    box-shadow: 0 12px 24px rgba(8, 22, 59, 0.16), inset 0 0 0 1px rgba(8, 22, 59, 0.08);
  }

  .amarine-home__section--events .amarine-home__events-nav--prev {
    grid-area: prev;
    justify-self: center;
    margin-top: 0;
  }

  .amarine-home__section--events .amarine-home__events-nav--next {
    grid-area: next;
    justify-self: center;
    margin-top: 0;
  }

  .amarine-home__section--events .amarine-home__event-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "feature"
      "gallery";
    gap: 14px;
    min-height: 0;
    padding: 18px;
    border-radius: 24px;
  }

  .amarine-home__section--events .amarine-home__event-title {
    font-size: clamp(1.72rem, 7vw, 2.18rem);
    line-height: 0.98;
  }

  .amarine-home__section--events .amarine-home__event-feature {
    grid-template-rows: 244px;
  }

  .amarine-home__section--events .amarine-home__event-photo-card--primary {
    min-height: 244px;
    height: 244px;
    max-height: 244px;
  }

  .amarine-home__section--events .amarine-home__event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 118px);
    height: auto;
    gap: 12px;
  }

  .amarine-home__section--events .amarine-home__event-gallery .amarine-home__event-photo-card {
    min-height: 118px;
    height: 118px;
  }

  .amarine-home__section--events .amarine-home__event-gallery .amarine-home__event-photo-card:last-child {
    grid-column: 1 / -1;
  }

  .amarine-home__gallery-modal {
    padding: 20px 16px;
    place-items: center;
  }

  .amarine-home__gallery-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .amarine-home__gallery-dialog {
    width: min(calc(100vw - 32px), 390px);
    margin: 0 auto;
  }

  .amarine-home__gallery-figure {
    border-radius: 24px;
  }

  .amarine-home__gallery-figure img {
    max-height: 58vh;
  }

  .amarine-home__gallery-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px 18px;
  }

  .amarine-home__gallery-caption strong {
    font-size: 0.96rem;
    line-height: 1.1;
  }

  .amarine-home__gallery-counter {
    font-size: 0.96rem;
  }

  .amarine-home__gallery-nav {
    display: none !important;
  }

  .amarine-home__gallery-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  }

  .amarine-home__gallery-swipe-hint {
    top: 14px;
    padding: 8px 12px;
    gap: 8px;
  }

  .amarine-home__gallery-swipe-hint span {
    font-size: 0.78rem;
  }

  .amarine-home__gallery-swipe-icon {
    width: 38px;
    height: 20px;
  }

}

/* Contact Form 7 renders the submit control inside this wrapper. */
#contato .cf7-submit-btn .wpcf7-submit {
  background-color: var(--amarine-violet);
  border-color: var(--amarine-violet);
  color: var(--amarine-white);
}

#contato .cf7-submit-btn .wpcf7-submit:hover,
#contato .cf7-submit-btn .wpcf7-submit:focus-visible {
  background-color: #7465b0;
  border-color: #7465b0;
  color: var(--amarine-white);
}

