/* =========================================================
   Organização Presidente — site one page
   Mobile-first: base = celular · 768px = tablet · 1200px = desktop
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores */
  --azul-principal: #007EA5;
  --azul-medio: #0094BA;
  --azul-intenso: #006B89;
  --petroleo: #00232F;
  --azul-suave: #ADDFF6;
  --azul-suave-2: #D2EFFA;
  --cinza-fundo: #EFEFEF;
  --fundo-pagina: #F5FAFC;
  --branco: #FFFFFF;
  /* Verde do WhatsApp: design usa #51AE00 (contraste 2,8:1 com texto branco).
     Valor provisório mais escuro (~4,5:1) até aprovação do designer. */
  --whatsapp: #3D8500;
  --whatsapp-hover: #336F00;

  /* Tipografia (fluida entre 375px e 1920px) — escala mais contida e elegante */
  --font: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(1.875rem, 1.6rem + 1.1vw, 2.75rem);    /* 30 → 44 */
  --fs-h2: clamp(1.625rem, 1.4rem + 0.9vw, 2.375rem);   /* 26 → 38 */
  --fs-lead: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);  /* 16 → 19 */
  --fs-card: clamp(0.9375rem, 0.88rem + 0.3vw, 1.25rem); /* 15 → 20 */
  --fs-plan-title: clamp(1.125rem, 1rem + 0.45vw, 1.5rem);  /* 18 → 24 */
  --fs-plan-text: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem); /* 15 → 17 */
  --fs-btn: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem); /* 15 → 17 */
  --fs-phone: clamp(1.5rem, 1.35rem + 0.5vw, 1.875rem);  /* 24 → 30 */
  --tracking-title: -0.015em;

  /* Espaçamento e forma */
  --gutter: 20px;
  --section-y: 64px;
  --radius-xl: 24px;
  --radius-card: 20px;
  --radius-btn: 12px;
  --shadow: 0 5px 5px rgba(0, 0, 0, .15);
  --header-h: 64px;
  --header-top: 12px;
  --container: 1520px;
  --focus: 3px solid var(--azul-suave);
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --section-y: 96px;
    --radius-xl: 36px;
    --radius-card: 24px;
    --radius-btn: 14px;
    --header-h: 72px;
    --header-top: 24px;
  }
}

@media (min-width: 1200px) {
  :root {
    --section-y: 128px;
    --radius-xl: 52px;
    --radius-card: 28px;
    --radius-btn: 15px;
    --header-h: 96px;
    --header-top: 48px;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--petroleo);
  background: var(--fundo-pagina);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, p, ul { margin: 0; }
/* Evita quebras feias: títulos equilibrados e parágrafos sem palavra sozinha na última linha */
h1, h2, h3 { text-wrap: balance; }
p, li, address { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }

:focus-visible { outline: var(--focus); outline-offset: 2px; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 12px 20px; border-radius: 8px;
  background: var(--petroleo); color: var(--branco); font-weight: 700;
}
.skip-link:focus { top: 16px; }

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

.section { padding-block: var(--section-y); }

/* ---------- 3. Tipografia de seção ---------- */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--tracking-title);
  color: var(--petroleo);
}
.section-title strong { font-weight: 800; }
.section-title--center { text-align: center; }
.section-title--light { color: var(--branco); }

.section-lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--azul-principal);
}
.section-lead--center { text-align: center; max-width: 62ch; margin-inline: auto; }
.section-lead--light { color: var(--azul-suave); }
.section-lead--white { color: var(--branco); }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: var(--fs-btn);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .06em;
  transition: background-color .2s, transform .2s;
}
.btn--block { width: 100%; }
.btn--whatsapp { background: var(--whatsapp); color: var(--branco); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); }
.btn--whatsapp:active { transform: translateY(1px); }
.btn__arrow { width: 20px; height: auto; transform: rotate(180deg); transition: transform .2s; }
.btn:hover .btn__arrow { transform: rotate(180deg) translateX(-4px); }

@media (min-width: 1200px) {
  .btn { min-height: 62px; }
}

/* Setas de carrossel */
.arrow {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.arrow img { width: 32px; height: auto; }
.arrow--next img { transform: rotate(180deg); }
.arrow:hover { background: var(--azul-suave-2); }
.arrow:disabled { opacity: .4; cursor: default; background: transparent; }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: var(--header-top) 0 auto; z-index: 100;
  padding-inline: 16px;
  transition: top .3s;
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: 20px 8px;
  border-radius: 32px;
  background: rgba(0, 148, 186, .6);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: height .3s, background-color .3s;
}
.header.is-scrolled { top: 12px; }
.header.is-scrolled .header__bar { background: var(--azul-medio); }

.header__logo img { width: auto; height: calc(var(--header-h) - 18px); max-height: 64px; }

.nav { display: none; }

.menu-toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--branco);
  transition: transform .25s, opacity .25s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu aberto (tablet/mobile) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-top) + var(--header-h) + 32px) 24px 32px;
  background: var(--petroleo);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: grid; gap: 4px; }
.mobile-menu__link {
  display: flex; align-items: center; min-height: 56px;
  font-size: 1.375rem; font-weight: 800; color: var(--branco);
  text-decoration: none; text-transform: uppercase;
  border-bottom: 1px solid rgba(173, 223, 246, .2);
}
.mobile-menu__link:hover { color: var(--azul-suave); }

@media (min-width: 768px) {
  .header { padding-inline: var(--gutter); }
  .header__bar { border-radius: 36px; padding-inline: 28px 12px; }
}

@media (min-width: 1200px) {
  .header__bar { border-radius: 48px; padding-inline: 63px 66px; }
  .header.is-scrolled .header__bar { height: 72px; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .nav { display: block; }
  .nav__list { display: flex; gap: clamp(24px, 2.6vw, 48px); }
  .nav__link {
    position: relative;
    font-size: 1rem; font-weight: 800;
    color: var(--branco); text-decoration: none; text-transform: uppercase;
    padding-block: 8px;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
    height: 2px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .nav__link:hover::after,
  .nav__link.is-current::after { transform: scaleX(1); }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: var(--branco);
  background: var(--azul-medio);
  overflow: hidden;
}
.hero__slides { position: relative; display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex; align-items: flex-end;
  min-height: max(600px, min(100svh, 760px));
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media, .hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__media img { object-fit: cover; object-position: 66% center; }

/* Degradê para leitura do texto no mobile (texto embaixo) */
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 107, 137, .95) 0%, rgba(0, 126, 165, .75) 38%, rgba(0, 126, 165, 0) 65%);
  pointer-events: none;
}

.hero__content {
  position: relative; z-index: 1;
  padding-bottom: 72px;
}
.hero__title {
  max-width: 15ch;
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: var(--tracking-title);
}
.hero__text {
  max-width: 40ch;
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  opacity: .95;
}
.hero .btn { margin-top: 28px; width: 100%; }

.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.hero__dots[hidden] { display: none; }
.hero__dot {
  width: 30px; height: 8px; padding: 0;
  border: 1.5px solid var(--branco); border-radius: 8px;
  background: transparent; cursor: pointer;
  transition: background-color .2s, width .2s;
}
.hero__dot[aria-current="true"] { background: var(--branco); width: 48px; }

@media (min-width: 768px) {
  .hero__slide { min-height: 720px; align-items: center; }
  .hero__slide::after {
    background: linear-gradient(to right, rgba(0, 126, 165, .85) 0%, rgba(0, 126, 165, .35) 45%, rgba(0, 126, 165, 0) 60%);
  }
  .hero__media img { object-position: 78% center; }
  .hero__content { padding-top: calc(var(--header-top) + var(--header-h)); padding-bottom: 64px; }
  .hero__title { max-width: 420px; }
  .hero__text { max-width: 440px; }
  .hero .btn { width: auto; }
  .hero__dots { justify-content: flex-start; }
}

@media (min-width: 1200px) {
  .hero__slide { min-height: clamp(720px, 48.33vw, 928px); }
  /* O degradê do desktop já vem na própria imagem */
  .hero__slide::after { display: none; }
  .hero__media img { object-position: center; }
  .hero__title { max-width: 500px; }
  .hero__text { max-width: 500px; }
  .hero .btn { margin-top: 40px; min-width: 300px; }
  .hero__dots { bottom: 56px; }
}

/* ---------- 7. Benefícios ---------- */
.beneficios { background: var(--cinza-fundo); }
.beneficios__carousel { margin-top: 32px; }
.beneficios .arrow { display: none; }

.beneficios__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.beneficio {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 16px;
  min-height: 140px;
  padding: 20px 14px 18px;
  border: 1px solid var(--azul-principal);
  border-radius: var(--radius-card);
  background: var(--branco);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.beneficio__icon { width: 36px; height: 36px; object-fit: contain; object-position: left; }
.beneficio__title {
  font-size: var(--fs-card);
  font-weight: 500;
  line-height: 1.3;
  color: var(--petroleo);
}
.beneficio__note {
  margin-top: -8px;
  font-size: .8125rem;
  color: var(--azul-principal);
}

@media (min-width: 768px) {
  .beneficios__carousel { margin-top: 48px; }
  .beneficios__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .beneficio { min-height: 180px; padding: 28px 24px; gap: 20px; }
  .beneficio__icon { width: 40px; height: 40px; }
  .beneficio__note { font-size: .875rem; }
}

/* Desktop: carrossel horizontal com setas */
@media (min-width: 1200px) {
  .beneficios__carousel {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 22px;
  }
  .beneficios .arrow { display: grid; }
  .beneficios__list {
    display: flex; gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px;
  }
  .beneficios__list::-webkit-scrollbar { display: none; }
  .beneficio {
    flex: 0 0 calc((100% - 60px) / 4);
    min-height: 180px;
    padding: 36px 32px 32px;
    gap: 24px;
    scroll-snap-align: start;
  }
  .beneficio__icon { width: 44px; height: 44px; }
  .beneficio:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 35, 47, .08); }
}

/* ---------- 8. Faixa azul ---------- */
.faixa {
  position: relative;
  padding-block: var(--section-y);
  background: var(--azul-medio);
  color: var(--branco);
  overflow: hidden;
  isolation: isolate;
}
.faixa::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  background: url("../assets/icons/padrao-claro.svg") repeat left top / 210px 420px;
  opacity: .25;
}
.faixa__title { font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; letter-spacing: var(--tracking-title); max-width: 18ch; }
.faixa__text { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.6; color: var(--azul-suave); max-width: 52ch; }

@media (min-width: 768px) {
  .faixa::before { width: 50%; opacity: .45; background-size: 280px 560px; }
}
@media (min-width: 1200px) {
  .faixa { min-height: 423px; display: flex; align-items: center; }
  .faixa::before { width: 44%; opacity: 1; background-size: 420px 840px; }
  .faixa__title { max-width: none; }
  .faixa__text { max-width: 760px; }
}

/* ---------- 9. Nossa História ---------- */
.historia__grid { display: grid; gap: 32px; }
.historia__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.historia__gallery picture { display: contents; }
.historia__gallery source { display: none; }
.historia__photo {
  /* As fotos exportadas do Figma já vêm com cantos arredondados (~52px).
     O arredondamento aqui precisa ser um pouco maior que o embutido,
     senão aparecem as pontas transparentes/contorno nos cantos. */
  --radius-photo: 34px;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-photo);
  background: var(--azul-suave-2);
}
.historia__photo--main { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.historia__photo--top, .historia__photo--bottom { aspect-ratio: 1; }

@media (min-width: 768px) {
  .historia__text { max-width: 640px; }
  .historia__gallery {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 520px;
  }
  .historia__photo { --radius-photo: 44px; }
  .historia__photo--main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .historia__photo--top { grid-column: 2; grid-row: 1; aspect-ratio: auto; }
  .historia__photo--bottom { grid-column: 2; grid-row: 2; aspect-ratio: auto; }
}

@media (min-width: 1200px) {
  .historia__grid {
    grid-template-columns: minmax(340px, 440px) 1fr;
    align-items: center;
    gap: clamp(48px, 5vw, 96px);
  }
  .historia__photo { --radius-photo: 56px; }
  .historia__gallery {
    grid-template-columns: 573fr 406fr;
    grid-template-rows: 272fr 432fr;
    gap: 30px;
    height: clamp(560px, 38vw, 736px);
  }
}

/* ---------- 10. Floricultura ---------- */
.floricultura {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--azul-principal);
  color: var(--branco);
  overflow: hidden;
}
.floricultura__media { order: 2; position: relative; aspect-ratio: 16 / 10; }
.floricultura__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }

.floricultura__inner {
  order: 1;
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
  padding-block: var(--section-y) 40px;
}
.floricultura__text .section-title { font-weight: 500; }
.floricultura__logo {
  position: absolute; right: var(--gutter); bottom: -160px;
  width: 120px; height: auto; z-index: 2;
}
.floricultura__logo img { width: 100%; height: auto; }

@media (min-width: 768px) {
  .floricultura { display: block; min-height: 520px; }
  .floricultura__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .floricultura__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0, 126, 165, .95) 0%, rgba(0, 126, 165, .7) 40%, rgba(0, 126, 165, 0) 70%);
  }
  .floricultura__inner {
    min-height: 520px;
    flex-direction: row; align-items: center; justify-content: space-between;
    padding-block: 64px;
  }
  .floricultura__text { max-width: 440px; }
  .floricultura__logo { position: static; width: 180px; align-self: flex-end; }
}

@media (min-width: 1200px) {
  .floricultura, .floricultura__inner { min-height: clamp(520px, 31.25vw, 600px); }
  /* A imagem já traz o degradê azul à esquerda: ancorar a imagem pela esquerda
     e reforçar levemente o degradê em telas menores que 1920 */
  .floricultura__media img { object-position: left center; }
  .floricultura__media::after {
    background: linear-gradient(to right, rgba(0, 126, 165, .55) 0%, rgba(0, 126, 165, .25) 30%, rgba(0, 126, 165, 0) 45%);
  }
  .floricultura__text { max-width: 560px; }
  .floricultura__text .section-lead { max-width: 460px; }
  .floricultura__logo { width: 267px; align-self: center; }
}

/* ---------- 11. Planos ---------- */
.planos { overflow: hidden; }
.planos__carousel {
  --plan-w: min(82vw, 360px);
  --plan-w-active: var(--plan-w);
  --plan-gap: 12px;
  margin-top: 32px;
  outline-offset: -3px;
}
.planos__stage {
  position: relative;
  height: var(--stage-h, 340px);
  touch-action: pan-y;
  user-select: none;
}

.plano {
  position: absolute; top: 50%; left: 50%;
  width: var(--plan-w);
  padding: 28px 24px;
  border: 1px solid var(--azul-principal);
  border-radius: var(--radius-card);
  background: var(--branco);
  color: var(--petroleo);
  transform: translate(calc(-50% + var(--x, 0px)), -50%);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), background-color .3s, color .3s, opacity .3s, width .0s;
  cursor: pointer;
}
.plano.no-anim { transition: none; }
.plano[data-offset="2"], .plano[data-offset="-2"] { opacity: 0; pointer-events: none; }

.plano__title {
  font-size: var(--fs-plan-title);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--azul-principal);
}
.plano__title { letter-spacing: .02em; }
.plano__desc {
  margin-top: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--azul-principal);
  font-size: var(--fs-plan-text);
  line-height: 1.45;
}
.plano__list {
  margin-top: 18px;
  font-size: var(--fs-plan-text);
  line-height: 1.7;
}

.plano.is-active {
  width: var(--plan-w-active);
  background: var(--azul-principal);
  border-color: var(--petroleo);
  color: var(--branco);
  cursor: default;
}
.plano.is-active .plano__title { color: var(--azul-suave); }
.plano.is-active .plano__desc { border-color: var(--azul-suave); }
.plano:not(.is-active):hover { border-width: 2px; }

.planos__nav {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 20px;
}
.planos__dots { display: flex; gap: 8px; }
.planos__dot {
  width: 10px; height: 10px; padding: 0;
  border: 1.5px solid var(--azul-principal); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.planos__dot[aria-current="true"] { background: var(--azul-principal); }

.planos__cta { margin-top: 32px; text-align: center; }
.planos__cta .btn { width: 100%; }

@media (min-width: 768px) {
  .planos__carousel { --plan-w: 360px; --plan-w-active: 440px; --plan-gap: 20px; margin-top: 48px; }
  .plano { padding: 32px; }
  .planos__cta .btn { width: auto; min-width: 349px; }
}

@media (min-width: 1200px) {
  .planos__carousel {
    --plan-w: 481px; --plan-w-active: 551px; --plan-gap: 21px;
    position: relative;
    max-width: 1520px; margin-inline: auto;
  }
  .planos__carousel { --plan-w: 420px; --plan-w-active: 480px; }
  .plano { padding: 36px 44px; }
  .plano.is-active { padding: 44px 52px; }
  .plano.is-active .plano__title { font-size: 1.625rem; }
  .plano.is-active .plano__desc, .plano.is-active .plano__list { font-size: 1.125rem; }
  .planos__nav { margin-top: 0; }
  .planos__nav .arrow { position: absolute; top: calc(var(--stage-h, 371px) / 2 - 24px); }
  .planos__nav .arrow--prev { left: max(var(--gutter), calc(50% - 760px)); }
  .planos__nav .arrow--next { right: max(var(--gutter), calc(50% - 760px)); }
  .planos__dots { display: none; }
  .planos__stage {
    /* corta os cards laterais entre as setas, como no layout */
    --cut: max(calc(var(--gutter) + 64px), calc(50% - 680px));
    -webkit-mask-image: linear-gradient(to right, transparent var(--cut), #000 calc(var(--cut) + 1px), #000 calc(100% - var(--cut) - 1px), transparent calc(100% - var(--cut)));
            mask-image: linear-gradient(to right, transparent var(--cut), #000 calc(var(--cut) + 1px), #000 calc(100% - var(--cut) - 1px), transparent calc(100% - var(--cut)));
  }
  .planos__cta { margin-top: 40px; }
}

/* ---------- 12. App ---------- */
.app {
  position: relative;
  margin-top: 0;
  background: var(--petroleo);
  color: var(--branco);
  overflow: hidden;
  isolation: isolate;
}
/* Padrão exportado do Figma (840 × 420); no layout aparece só a parte esquerda, no canto superior direito */
.app::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; right: 0;
  width: min(610px, 70%); height: 420px;
  background: url("../assets/img/padrao-app.webp") no-repeat left top / 840px 420px;
}
.app__grid {
  display: grid; gap: 40px;
  padding-top: var(--section-y);
}
.app__stores { display: flex; gap: 12px; margin-top: 28px; }
.store {
  flex: 1 1 0;
  max-width: 236px;
  border-radius: 10px;
  transition: opacity .2s, transform .2s;
}
.store img { width: 100%; height: auto; }
.store:hover { opacity: .85; }

/* Celular já vem inclinado e recortado do Figma (765 × 741) */
.app__phone { display: flex; justify-content: center; }
.app__phone img { width: min(100%, 420px); height: auto; }

@media (min-width: 768px) {
  .app__grid { grid-template-columns: 1fr 1fr; align-items: end; padding-top: 0; }
  .app__text { padding-block: var(--section-y); align-self: center; }
  .app__phone { padding-top: 40px; }
  .app__phone img { width: 100%; max-width: 765px; }
  .store { flex: 0 1 200px; }
}

@media (min-width: 1200px) {
  .app { margin-top: 107px; overflow: visible; }
  .app__grid { grid-template-columns: minmax(420px, 640px) 1fr; }
  .app__text { padding-block: 140px 90px; }
  /* o celular "sai" 107px por cima do fundo escuro, como no layout */
  .app__phone { margin-top: -107px; padding-top: 0; justify-content: flex-start; }
  .store { flex: 0 0 236px; }
}

/* ---------- 13. Contato ---------- */
.contato__grid { display: grid; gap: 40px; }
.contato__info { display: grid; gap: 40px; }
.contato__tel {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 20px;
  min-height: 56px;
  font-size: var(--fs-phone);
  color: var(--petroleo);
  text-decoration: none;
}
.contato__tel img { width: 44px; height: 44px; }
.contato__tel:hover span { text-decoration: underline; }
.contato__obs { margin-top: 4px; font-size: 1rem; color: var(--azul-principal); }
.contato__end { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.55; }
.contato__rota {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px;
  font-size: .9375rem; font-weight: 700; letter-spacing: .02em;
  color: var(--azul-principal); text-decoration: none;
  transition: color .2s, gap .2s;
}
.contato__rota:hover { color: var(--azul-intenso); gap: 10px; }
.contato__mapa {
  margin-inline: calc(var(--gutter) * -1);
  height: 300px;
  background: var(--azul-suave-2);
}
.contato__mapa iframe { width: 100%; height: 100%; border: 0; }

@media (min-width: 768px) {
  .contato__info { grid-template-columns: 1fr 1fr; }
  .contato__mapa { margin-inline: 0; height: 360px; border-radius: var(--radius-card); overflow: hidden; }
}

@media (min-width: 1200px) {
  .contato { padding-block: 64px 96px; }
  .contato__grid { grid-template-columns: minmax(380px, 1fr) 1003fr; align-items: stretch; gap: 64px; }
  .contato__info { grid-template-columns: 1fr; align-content: center; gap: 56px; }
  .contato__mapa {
    height: 416px;
    margin-right: calc((100vw - min(100vw, calc(var(--container) + var(--gutter) * 2))) / -2 - var(--gutter));
    border-radius: 0;
  }
}

/* ---------- 14. Rodapé ---------- */
.footer {
  position: relative;
  margin-top: 60px;
  padding-block: 72px 40px;
  background: var(--petroleo);
  color: var(--branco);
}
.footer__inner {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.footer__logo img { width: 140px; height: auto; }
.footer__social { display: flex; align-items: center; gap: 12px; font-size: .875rem; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--branco); border-radius: 50%;
  transition: background-color .2s;
}
.footer__social a:hover { background: rgba(255, 255, 255, .12); }
.footer__copy { font-size: .75rem; color: var(--azul-suave); }

.footer__top {
  position: absolute; right: var(--gutter); top: -28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--azul-suave);
  color: var(--petroleo);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.footer__top img { width: 20px; transform: rotate(90deg); filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(2000%) hue-rotate(160deg); }
.footer__top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.footer__top:hover { transform: translateY(-3px); }

@media (min-width: 768px) {
  .footer { padding-block: 64px; }
  .footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
  .footer__logo { order: 2; }
  .footer__social { order: 1; }
  .footer__copy { order: 3; }
  .footer__top { width: 96px; height: 96px; top: -36px; border-radius: 18px; }
}

@media (min-width: 1200px) {
  .footer { margin-top: 35px; padding-block: 0; min-height: 325px; display: flex; align-items: center; }
  .footer__inner { justify-content: center; gap: clamp(40px, 4vw, 80px); }
  .footer__logo img { width: 160px; }
  .footer__social { font-size: 1rem; }
  .footer__copy { font-size: .875rem; }
  .footer__top {
    right: max(var(--gutter), calc(50% - 760px)); top: -35px;
    width: 120px; height: 120px; border-radius: 20px;
  }
  .footer__top span {
    position: static; width: auto; height: auto; clip: auto; overflow: visible;
    font-size: .875rem; font-weight: 700; line-height: 1.28; text-transform: uppercase; text-align: center; padding-inline: 10px;
  }
}

/* ---------- 15. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
