:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #243447;
  --muted: #6f7f90;
  --primary: #ff8a2a;
  --primary-dark: #f0730b;
  --line: #e7edf6;
  --accent: #fff8f1;
  --accent-2: #f8fbff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -5%, #fff4ea 0%, transparent 35%),
    radial-gradient(circle at 90% 0%, #f2f7ff 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 14px rgba(63, 94, 128, 0.08);
  transition: transform 0.28s ease;
}

.site-header.is-hidden-mobile {
  transform: translateY(-100%);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  display: block;
  height: 82px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(36, 58, 84, 0.26));
}

.custom-logo {
  display: block;
  height: 82px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(36, 58, 84, 0.26));
}

.main-nav {
  display: block;
  margin-left: auto;
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
}

.main-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-links li {
  margin: 0;
  padding: 0;
}

.main-nav a,
.main-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav-links a:hover {
  color: var(--primary);
  background: #fff4ea;
}

.main-nav .is-active,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  color: var(--primary);
  background: #fff4ea;
}

.hero {
  padding: 4.8rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #d95e0b;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-points span {
  background: #fff7ef;
  border: 1px solid #ffd9bd;
  color: #8a4f22;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff8d3a 0%, #ff6d12 100%);
  box-shadow: 0 10px 20px rgba(255, 122, 26, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7e27 0%, #eb6008 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  color: #24476b;
  background: #ffffff;
  border: 1px solid #cfe0f4;
}

.btn-secondary:hover {
  background: #eff6ff;
  transform: translateY(-1px);
}

.btn-whatsapp {
  margin-top: 0.9rem;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #1fb95a;
  transform: translateY(-1px);
}

.whatsapp-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
  border: 1px solid #e8eef7;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(45, 77, 111, 0.08);
}

.hero-card h2 {
  margin-top: 0;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.hero-banner {
  margin: 0 0 1.4rem;
  min-height: 250px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #dbe7f6;
  background:
    linear-gradient(108deg, rgba(255, 248, 239, 0.92), rgba(238, 246, 255, 0.78)),
    url("https://images.unsplash.com/photo-1615906655593-ad0386982a0f?auto=format&fit=crop&w=1400&q=80")
      center/cover no-repeat;
  box-shadow: 0 18px 38px rgba(34, 57, 84, 0.15);
}

.hero-banner-overlay {
  color: var(--text);
  padding: 1.5rem;
  max-width: 620px;
  margin: 1rem;
  border-radius: 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-banner-tag {
  margin: 0 0 0.6rem;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d26a16;
}

.hero-banner-overlay h2 {
  margin: 0 0 0.5rem;
}

.hero-banner-overlay p {
  margin: 0;
  color: var(--muted);
}

.premium-strip {
  padding: 0 0 1.6rem;
}

.premium-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.premium-pill {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #deebf8;
  border-radius: 14px;
  padding: 0.95rem;
  box-shadow: 0 8px 20px rgba(45, 77, 111, 0.08);
}

.strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: #fff4ea;
  border: 1px solid #ffd9bd;
  font-size: 1rem;
}

.strip-icon-image {
  object-fit: cover;
}

.premium-pill-title {
  margin: 0;
  color: #1f476f;
  font-size: 0.98rem;
  font-weight: 700;
}

.premium-pill-text {
  margin: 0.35rem 0 0;
  color: #62778d;
  font-size: 0.9rem;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--accent-2) 0%, #e9f2ff 100%);
  border-top: 1px solid #e2ebf8;
  border-bottom: 1px solid #e2ebf8;
  margin: 1.1rem 0;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fffbf7 100%);
  border: 1px solid #e7edf6;
  border-top: 3px solid #ffd6b8;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(45, 77, 111, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(45, 77, 111, 0.12);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #ffc9a6;
  background: #ffe9d7;
  color: #b64407;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.service-icon-image {
  overflow: hidden;
}

.service-icon-image-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-icon-pair {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.service-icon-small {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
}

.service-glyph {
  font-size: 1.2rem;
  line-height: 1;
}

.amortisseur-svg {
  width: 29px;
  height: 29px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brake-svg {
  width: 29px;
  height: 29px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tablet-svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--muted);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.field-help {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce6f3;
  border-radius: 11px;
  background: #fcfdff;
  color: var(--text);
  padding: 0.7rem 0.75rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 122, 26, 0.25);
  border-color: var(--primary);
}

textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-message.is-success {
  color: #136d3c;
}

.form-message.is-error {
  color: #b42318;
}

.floating-notice {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 1.5rem));
  z-index: 60;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-notice.is-hiding {
  opacity: 0;
  transform: translate(-50%, -10px);
}

.floating-notice-inner {
  position: relative;
  border-radius: 12px;
  border: 1px solid #cde9d7;
  background: #f3fbf6;
  color: #136d3c;
  padding: 0.8rem 2.4rem 0.8rem 1rem;
  box-shadow: 0 10px 26px rgba(28, 59, 43, 0.16);
  font-weight: 600;
  pointer-events: auto;
}

.floating-notice.is-error .floating-notice-inner {
  border-color: #f5c9c3;
  background: #fff5f4;
  color: #b42318;
}

.floating-notice-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.2rem;
  opacity: 0.75;
}

.floating-notice-close:hover {
  opacity: 1;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.section-contact {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-top: 1px solid #e4edf8;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #dde8f6;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 10px 22px rgba(45, 77, 111, 0.08);
}

.contact-form-card h3 {
  margin: 0 0 0.9rem;
}

.premium-contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0.4rem;
  display: grid;
  gap: 0.55rem;
}

.contact-separator {
  height: 1px;
  margin: 1rem 0;
  background: linear-gradient(90deg, rgba(212, 226, 244, 0), rgba(212, 226, 244, 1), rgba(212, 226, 244, 0));
}

.whatsapp-box {
  border: 1px solid #d7efde;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfffc 0%, #f4fff7 100%);
  padding: 0.9rem;
  color: var(--text);
}

.whatsapp-box h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

.whatsapp-box p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.whatsapp-box label {
  color: var(--text);
}

.whatsapp-box .form-message {
  color: var(--muted);
}

.premium-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 1px solid #e3ecf8;
  border-radius: 12px;
  background: #f9fcff;
  padding: 0.55rem 0.65rem;
}

.premium-contact-list li div {
  display: grid;
  gap: 0.16rem;
}

.premium-contact-list li strong {
  color: #1f446d;
}

.premium-contact-list a {
  color: #285986;
  font-weight: 600;
  text-decoration: none;
}

.premium-contact-list a:hover {
  text-decoration: underline;
}

.contact-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  border: 1px solid #d4e4f7;
  font-size: 0.92rem;
  flex: 0 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  color: #6c5f52;
}

@media (max-width: 920px) {
  .hero-grid,
  .contact-grid,
  .cards,
  .premium-strip-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.5rem 0 0.55rem;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav-links {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 0.45rem;
    padding-top: 0.4rem;
    padding-bottom: 0.2rem;
  }

  .main-nav a {
    width: 100%;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #d9e6f5;
    border-radius: 10px;
    background: #ffffff;
    color: #2e4e71;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 3.6rem 0 1.8rem;
  }

  .floating-notice {
    top: 78px;
  }

  .hero-banner {
    min-height: 210px;
    border-radius: 16px;
  }

  .hero-banner-overlay {
    padding: 1.15rem;
    margin: 0.75rem;
  }

  h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 1.1rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-points {
    gap: 0.45rem;
  }

  .section {
    padding: 2.3rem 0;
  }

  .cards {
    gap: 0.8rem;
  }

  .card:hover {
    transform: none;
    box-shadow: 0 8px 18px rgba(45, 77, 111, 0.08);
  }

  .contact-list {
    margin-bottom: 0;
  }

  .form-grid button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1120px, 94%);
  }

  .header-logo {
    height: 68px;
  }

  .custom-logo {
    height: 68px;
  }

  .hero-banner {
    min-height: 190px;
  }

  .hero-banner-overlay p,
  .lead {
    font-size: 0.96rem;
  }

  .hero-points span {
    font-size: 0.79rem;
    padding: 0.28rem 0.58rem;
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  label {
    font-size: 0.96rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .service-icon-small {
    width: 42px;
    height: 42px;
  }

  .amortisseur-svg,
  .brake-svg {
    width: 26px;
    height: 26px;
  }

  .site-footer {
    text-align: center;
  }
}
