/* ========================================
   COOPER GUARU - Design System
   ======================================== */

:root {
  /* Cores */
  --green: #03A65A;
  --blue: #03588C;
  --white: #FFFFFF;
  --black: #1C1C1C;
  --grey: #F0F2F0;
  --error: #CC5959;
  --disabled: #C2C2C2;
  --guaru-red: #E20F31;
  --guaru-orange: #D2862C;
  --guaru-gold: #D2AA6A;
  --guaru-yellow: #E8B923;
  --guaru-navy: #11305D;

  /* Spacing */
  --sp-xxs: 8px;
  --sp-s: 12px;
  --sp-m: 16px;
  --sp-l: 24px;
  --sp-xl: 32px;

  /* Border Radius */
  --radius-s: 16px;
  --radius-m: 40px;
  --radius-g: 100px;

  /* Shadow */
  --shadow-1: 1px 2px 3px 1px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-montserrat: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.6;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-montserrat);
  font-size: 16px;
  line-height: var(--lh-normal);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Variação de hover com tons quentes em links do footer/main */
.footer__logo:hover,
.parcerias__text a:hover {
  color: var(--guaru-orange);
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-m);
  background: var(--green);
  color: var(--white);
  padding: var(--sp-s) var(--sp-m);
  border-radius: var(--radius-s);
  z-index: 9999;
  transition: top 0.2s;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--sp-m);
}

/* Typography Utilities */
.text-xxs { font-size: 12px; }
.text-xs { font-size: 14px; }
.text-s { font-size: 16px; }
.text-m { font-size: 18px; }
.text-l { font-size: 20px; }
.text-xl { font-size: 24px; }
.text-xxl { font-size: 34px; }
.text-bold { font-weight: 700; }
.text-regular { font-weight: 400; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-l);
}

/* Section */
.section {
  padding: var(--sp-xl) 0;
}

.section--grey {
  background: var(--grey);
}

.section--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--guaru-navy) 50%, rgba(226, 15, 49, 0.25) 100%);
}

.section__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: var(--black);
  margin: 0 0 var(--sp-xl);
  line-height: var(--lh-tight);
}

.section__title--blue {
  color: var(--blue);
}

.section__title--warm {
  background: linear-gradient(90deg, var(--guaru-orange), var(--guaru-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__title--white {
  color: var(--white);
  margin-bottom: var(--sp-m);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-s) var(--sp-l);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-g);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--primary:hover:not(:disabled) {
  background: #028a4a;
  border-color: #028a4a;
}

.btn--outline {
  background: var(--white);
  color: var(--black);
  border-color: var(--disabled);
}

.btn--outline:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--warm {
  background: linear-gradient(135deg, var(--guaru-orange) 0%, var(--guaru-red) 100%);
  color: var(--white);
  border-color: transparent;
}

.btn--warm:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn--light {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.btn--light:hover:not(:disabled) {
  background: var(--grey);
}

.btn--large {
  padding: var(--sp-m) var(--sp-xl);
  font-size: 18px;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  background: var(--disabled);
  color: var(--white);
  cursor: not-allowed;
  border-color: var(--disabled);
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-m) var(--sp-l);
  gap: var(--sp-l);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
  color: var(--black);
  font-weight: 700;
  font-size: 20px;
}

.header__logo:hover {
  color: var(--green);
  text-decoration: none;
}

.header__logo-img {
  height: 48px;
  width: auto;
  opacity: 0.85;
}

.header__logo-fallback {
  display: none;
  align-items: center;
  gap: var(--sp-s);
}

.header__logo-text {
  font-size: 18px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.header__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--sp-l);
}

.header__link {
  color: var(--black);
  font-weight: 500;
}

.header__link:hover {
  color: var(--green);
  text-decoration: underline;
}

.header__link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.header__ctas {
  display: flex;
  gap: var(--sp-s);
}

.header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.header__menu-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Drawer */
.header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 99;
  overflow-y: auto;
}

.header__drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.header__drawer-nav {
  padding: var(--sp-xl);
  padding-top: 80px;
}

.header__drawer-links {
  list-style: none;
  margin: 0 0 var(--sp-xl);
  padding: 0;
}

.header__drawer-link {
  display: block;
  padding: var(--sp-m);
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid var(--grey);
}

.header__drawer-link:hover {
  color: var(--green);
}

.header__drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
}

.header__drawer-ctas .btn--full {
  justify-content: center;
}

/* Overlay quando drawer aberto */
.header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 98;
}

.header__overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-l);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__bg:has(.hero__img[style*="display: none"]) {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}

/* Overlay: mais escuro à esquerda (texto), mais claro à direita; toques de amarelo/vermelho */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(3, 56, 100, 0.88) 0%,
    rgba(3, 88, 140, 0.65) 35%,
    rgba(210, 134, 44, 0.2) 65%,
    rgba(226, 15, 49, 0.12) 100%
  );
  backdrop-filter: blur(3px);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 var(--sp-m);
  line-height: var(--lh-tight);
  max-width: 600px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 var(--sp-xl);
  max-width: 500px;
  line-height: var(--lh-relaxed);
}

.hero__ctas {
  display: none;
}

.hero__ctas .btn--light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.hero__ctas .btn--light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  color: var(--white);
}

.hero__metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-m);
  margin-top: var(--sp-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.metric-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-m) var(--sp-xl);
  background: var(--green);
  border-radius: var(--radius-g);
  box-shadow: var(--shadow-1);
  min-width: 180px;
}

.metric-pill:nth-child(2) {
  background: linear-gradient(135deg, var(--guaru-orange) 0%, var(--guaru-gold) 100%);
}

.metric-pill:nth-child(3) {
  background: linear-gradient(135deg, var(--guaru-red) 0%, var(--guaru-orange) 100%);
}

.metric-pill__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.metric-pill__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: var(--sp-xxs);
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: var(--sp-l) var(--sp-m);
    justify-content: flex-start;
    padding-top: var(--sp-xl);
  }

  /* Overlay mais leve no mobile para a foto não ficar ofuscada */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(3, 56, 100, 0.5) 0%,
      rgba(3, 88, 140, 0.35) 30%,
      rgba(3, 166, 90, 0.15) 70%,
      transparent 100%
    );
    backdrop-filter: none;
  }

  .hero__title {
    font-size: clamp(32px, 7.5vw, 42px);
    margin-bottom: var(--sp-s);
  }

  .hero__subtitle {
    font-size: 15px;
    margin-bottom: var(--sp-l);
    max-width: 100%;
  }

  .hero__ctas {
    display: none;
  }

  .hero {
    justify-content: space-between;
  }

  .hero__metrics {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-s);
    margin-top: auto;
    padding-top: var(--sp-l);
    padding-bottom: var(--sp-l);
  }

  .metric-pill {
    min-width: 0;
    padding: var(--sp-xxs) var(--sp-s);
    flex: 1 1 auto;
    min-width: 80px;
  }

  .metric-pill__value {
    font-size: 18px;
  }

  .metric-pill__label {
    font-size: 10px;
    margin-top: 2px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 65vh;
    padding-top: var(--sp-l);
  }

  .hero__title {
    font-size: clamp(30px, 7vw, 38px);
  }

  .hero__metrics {
    margin-top: auto;
    padding-top: var(--sp-l);
    padding-bottom: var(--sp-m);
    gap: var(--sp-xxs);
  }

  .metric-pill {
    padding: 6px var(--sp-s);
  }

  .metric-pill__value {
    font-size: 16px;
  }

  .metric-pill__label {
    font-size: 9px;
  }
}

/* ========================================
   SOBRE
   ======================================== */

.sobre__header {
  text-align: center;
  margin-bottom: var(--sp-xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.sobre__title {
  margin-bottom: var(--sp-s);
}

.sobre__lead {
  font-size: 18px;
  line-height: var(--lh-relaxed);
  color: var(--blue);
  margin: 0;
  font-weight: 500;
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  background: var(--white);
  padding: var(--sp-xl);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
}

.sobre__text {
  padding-right: var(--sp-l);
}

.sobre__text p {
  margin: 0 0 var(--sp-m);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
}

.sobre__text-first {
  font-size: 17px;
  color: var(--blue);
  font-weight: 500;
}

.sobre__video-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
}

.sobre__video-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sobre__video-wrap {
  width: 100%;
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  background: var(--black);
  aspect-ratio: 16 / 9;
}

.sobre__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.icon-card {
  background: var(--white);
  border-radius: var(--radius-s);
  padding: var(--sp-l);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.icon-card:hover {
  transform: translateY(-2px);
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

.icon-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: var(--sp-m);
}

.icon-card:nth-child(2) .icon-card__icon { color: var(--guaru-orange); }
.icon-card:nth-child(3) .icon-card__title { color: var(--blue); }
.icon-card:nth-child(3) .icon-card__icon { color: var(--guaru-gold); }
.icon-card:nth-child(4) .icon-card__title { color: var(--guaru-red); }
.icon-card:nth-child(4) .icon-card__icon { color: var(--guaru-red); }

.icon-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 var(--sp-s);
}

.icon-card__desc {
  font-size: 14px;
  color: var(--black);
  margin: 0;
  line-height: var(--lh-relaxed);
}

@media (max-width: 900px) {
  .sobre__grid {
    grid-template-columns: 1fr;
    padding: var(--sp-l);
  }

  .sobre__text {
    padding-right: 0;
  }

  .sobre__header {
    margin-bottom: var(--sp-l);
  }

  .sobre__lead {
    font-size: 16px;
  }
}

/* ========================================
   HISTÓRIA (Timeline)
   ======================================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-l);
  position: relative;
}

.timeline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline__marker {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-m);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.timeline__item:nth-child(2) .timeline__marker { background: var(--guaru-orange); }
.timeline__item:nth-child(3) .timeline__marker { background: var(--guaru-gold); }
.timeline__item:nth-child(4) .timeline__marker { background: linear-gradient(135deg, var(--guaru-red) 0%, var(--guaru-orange) 100%); }

.timeline__content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 var(--sp-s);
}

.timeline__content p {
  font-size: 14px;
  margin: 0;
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .timeline__item {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-l);
  }

  .timeline__marker {
    margin-bottom: 0;
  }
}

/* ========================================
   MATERIAIS
   ======================================== */

.materiais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-l);
}

.image-card {
  background: var(--white);
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.15);
}

.image-card__img-wrap {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  overflow: hidden;
}

.image-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card__img-wrap--fallback {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}

.image-card__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xxs);
  margin: var(--sp-m);
  margin-bottom: 0;
  padding: var(--sp-xxs) var(--sp-s);
  background: var(--grey);
  border-radius: var(--radius-g);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.image-card:nth-child(2) .image-card__chip { color: var(--guaru-orange); }
.image-card:nth-child(4) .image-card__chip { color: var(--guaru-red); }
.image-card:nth-child(5) .image-card__chip { color: var(--guaru-gold); }

.image-card__chip svg {
  flex-shrink: 0;
}

.image-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin: var(--sp-m);
  margin-bottom: var(--sp-xxs);
}

.image-card__desc {
  font-size: 14px;
  margin: 0 var(--sp-m) var(--sp-m);
  line-height: var(--lh-relaxed);
}

/* ========================================
   COMO FUNCIONA
   ======================================== */

.passos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-l);
}

.icon-card--step {
  position: relative;
}

.icon-card__number {
  position: absolute;
  top: var(--sp-m);
  right: var(--sp-m);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-card--step .icon-card__icon {
  width: 56px;
  height: 56px;
}

.passos__grid .icon-card--step:nth-child(2) .icon-card__icon { color: var(--guaru-orange); }
.passos__grid .icon-card--step:nth-child(2) .icon-card__title { color: var(--guaru-orange); }
.passos__grid .icon-card--step:nth-child(2) .icon-card__number { background: var(--guaru-orange); }
.passos__grid .icon-card--step:nth-child(3) .icon-card__icon { color: var(--guaru-gold); }
.passos__grid .icon-card--step:nth-child(3) .icon-card__title { color: var(--guaru-gold); }
.passos__grid .icon-card--step:nth-child(3) .icon-card__number { background: var(--guaru-gold); }
.passos__grid .icon-card--step:nth-child(4) .icon-card__icon { color: var(--guaru-red); }
.passos__grid .icon-card--step:nth-child(4) .icon-card__title { color: var(--guaru-red); }
.passos__grid .icon-card--step:nth-child(4) .icon-card__number { background: var(--guaru-red); }

@media (max-width: 900px) {
  .passos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .passos__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PARCERIAS
   ======================================== */

.parcerias__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin: 0 0 var(--sp-xl);
  max-width: 600px;
}

.parcerias__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-l);
  margin-top: var(--sp-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.parcerias__logo-item {
  aspect-ratio: 2/1;
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parcerias__logo-item--img {
  background: var(--white);
  padding: var(--sp-m);
}

.parcerias__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.parcerias__logo-placeholder {
  aspect-ratio: 2/1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 600px) {
  .parcerias__logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   CONTATO
   ======================================== */

.contato__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contato__intro {
  margin: 0 0 var(--sp-l);
  line-height: var(--lh-relaxed);
}

.contato__address {
  font-style: normal;
  line-height: var(--lh-relaxed);
}

.contato__address a {
  color: var(--blue);
}

.contato__address a:hover {
  color: var(--green);
}

/* Inputs underline */
.contato__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-l);
}

.input-wrap {
  position: relative;
}

.input-underline,
.input-select {
  width: 100%;
  padding: var(--sp-m) 0 var(--sp-s);
  font-family: var(--font-montserrat);
  font-size: 16px;
  border: none;
  border-bottom: 2px solid var(--disabled);
  background: transparent;
  color: var(--black);
  transition: border-color 0.2s;
  appearance: none;
}

.input-underline::placeholder {
  color: transparent;
}

.input-underline:focus,
.input-select:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.input-underline:not(:placeholder-shown) ~ label:not(.input-select-label),
.input-underline:focus ~ label:not(.input-select-label) {
  transform: translateY(-24px);
  font-size: 12px;
  color: var(--grey);
}

.input-wrap label {
  position: absolute;
  left: 0;
  top: var(--sp-m);
  font-size: 16px;
  color: var(--disabled);
  pointer-events: none;
  transition: transform 0.2s, font-size 0.2s, color 0.2s;
}

.input-select-label {
  top: var(--sp-m);
}

.input-underline.error,
.input-select.error {
  border-bottom-color: var(--error);
}

.input-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: var(--sp-xxs);
}

.input-wrap {
  position: relative;
}

.input-wrap--select .input-select-label {
  position: static;
  font-size: 12px;
  color: var(--disabled);
  margin-bottom: var(--sp-xxs);
  display: block;
}

.input-wrap--select.has-value .input-select-label {
  color: var(--black);
}

/* Link active state */
.header__link:active,
.footer__links a:active {
  color: var(--green);
}

.input-arrow {
  position: absolute;
  right: 0;
  bottom: var(--sp-m);
  color: var(--green);
  pointer-events: none;
}

.input-select {
  padding-right: 28px;
  cursor: pointer;
}

textarea.input-underline {
  min-height: 100px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contato__layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--grey);
  padding: var(--sp-xl) 0;
}

.footer__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-s);
  color: var(--green);
  text-decoration: none;
}

.footer__logo:hover {
  color: var(--green);
  text-decoration: none;
}

.footer__logo-img {
  height: 63px;
  width: auto;
  display: block;
}

.footer__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}

.footer__address {
  font-style: normal;
  margin-top: var(--sp-s);
  font-size: 14px;
  line-height: var(--lh-relaxed);
}

.footer__address a {
  color: var(--blue);
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xxs);
  margin-top: var(--sp-xxs);
}

.footer__icon {
  flex-shrink: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-m);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  color: var(--black);
}

.footer__links a:hover {
  color: var(--green);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--sp-l);
  right: var(--sp-l);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1);
  z-index: 90;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 2px 4px 12px rgba(3, 166, 90, 0.5);
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ========================================
   REVEAL ANIMATION
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
