/* Darede LP - AWS Billing - WordPress static build */
:root {
  --primary: #16a34a;
  --primary-glow: #22c55e;
  --primary-foreground: #ffffff;
  --foreground: #0f1923;
  --muted-foreground: #64748b;
  --background: #ffffff;
  --card: #f8fafc;
  --border: rgba(15, 25, 35, 0.08);
  --destructive: #dc2626;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--foreground);
  background: #1d1d1d;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.dd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .dd-container {
    padding: 0 40px;
  }
}
@media (min-width: 1024px) {
  .dd-container {
    padding: 0 64px;
  }
}

/* HEADER */
.dd-header {
  background: #1d1d1d;
  position: sticky;
  top: 0;
  z-index: 50;
}
.dd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.dd-header__logo {
   height: 52px;
}
@media (min-width: 768px) {
  .dd-header__logo {
    height: 80px;
  }
}
.dd-header__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.dd-header__link:hover {
  color: #fff;
}

/* HERO */
.dd-hero {
  position: relative;
  overflow: hidden;
}
.dd-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://darede.com.br/wp-content/uploads/2026/06/banner-billings_1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.dd-hero__inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px;
}
@media (min-width: 768px) {
  .dd-hero__inner {
    padding: 80px 40px;
  }
}
@media (min-width: 1024px) {
  .dd-hero__inner {
    padding: 96px 64px;
  }
}
.dd-hero__content {
  max-width: 640px;
}
.dd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dd-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  animation: dd-pulse 1.8s ease-in-out infinite;
}
@keyframes dd-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.dd-hero__title {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
}
@media (min-width: 768px) {
  .dd-hero__title {
    font-size: 40px;
  }
}
@media (min-width: 1024px) {
  .dd-hero__title {
    font-size: 48px;
  }
}
.dd-gradient {
  color: #ff9500;
}
.dd-hero__subtitle {
  margin: 20px 0 0;
  font-size: 16px;
  color: #ffffff;
  max-width: 520px;
}
@media (min-width: 768px) {
  .dd-hero__subtitle {
    font-size: 18px;
  }
}
.dd-hero__ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* BUTTONS */
.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.2s;
  text-decoration: none;
}
.dd-btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.dd-btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 25px -10px rgba(22, 163, 74, 0.4);
}
.dd-btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(15, 25, 35, 0.15);
  color: var(--foreground);
  backdrop-filter: blur(8px);
}
.dd-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.85);
}
.dd-btn--lg {
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 16px;
}
.dd-btn--block {
  width: 100%;
  padding: 14px;
}
.dd-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}
.dd-btn__arrow {
  transition: transform 0.2s;
}
.dd-btn:hover .dd-btn__arrow {
  transform: translateX(4px);
}

/* SERVICES */
.dd-services {
  background: var(--card);
  padding: 64px 0;
}
@media (min-width: 768px) {
  .dd-services {
    padding: 80px 0;
  }
}
.dd-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.dd-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.dd-section-head h2 {
  margin: 12px 0 0;
  font-size: 24px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .dd-section-head h2 {
    font-size: 30px;
  }
}
.dd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .dd-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .dd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dd-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.dd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(22, 163, 74, 0.25);
}
.dd-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00703C;
  font-size: 18px;
  font-weight: 700;
}
.dd-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.dd-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted-foreground);
}

.dd-cta-center {
  margin-top: 48px;
  text-align: center;
}
.dd-cta-center__note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted-foreground);
}

/* MODAL */
.dd-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}
.dd-modal.is-open {
  display: flex;
}
.dd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 35, 0.6);
  backdrop-filter: blur(4px);
}
.dd-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.3);
  animation: dd-pop 0.2s ease;
}
@keyframes dd-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.dd-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted-foreground);
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.dd-modal__close:hover {
  background: #f1f5f9;
}
.dd-modal__header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dd-modal__header p {
  margin: 4px 0 16px;
  font-size: 12px;
  color: var(--muted-foreground);
}

/* FORM */
.dd-row {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.dd-row--2 {
  grid-template-columns: 1fr 1fr;
}
.dd-field {
  margin-bottom: 12px;
}
.dd-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.dd-field input {
  width: 100%;
  border: 2px solid rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.05);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}
.dd-field input::placeholder {
  font-weight: 400;
  color: #94a3b8;
}
.dd-field input:focus {
  border-color: rgba(22, 163, 74, 0.6);
}
.dd-field.has-error input {
  border-color: rgba(220, 38, 38, 0.5);
  background: rgba(220, 38, 38, 0.05);
}
.dd-error {
  display: none;
  font-size: 10px;
  color: var(--destructive);
  font-weight: 500;
  margin-top: 2px;
}
.dd-field.has-error .dd-error {
  display: block;
}
.dd-input-prefix {
  position: relative;
}
.dd-input-prefix span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--muted-foreground);
  font-weight: 500;
  pointer-events: none;
}
.dd-input-prefix input {
  padding-left: 30px;
}

.dd-help {
  text-align: center;
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 8px 0;
}
.dd-summary {
  margin: 12px 0;
  font-size: 13px;
}
.dd-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 4px;
  font-weight: 600;
}
.dd-summary__row--total {
  font-weight: 800;
  font-size: 14px;
}
.dd-summary__sep {
  height: 2px;
  background: rgba(22, 163, 74, 0.2);
  margin: 4px 0;
}
.dd-success {
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
}

/* FOOTER */
.dd-footer {
  background: #1d1d1d;
  color: #fff;
  margin-top: auto;
}
.dd-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 24px;
}
@media (min-width: 768px) {
  .dd-footer__grid {
    grid-template-columns: 2fr 1fr;
    padding: 64px 40px;
  }
}
.dd-footer__logo {
  height: 50px;
  margin-bottom: 16px;
}
.dd-footer__about p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  line-height: 1.6;
}
.dd-footer__contact h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 16px;
}
.dd-footer__contact a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.dd-footer__contact a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.dd-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 640px) {
  .dd-footer__bottom {
    flex-direction: row;
  }
}
.dd-footer__social {
  display: flex;
  gap: 16px;
}
.dd-footer__social a {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 12px;
  transition: color 0.2s;
}
.dd-footer__social a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* W2L Salesforce Form Styles */
.w2l-container {
  font-family: Arial, sans-serif;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
}
.w2l-container label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: bold;
  color: #0f1923;
}
.w2l-container input[type="text"],
.w2l-container input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}
.w2l-container input[type="text"]::placeholder,
.w2l-container input[type="email"]::placeholder {
  color: #ccc;
}
.w2l-container input[type="submit"] {
  margin-top: 20px;
  padding: 10px 24px;
  background: #00964F;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 15px;
  border-radius: 100px;
  width: 100%;
  font-weight: bold;
  transition: background 0.2s;
}
.w2l-container input[type="submit"]:hover {
  background: #00703c;
}
