/* ======================================================
   BASE
====================================================== */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* Empêche les débordements horizontaux */
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
}

/* Container centralisé pour limiter la largeur */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

html {
    scrollbar-gutter: stable;
}

/* ======================================================
   HEADER
====================================================== */

header {
    background: #000;
    position: sticky;
    top: 0;
    padding: 0 20px;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Effet au scroll */
header.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
}

/* Contenu interne du header */
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
}

/* Nom dans le header */
header h1 {
    font-family: 'DM Serif Display', serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: #fff;
}

header h1 span {
    font-weight: 700;
}


/* ======================================================
   HERO SECTION
====================================================== */

.hero {
    background: linear-gradient(to bottom, #f5f5f5, #ececec);
    padding: 90px 0 80px;
    text-align: center;
}

/* Titre principal */
.hero-strong {
    font-weight: 600;
    margin-top: 10px;
    color: #222;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 25px;
}

/* Texte descriptif */
.hero p {
    max-width: 640px;
    margin: 20px auto 30px;
    font-size: 18px;
    line-height: 1.6;
    /* meilleure lisibilité */
    color: #555;
}

/* Boutons */
.hero-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Bouton principal */
.btn-primary {
    display: inline-block;
    padding: 16px 34px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Bouton secondaire */
.btn-secondary {
    display: inline-block;
    padding: 16px 34px;
    background: #ffffff;
    border: 2px solid #111;
    color: #111;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-secondary:hover {
    background: #111;
    color: #fff;
}


/* ======================================================
   PREUVES & MICRO TRUST
====================================================== */

.hero-checks {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.hero-checks span::before {
    content: "✔";
    margin-right: 6px;
    color: #111;
}

.micro-trust {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}


/* ======================================================
   SECTIONS GÉNÉRALES
====================================================== */

.services,
.realisations,
.cta {
    padding: 60px 20px;
}

.proof {
    margin-top: 18px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.mini-proof {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #555;
}

/* ======================================================
   CARDS
====================================================== */

.card {
    background: #ffffff;
    padding: 32px 28px;
    /* au lieu de 25px */
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
    text-align: center;

    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.25s ease;
}

/* Apparition au scroll */
.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover premium */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.1);
}


/* Grille responsive */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card-link:hover .see-more {
    opacity: 1;
}

/* =========================
   GOOGLE PROOF
========================= */

.google-proof {
    padding: 70px 0;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.google-proof h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.review {
    max-width: 600px;
    margin: 0 auto 25px;
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    color: #333;
}

.review span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    opacity: 0.7;
}

/* =========================
   REALISATIONS BACKGROUND
========================= */

.realisations {
    background: #f5f5f5;
    box-shadow: inset 0 12px 40px rgba(0, 0, 0, 0.04),
        inset 0 -12px 40px rgba(0, 0, 0, 0.04);
    padding: 80px 0;
    margin: 60px 0;
}

/* =========================
   REALISATIONS STYLE
========================= */
.realisations .card-link::before {
    content: "Projet réalisé";
    position: absolute;
    top: 20px;
    left: 16px;

    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 600;

    background: rgba(0, 0, 0, 0.08);
    color: #333;

    padding: 5px 10px;
    border-radius: 20px;

    transition: transform 0.35s ease, opacity 0.3s ease;
}

.realisations .card-link:hover::before {
    transform: translateX(25px);
    opacity: 0.6;
}

.realisations .card-link {
    background: #ffffff;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.realisations .card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

.realisations .card-link h3 {
    margin-top: 28px;
}

/* Texte "Voir le site" */
.card-link .see-more {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-link:hover .see-more {
    opacity: 1;
    transform: translateX(6px);
}

.realisations .card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.realisations .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.14);
}

/* ======================================================
   CTA FINAL
====================================================== */

.cta {
    text-align: center;
    padding-bottom: 80px;
}

/* ======================================================
   FOOTER
====================================================== */

footer {
    margin-top: 60px;
    padding: 30px 0;
    background: #f3f3f3;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 768px) {

    /* HERO */
    .hero {
        padding: 55px 18px 45px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
        margin: 15px auto 20px;
    }

    .hero-strong {
        font-size: 16px;
        margin-top: 8px;
    }

    /* Boutons */
    .hero-actions {
        margin-top: 22px;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 15px 20px;
        font-size: 15px;
    }

    .btn-secondary {
        font-weight: 700;
    }

    /* Checks */
    .hero-checks {
        margin-top: 28px;
        gap: 16px;
        font-size: 14px;
    }

    .micro-trust {
        font-size: 13px;
        margin-top: 16px;
    }

    /* Sections */
    .services,
    .realisations,
    .cta {
        padding: 50px 18px;
    }

    /* Grid mobile propre */
    .service-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    /* Cards centrées parfaitement */
    .card {
        padding: 22px 18px;
        width: 100%;
        max-width: 420px;
        min-height: 170px;
        will-change: transform, opacity;
    }

}

/* ======================================================
   TARIFS
====================================================== */

.pricing-hero {
  text-align: center;
  padding: 70px 20px 30px;
}

.pricing-hero h1 {
  font-size: 34px;
  margin: 0 auto 12px;
}

.pricing-sub {
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.pricing-grid {
  margin-top: 10px;
}

.pricing-card {
  text-align: left;
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: #222;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pricing-price {
  font-size: 16px;
  margin: 10px 0 14px;
  color: #333;
}

.pricing-list {
  margin: 0;
  padding-left: 18px;
  color: #444;
  line-height: 1.7;
  font-size: 15px;
}

.pricing-note {
  margin-top: 14px;
  font-size: 14px;
  color: #666;
}

.pricing-card.featured {
  border: 2px solid rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.pricing-info {
  padding: 50px 20px 70px;
  text-align: center;
}

.pricing-info h2 {
  margin: 0 0 22px;
}

.pricing-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.pricing-cta {
  margin-top: 26px;
}

@media (max-width: 768px) {
  .pricing-hero h1 { font-size: 26px; }
  .pricing-card { text-align: left; }
  .pricing-card.featured { transform: none; }
}

.pricing-disclaimer {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.pricing-maintenance h2 {
    text-align: center;
}

.pricing-maintenance {
    text-align: center;
}