/* ==========================================================================
   AK Premium Services — Nettoyage & Entretien (Nice et ses environs)
   Simple, sober editorial single-page stylesheet
   ========================================================================== */

:root {
  --bg: #F7F9FB;
  --surface: #FFFFFF;
  --navy: #102A43;
  --navy-soft: #1B3B59;
  --azure: #1B6CA8;
  --azure-hover: #14578A;
  --green: #4A833C;
  --green-soft: #EDF4EB;

  --ink: #1C2E40;
  --ink-muted: #52667A;
  --border: #DCE4EC;
  --border-strong: #C5D2DE;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1080px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* --------------------------------------------------------------------------
   Header — Minimal, no tabs
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-devis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  background-color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  padding: 9px 15px;
  line-height: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.header-devis:hover {
  background-color: var(--navy-soft);
  border-color: var(--navy-soft);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background-color: var(--surface);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.header-phone:hover {
  border-color: var(--navy);
  background-color: var(--bg);
}

.header-phone svg {
  color: var(--azure);
}

/* --------------------------------------------------------------------------
   Hero / Presentation
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7.5vw, 96px) clamp(56px, 7.5vw, 92px);
  background-color: var(--bg);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(100% + clamp(220px, 34vw, 480px));
  background: linear-gradient(
    90deg,
    rgba(188, 220, 241, 0) 0%,
    rgba(188, 220, 241, 0.52) 28%,
    #BCDCF1 52%,
    #BCDCF1 100%
  );
  z-index: 0;
}

.hero-bg img {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 5%, #000 10%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 5%, #000 10%);
}

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

.hero-content {
  max-width: 630px;
}

.nowrap {
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow svg {
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.hero-title em {
  font-style: normal;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-inline: 0.08em 0.04em;
  z-index: 0;
}

.hero-title em::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.06em;
  top: 0.08em;
  bottom: -0.04em;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 72' preserveAspectRatio='none'%3E%3Cpath d='M9 14C56 7 148 5 209 9C216 10 218 22 216 38C214 54 212 61 203 63C144 68 62 67 11 63C4 62 2 50 4 34C5 21 5 15 9 14Z' fill='%23AED7F5'/%3E%3C/svg%3E");
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--navy);
  color: #FFFFFF;
  border: 1px solid var(--navy);
  font-variant-numeric: tabular-nums;
}

.btn-primary:hover {
  background-color: var(--navy-soft);
  border-color: var(--navy-soft);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background-color: #F0F4F8;
}

/* --------------------------------------------------------------------------
   Services Section — Clean spaced rounded cards
   -------------------------------------------------------------------------- */

.services {
  padding-block: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-sub {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 28px);
}

.service-item {
  background-color: var(--surface);
  border: 1px solid #E3EBF2;
  border-radius: 20px;
  padding: clamp(30px, 3.8vw, 42px) clamp(24px, 3.2vw, 36px);
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.048);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: #2B82BE;
  margin-bottom: 4px;
}

.service-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.service-desc {
  margin: 0;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Contact / Devis Gratuit Band
   -------------------------------------------------------------------------- */

.contact-section {
  padding-block: 16px clamp(48px, 6.5vw, 76px);
  scroll-margin-top: 96px;
}

.contact-band {
  background-color: var(--navy);
  color: #FFFFFF;
  border-radius: 16px;
  padding: clamp(28px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: center;
}

.contact-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8CC5EC;
}

.contact-heading {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.contact-note {
  margin: 0;
  font-size: 15px;
  color: #C4D4E4;
  max-width: 46ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-phone {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
  color: #FFFFFF;
  line-height: 1.15;
  transition: color 0.15s ease;
}

.contact-phone:hover {
  color: #9DD0F3;
}

.contact-email {
  font-size: 15px;
  color: #D2E1EE;
  border-bottom: 1px solid rgba(210, 225, 238, 0.35);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-email:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding-block: 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.footer-sub {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-values {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.footer-values span {
  color: var(--green);
  margin-inline: 8px;
  font-style: normal;
}

.footer-nice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nice svg {
  color: var(--azure);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero {
    padding-block: clamp(44px, 7vw, 72px);
    background-color: var(--bg);
  }

  .hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    max-width: 67%;
    opacity: 0.46;
  }

  .hero-bg::before {
    right: 0;
    width: calc(100% + 26vw);
    background: linear-gradient(
      90deg,
      rgba(188, 220, 241, 0) 0%,
      rgba(188, 220, 241, 0.5) 22%,
      #BCDCF1 46%,
      #BCDCF1 100%
    );
  }

  .hero-bg img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: 12% bottom;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 10%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 10%, #000 22%);
  }

  .hero-lead {
    color: var(--ink);
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-details {
    align-items: flex-start;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 620px) {
  .hero-bg {
    opacity: 0.38;
  }

  .hero-bg::before {
    width: calc(100% + 24vw);
  }

  .hero-bg img {
    object-position: 32% bottom;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 10%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 10%, #000 22%);
  }

  .header-inner {
    padding-block: 12px;
    padding-inline: 14px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .brand-logo {
    height: clamp(24px, 7vw, 34px);
  }

  .header-meta {
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .header-devis {
    font-size: 12px;
    padding: 7px 9px;
    white-space: nowrap;
  }

  .header-phone {
    font-size: 12px;
    padding: 6px 8px;
    gap: 5px;
    white-space: nowrap;
  }

  .header-phone svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding: 13px 14px;
    font-size: 14px;
    text-align: center;
  }

  .btn svg {
    flex-shrink: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-brand {
    align-items: center;
  }
}
