:root {
  --bg: #f4f8fa;
  --surface: #ffffff;
  --surface-2: #edf5f7;
  --text: #0c2434;
  --muted: #587284;
  --line: rgba(12, 45, 72, 0.12);
  --primary: #118f9c;
  --primary-dark: #0c2d48;
  --secondary: #2fc3ef;
  --accent: #86ca43;
  --accent-dark: #5ea52d;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(7, 34, 56, 0.12);
  --radius: 24px;
  --radius-lg: 38px;
  --container: 1200px;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8fbfc 0%, #eef5f7 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.85rem 1.1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(47, 195, 239, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(134, 202, 67, 0.2), transparent 28%),
    linear-gradient(135deg, #08233a 0%, #0b3552 100%);
  color: var(--white);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: #a7f0ff;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: inherit;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(12, 45, 72, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand img {
  width: clamp(180px, 17vw, 280px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  font-weight: 600;
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-actions,
.cta-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 18px 35px rgba(17, 143, 156, 0.24);
}

.btn-outline {
  border-color: rgba(17, 143, 156, 0.22);
  background: rgba(17, 143, 156, 0.08);
  color: var(--primary-dark);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--accent) 0%, #70bc33 100%);
  color: #102316;
  box-shadow: 0 18px 35px rgba(134, 202, 67, 0.3);
}

.btn-full {
  width: 100%;
}

/* HERO HOME */
.hero {
  position: relative;
  padding: 5rem 0 3rem;

  background:
    linear-gradient(
      rgba(12, 45, 72, 0.65),
      rgba(12, 45, 72, 0.75)
    ),
    url("assets/hero_main.jpeg") center/cover no-repeat;

  color: white;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(47, 195, 239, 0.14), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(134, 202, 67, 0.14), transparent 26%);
  pointer-events: none;
}

.hero-intro {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin-bottom: 2rem;
}

.hero-intro p {

  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}



.section-heading p,
.intro-band-grid p,
.visual-copy p,
.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
}

.split-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.split-card {
  position: relative;
  min-height: 460px;
  border-radius: 32px;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.split-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
  z-index: -2;
}

.split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 39, 0.12) 0%, rgba(6, 24, 39, 0.78) 78%);
  z-index: -1;
}

.split-clean::before {
  background:
    linear-gradient(160deg, rgba(17, 143, 156, 0.18), rgba(12, 45, 72, 0.18)),
    url("assets/nettoyage_hero.jpeg") center/cover no-repeat;
}

.split-reno::before {
  background:
    linear-gradient(160deg, rgba(134, 202, 67, 0.12), rgba(12, 45, 72, 0.2)),
    url("assets/renovation.jpeg") center/cover no-repeat;
}

.split-card:hover::before {
  transform: scale(1.06);
}

.split-content {
  color: var(--white);
  max-width: 440px;
}

.split-tag {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.split-content p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1.3rem;
}

.split-link,
.text-link {
  font-weight: 800;
  color: var(--white);
}

.intro-band {
  padding-top: 3rem;
}

.intro-band-grid,
.visual-grid,
.contact-grid,
.page-hero-grid,
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.cards-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.mini-card,
.contact-panel,
.form-card,
.contact-side-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 45, 72, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.info-card::before,
.contact-panel::before,
.form-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 195, 239, 0.12), transparent 70%);
  pointer-events: none;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(17, 143, 156, 0.12), rgba(134, 202, 67, 0.15));
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  margin: 1rem 0 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.service-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.text-link {
  color: var(--primary-dark);
}

.text-link:hover {
  color: var(--primary);
}

.section-dark .mini-card,
.section-dark .contact-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section-dark .mini-card p,
.section-dark .contact-panel p,
.section-dark .contact-list,
.section-dark .contact-list a {
  color: rgba(255, 255, 255, 0.84);
}

.contact-panel-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-panel-top img {
  width: 78px;
  border-radius: 20px;
  background: var(--surface);
  padding: 0.35rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.interventions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 1rem;
}


.intervention-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.intervention-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.intervention-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* effet hover */
.intervention-card:hover img {
  transform: scale(1.08);
}

/* PAGE HERO */
.page-hero {
  padding: 4.5rem 0;
}

.page-hero-clean,
.page-hero-reno,
.page-hero-contact {
  background:
    radial-gradient(circle at top left, rgba(47, 195, 239, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(134, 202, 67, 0.16), transparent 28%);
}

.page-hero-media {
  position: relative;
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: auto auto -1.1rem -1rem;
  width: 75%;
  height: 44%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 38px;
  z-index: 0;
}

.page-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* CONTACT */
.contact-section {
  padding-top: 1rem;
}

.contact-grid {
  align-items: start;
  grid-template-columns: 1.5fr 0.9fr;
}

.form-card h2 {
  margin-bottom: 0.6rem;
}

.quote-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(12, 45, 72, 0.12);
  background: #fbfdfe;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(47, 195, 239, 0.16);
  background: var(--white);
}

.form-group small {
  color: var(--muted);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 700;
}

.form-status.success {
  color: #1d8a2e;
}

.form-status.error {
  color: #be1f1f;
}

.form-note-box {
  background: rgba(17, 143, 156, 0.08);
  border: 1px solid rgba(17, 143, 156, 0.14);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.form-note {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 500;
}

.form-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

/* FOOTER */
.site-footer {
  background:
    radial-gradient(circle at top left, rgba(47, 195, 239, 0.12), transparent 25%),
    linear-gradient(135deg, #08233a 0%, #0c2d48 100%);
  color: var(--white);
  padding-top: 4.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  width: min(300px, 100%);
  margin-bottom: 1rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.site-footer a,
.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.3rem;
  padding: 1.25rem 1rem 2rem;
  text-align: center;
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  background: linear-gradient(135deg, var(--accent) 0%, #6fc83b 100%);
  color: #0c2412;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 20px 35px rgba(134, 202, 67, 0.35);
  display: none;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-page .container {
  max-width: 920px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.legal-page p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-list {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
  color: var(--muted);
}

.legal-list li {
  margin-bottom: 0.5rem;
}


/* RESPONSIVE */
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-block;
    order: 2;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 1rem auto 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 45, 72, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.2rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    justify-self: end;
  }

  .split-grid,
  .intro-band-grid,
  .visual-grid,
  .page-hero-grid,
  .advantages-grid,
  .footer-grid,
  .cards-grid,
  .cards-grid-large,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 82px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .header-inner {
    grid-template-columns: auto auto;
    gap: 0.8rem;
  }

  .header-actions {
    display: none;
  }

  .split-card {
    min-height: 340px;
    padding: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero-media img {
    min-height: 300px;
  }

  .floating-whatsapp {
    display: inline-flex;
  }
}

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