* {
  box-sizing: border-box;
}

:root {
  --accent: #0f766e;
  --accent-dark: #115e59;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  font-size: 1.08rem;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.94rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn-small {
  padding: 10px 15px;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  color: white;
}

.btn-outline.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.65);
}

.full {
  width: 100%;
}

/* HERO */

.hero {
  padding: 86px 0;
  background: linear-gradient(135deg, #f8fafc, #ecfeff);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 46px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  background: #ecfdf5;
  color: var(--accent-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin: 0.35em 0 0.3em;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  line-height: 1.2;
}

.lead {
  font-size: 1.2rem;
  color: #475569;
  max-width: 720px;
}

.hero-description {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: #334155;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-rating {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-rating .stars {
  font-size: 1.1rem;
}

.hero-rating div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-rating span {
  font-size: 0.85rem;
  color: #64748b;
}

.hero-visual {
  position: relative;
}

.hero-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.hero-image-placeholder {
  min-height: 480px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(15, 118, 110, 0.15),
      rgba(15, 23, 42, 0.12)
    ),
    #dbeafe;
  color: #475569;
  font-weight: 800;
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: -28px;
  background: white;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  max-width: 250px;
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 4px;
}

.hero-floating-card span {
  font-size: 0.9rem;
  color: #64748b;
}

/* SECTIONS */

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--bg);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.card {
  padding: 24px;
}

.panel {
  padding: 28px;
}

.card p {
  color: #64748b;
}

.card a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  margin: 10px 0;
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  font-weight: 700;
  font-size: 0.9rem;
}

/* REALISATIONS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  transition: 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.project-image {
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(15, 118, 110, 0.2),
      rgba(15, 23, 42, 0.12)
    ),
    #e2e8f0;
  color: #475569;
  font-weight: 800;
}

.project-content {
  padding: 22px;
}

.project-content h3 {
  margin: 8px 0 10px;
  font-size: 1.25rem;
}

.project-content p {
  color: #64748b;
}

.project-type {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* AVIS */

.stars {
  color: #f59e0b;
  letter-spacing: 0.1em;
}

.reviews-section {
  background: #f8fafc;
}

.reviews-header {
  display: grid;
  grid-template-columns: 1.3fr 0.5fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.google-rating-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.google-label {
  font-weight: 800;
  color: #475569;
  font-size: 0.9rem;
}

.google-score {
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 900;
  margin: 10px 0 5px;
}

.google-rating-card strong {
  display: block;
  margin-top: 6px;
}

.google-rating-card span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 0.8rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: var(--accent-dark);
  font-weight: 900;
}

.review-top .stars {
  font-size: 0.78rem;
}

.review-card p {
  color: #475569;
}

.verified-review {
  display: inline-block;
  margin-top: 10px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}

.trust-item {
  background: white;
  padding: 22px;
}

.trust-item strong {
  display: block;
  margin-bottom: 5px;
}

.trust-item span {
  color: #64748b;
  font-size: 0.9rem;
}

/* FAQ */

.faq-section {
  background: white;
}

.faq-heading {
  max-width: 720px;
}

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 850;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: #64748b;
}

.faq-answer p {
  margin-top: 0;
}

.faq-answer a {
  color: var(--accent);
  font-weight: 800;
}

/* CTA */

.cta {
  background: #0f172a;
  color: white;
  padding: 48px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

/* PAGES */

.page-hero {
  padding: 64px 0 26px;
  background: #f8fafc;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

/* GALERIE */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  min-height: 220px;
  border-radius: 18px;
  background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
  display: grid;
  place-items: center;
  color: #475569;
  font-weight: 800;
}

/* FORMULAIRE */

.form {
  display: grid;
  gap: 14px;
}

.quote-form {
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: white;
  font: inherit;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.15);
  border-color: var(--accent);
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500 !important;
}

.consent input {
  width: auto !important;
  margin-top: 4px;
}

.form-note {
  text-align: center;
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.success,
.error {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.success {
  background: #ecfdf5;
  color: #166534;
}

.error {
  background: #fef2f2;
  color: #991b1b;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* FOOTER */

.site-footer {
  padding: 40px 0;
  background: #020617;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-grid a {
  color: white;
  text-decoration: none;
}

.prose {
  max-width: 760px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

  .nav {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .reviews-header {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .trust-block {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-floating-card {
    left: 16px;
  }

  .hero-image-placeholder {
    min-height: 340px;
  }

}

@media (max-width: 700px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {

  .cards,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-block {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    display: block;
  }

  .hero {
    padding: 58px 0;
  }

  .section {
    padding: 56px 0;
  }

  .btn-small {
    display: none;
  }

}

.project-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {

  .nav-wrap {
    position: relative;
  }

  .mobile-menu-button {
    display: block;
  }

  .nav {
    display: none;

    position: absolute;

    top: 72px;
    left: 0;
    right: 0;

    padding: 18px;

    background: white;

    border: 1px solid var(--line);

    border-radius: 0 0 18px 18px;

    box-shadow:
      0 20px 40px rgba(15, 23, 42, 0.12);

    flex-direction: column;
    gap: 5px;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 11px 8px;
  }

}

.mobile-call {
  display: none;
}

@media (max-width: 640px) {

  body {
    padding-bottom: 68px;
  }

  .mobile-call {
    position: fixed;

    display: flex;

    left: 16px;
    right: 16px;
    bottom: 12px;

    z-index: 50;

    height: 52px;

    align-items: center;
    justify-content: center;

    background: var(--accent);
    color: white;

    border-radius: 14px;

    text-decoration: none;
    font-weight: 900;

    box-shadow:
      0 12px 35px rgba(15, 23, 42, 0.25);
  }

}

/* =========================================================
   MOBILE / RESPONSIVE
   ========================================================= */

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.mobile-call {
  display: none;
}


/* TABLETTE */

@media (max-width: 900px) {

  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-wrap {
    position: relative;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;

    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    z-index: 100;

    padding: 14px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 14px;

    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.14);

    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 11px 10px;
    border-radius: 10px;
  }

  .hero-grid,
  .split,
  .cta-inner,
  .reviews-header {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .cards,
  .projects-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 8vw, 4rem);
  }

  .hero-visual {
    min-height: auto;
  }

}


/* MOBILE */

@media (max-width: 640px) {

  body {
    padding-bottom: 78px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
  }

  .nav-wrap {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    max-width: 180px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .nav-wrap > .btn {
    display: none;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 52px;
  }

  .page-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .btn.full {
    width: 100%;
    justify-content: center;
  }

  .hero-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cards,
  .projects-grid,
  .reviews-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .project-card,
  .review-card,
  .panel {
    border-radius: 16px;
  }

  .project-image img {
    height: 220px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .lead {
    font-size: 1.05rem;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  .cta {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .cta-inner {
    gap: 24px;
  }

  .mobile-call {
    position: fixed;

    display: flex;

    left: 12px;
    right: 12px;
    bottom: 10px;

    z-index: 500;

    min-height: 54px;

    align-items: center;
    justify-content: center;

    padding: 0 18px;

    background: var(--accent);
    color: white;

    border-radius: 14px;

    text-decoration: none;
    font-weight: 900;

    box-shadow:
      0 12px 30px rgba(15, 23, 42, 0.28);
  }
  
}

.hero-visual {
    position: relative;
}

.hero-floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 18px 22px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    max-width: 250px;
}

/* ===== RESPONSIVE MOBILE GLOBAL ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 24px, 1120px);
  margin-inline: auto;
}

.hero-grid,
.split,
.cards,
.projects-grid,
.reviews-grid,
.footer-grid,
.form-grid {
  min-width: 0;
}

.hero-content,
.hero-visual,
.card,
.panel,
.project-card,
.review-card {
  min-width: 0;
}

/* Téléphones */
@media (max-width: 640px) {

  .container {
    width: calc(100% - 24px);
  }

  .nav-wrap {
    width: 100%;
  }

  .brand {
    max-width: calc(100% - 60px);
    overflow-wrap: anywhere;
  }

  .nav {
    left: 0;
    right: 0;
    width: 100%;
  }

  .hero-grid,
  .split,
  .cards,
  .projects-grid,
  .reviews-grid,
  .footer-grid,
  .form-grid,
  .trust-block {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-image {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .btn,
  .hero-actions .btn {
    max-width: 100%;
  }

  .hero-floating-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* Très petits téléphones */
@media (max-width: 380px) {

  .container {
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 0.92rem;
  }

  .mobile-menu-button {
    font-size: 1.5rem;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}

