/* ==================================================
   CÔTÉ DEHORS — Design System V1
   ================================================== */

:root {
  --cd-green: #173f35;
  --cd-green-2: #24594b;
  --cd-sage: #dfe9e1;
  --cd-cream: #f7f5ef;
  --cd-white: #ffffff;
  --cd-text: #17211d;
  --cd-muted: #66716c;
  --cd-border: #e2e7e3;
  --cd-radius: 18px;
  --cd-shadow: 0 16px 45px rgba(23, 63, 53, .09);
}

/* GLOBAL */

body {
  background: var(--cd-white);
  color: var(--cd-text);
}

.site-content {
  overflow: hidden;
}

.entry-content {
  margin: 0;
}

.home .entry-header {
  display: none;
}

.home .site-main,
.home .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
}

.home .ast-container {
  max-width: 100%;
  padding: 0;
}

.cd-hero,
.cd-intro,
.cd-guides,
.cd-tech,
.cd-about {
  box-sizing: border-box;
}

/* HEADER */

.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--cd-border);
}

.site-title a {
  color: var(--cd-green) !important;
  font-weight: 800;
  letter-spacing: -.5px;
}

.main-header-menu > .menu-item > .menu-link {
  color: var(--cd-text);
  font-weight: 600;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
  color: var(--cd-green-2);
}

/* HERO */

.cd-hero {
  max-width: none !important;
  padding: 110px max(6vw, 30px) 105px;
  background:
    radial-gradient(circle at 85% 20%, rgba(223,233,225,.95), transparent 30%),
    linear-gradient(135deg, #f8f7f2 0%, #eef4ef 100%);
}

.cd-hero > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cd-eyebrow {
  margin-bottom: 18px;
  color: var(--cd-green-2);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.cd-hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--cd-green);
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -2.7px;
}

.cd-lead {
  max-width: 720px !important;
  margin-left: 0 !important;
  margin-bottom: 34px;
  color: #45524c;
  font-size: 20px;
  line-height: 1.7;
}

.cd-hero .wp-block-buttons {
  max-width: 1180px;
  margin: 0 auto;
  gap: 12px;
}

.cd-hero .wp-block-button__link {
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.cd-primary .wp-block-button__link {
  background: var(--cd-green);
  color: #fff;
}

.cd-primary .wp-block-button__link:hover {
  background: var(--cd-green-2);
}

.cd-hero .is-style-outline .wp-block-button__link {
  border: 1px solid var(--cd-green);
  color: var(--cd-green);
}

/* SECTIONS */

.cd-intro,
.cd-guides,
.cd-tech,
.cd-about {
  max-width: none !important;
  padding: 90px max(6vw, 30px);
}

.cd-intro > *,
.cd-guides > *,
.cd-tech > *,
.cd-about > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cd-intro h2,
.cd-guides h2,
.cd-tech h2,
.cd-about h2 {
  margin-bottom: 18px;
  color: var(--cd-green);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.cd-intro > p:not(.cd-eyebrow),
.cd-guides > p:not(.cd-eyebrow) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--cd-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* CARTES TERRAIN */

.cd-cards {
  margin-top: 44px;
  gap: 18px;
}

.cd-cards .wp-block-column {
  padding: 28px;
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius);
  box-shadow: 0 8px 30px rgba(23,63,53,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cd-cards .wp-block-column:hover {
  transform: translateY(-4px);
  box-shadow: var(--cd-shadow);
}

.cd-cards h3 {
  margin-bottom: 10px;
  color: var(--cd-green);
  font-size: 21px;
}

.cd-cards p {
  margin-bottom: 0;
  color: var(--cd-muted);
  line-height: 1.6;
}

/* GUIDES */

.cd-guides {
  background: var(--cd-cream);
}

.cd-feature-cards {
  margin-top: 42px;
  gap: 22px;
}

.cd-feature-cards .wp-block-column {
  min-height: 220px;
  padding: 34px;
  background: var(--cd-white);
  border-radius: var(--cd-radius);
  box-shadow: 0 10px 35px rgba(23,63,53,.06);
}

.cd-feature-cards h3 {
  color: var(--cd-green);
  font-size: 25px;
}

.cd-feature-cards p {
  color: var(--cd-muted);
  line-height: 1.7;
}

/* TECHNOLOGIE */

.cd-tech {
  background: var(--cd-green);
  color: #fff;
}

.cd-tech .cd-eyebrow {
  color: #bcd2c5;
}

.cd-tech h2 {
  color: #fff;
}

.cd-tech > p:not(.cd-eyebrow) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #e2ebe6;
  font-size: 19px;
  line-height: 1.75;
}

/* ABOUT */

.cd-about {
  text-align: center;
  background: #fff;
}

.cd-about h2 {
  max-width: 800px;
}

.cd-about p {
  max-width: 720px;
  color: var(--cd-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--cd-border);
}

/* RESPONSIVE */

@media (max-width: 921px) {

  .cd-hero {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .cd-hero h1 {
    font-size: clamp(42px, 9vw, 62px);
    letter-spacing: -1.8px;
  }

  .cd-intro,
  .cd-guides,
  .cd-tech,
  .cd-about {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 600px) {

  .cd-hero {
    padding: 60px 22px 65px;
  }

  .cd-hero h1 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }

  .cd-lead {
    font-size: 17px;
  }

  .cd-hero .wp-block-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .cd-hero .wp-block-button,
  .cd-hero .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .cd-intro,
  .cd-guides,
  .cd-tech,
  .cd-about {
    padding: 58px 22px;
  }

  .cd-intro h2,
  .cd-guides h2,
  .cd-tech h2,
  .cd-about h2 {
    font-size: 34px;
  }

  .cd-cards,
  .cd-feature-cards {
    gap: 14px;
  }
}

/* COTE DEHORS - UNIVERS OUTDOOR */

.cd-outdoor {
  max-width: none !important;
  padding: 95px max(6vw,30px);
  background: #f3f6f2;
}

.cd-outdoor > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cd-outdoor h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--cd-green);
  font-size: clamp(36px,4vw,52px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}

.cd-outdoor-intro {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--cd-muted);
  font-size: 18px;
  line-height: 1.7;
}

.cd-outdoor-cards {
  margin-top: 45px;
  gap: 18px;
}

.cd-outdoor-cards .wp-block-column {
  position: relative;
  min-height: 235px;
  padding: 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(23,63,53,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cd-outdoor-cards .wp-block-column:hover {
  transform: translateY(-5px);
  box-shadow: var(--cd-shadow);
}

.cd-outdoor-cards .wp-block-column:before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin-bottom: 35px;
  border-radius: 20px;
  background: var(--cd-green-2);
}

.cd-outdoor-cards h3 {
  margin-bottom: 12px;
  color: var(--cd-green);
  font-size: 23px;
  line-height: 1.2;
}

.cd-outdoor-cards p {
  margin: 0;
  color: var(--cd-muted);
  line-height: 1.65;
}

@media (max-width:921px) {
  .cd-outdoor {
    padding: 70px 30px;
  }

  .cd-outdoor-cards {
    flex-wrap: wrap !important;
  }

  .cd-outdoor-cards .wp-block-column {
    flex-basis: calc(50% - 18px) !important;
  }
}

@media (max-width:600px) {
  .cd-outdoor {
    padding: 58px 22px;
  }

  .cd-outdoor h2 {
    font-size: 34px;
  }

  .cd-outdoor-cards .wp-block-column {
    flex-basis: 100% !important;
    min-height: auto;
  }
}

/* COTE DEHORS - A LA UNE SAISON */

.cd-now {
  max-width: none !important;
  padding: 90px max(6vw,30px);
  background: #fffaf2;
}

.cd-now > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cd-now h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--cd-green);
  font-size: clamp(38px,4vw,54px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}

.cd-now-intro {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--cd-muted);
  font-size: 18px;
  line-height: 1.7;
}

.cd-now-cards {
  margin-top: 44px;
  gap: 18px;
}

.cd-now-cards .wp-block-column {
  min-height: 260px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e8e4da;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(23,63,53,.055);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cd-now-cards .wp-block-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(23,63,53,.10);
}

.cd-card-tag {
  display: inline-block;
  margin-bottom: 34px !important;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf3ee;
  color: var(--cd-green) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.cd-now-cards h3 {
  margin-bottom: 12px;
  color: var(--cd-green);
  font-size: 23px;
  line-height: 1.22;
}

.cd-now-cards p:not(.cd-card-tag) {
  margin-bottom: 0;
  color: var(--cd-muted);
  line-height: 1.65;
}

@media (max-width:921px) {
  .cd-now {
    padding: 70px 30px;
  }

  .cd-now-cards {
    flex-wrap: wrap !important;
  }

  .cd-now-cards .wp-block-column {
    flex-basis: calc(50% - 18px) !important;
  }
}

@media (max-width:600px) {
  .cd-now {
    padding: 58px 22px;
  }

  .cd-now h2 {
    font-size: 34px;
  }

  .cd-now-cards .wp-block-column {
    flex-basis: 100% !important;
    min-height: auto;
  }
}

/* COTE DEHORS - ALIGNEMENTS V2 */

/* Une grille commune pour toute la home */
.cd-hero > *,
.cd-now > *,
.cd-intro > *,
.cd-guides > *,
.cd-tech > *,
.cd-outdoor > * {
  width: 100%;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* HERO : un seul axe visuel */
.cd-hero {
  text-align: left;
}

.cd-hero .cd-eyebrow {
  text-align: left;
}

.cd-hero h1 {
  max-width: 820px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}

.cd-hero .cd-lead {
  max-width: 700px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}

.cd-hero .wp-block-buttons {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* OCTOBRE : même axe */
.cd-now .cd-eyebrow,
.cd-now h2,
.cd-now .cd-now-intro {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left;
}

.cd-now h2 {
  margin-top: 20px;
  max-width: 760px !important;
}

.cd-now .cd-now-intro {
  margin-top: 0;
}

/* Autres titres : cohérence éditoriale */
.cd-intro .cd-eyebrow,
.cd-guides .cd-eyebrow,
.cd-tech .cd-eyebrow,
.cd-outdoor .cd-eyebrow {
  text-align: left;
}

.cd-intro h2,
.cd-guides h2,
.cd-tech h2,
.cd-outdoor h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}

/* Mobile */
@media (max-width: 600px) {
  .cd-hero > *,
  .cd-now > *,
  .cd-intro > *,
  .cd-guides > *,
  .cd-tech > *,
  .cd-outdoor > * {
    width: 100%;
  }

  .cd-hero h1 {
    max-width: 100%;
  }
}


/* COTE DEHORS — GRILLE EDITORIALE V1.3 */

.home .cd-hero,
.home .cd-now,
.home .cd-intro,
.home .cd-guides,
.home .cd-tech,
.home .cd-outdoor {
  box-sizing: border-box;
}

/* Même largeur éditoriale partout */
.home .cd-hero > *,
.home .cd-now > *,
.home .cd-intro > *,
.home .cd-guides > *,
.home .cd-tech > *,
.home .cd-outdoor > * {
  width: min(1180px, calc(100% - 60px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Tous les textes démarrent au même endroit */
.home .cd-hero .cd-eyebrow,
.home .cd-now .cd-eyebrow,
.home .cd-intro .cd-eyebrow,
.home .cd-guides .cd-eyebrow,
.home .cd-tech .cd-eyebrow,
.home .cd-outdoor .cd-eyebrow,
.home .cd-hero h1,
.home .cd-now h2,
.home .cd-intro h2,
.home .cd-guides h2,
.home .cd-tech h2,
.home .cd-outdoor h2,
.home .cd-hero .cd-lead,
.home .cd-now .cd-now-intro,
.home .cd-intro > p,
.home .cd-guides > p,
.home .cd-tech > p,
.home .cd-outdoor .cd-outdoor-intro {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

/* Largeurs de lecture cohérentes */
.home .cd-hero h1 {
  max-width: 820px !important;
}

.home .cd-hero .cd-lead {
  max-width: 720px !important;
}

.home .cd-now h2,
.home .cd-intro h2,
.home .cd-guides h2,
.home .cd-tech h2,
.home .cd-outdoor h2 {
  max-width: 1180px !important;
}

.home .cd-now .cd-now-intro,
.home .cd-intro > p,
.home .cd-guides > p,
.home .cd-tech > p,
.home .cd-outdoor .cd-outdoor-intro {
  max-width: 760px !important;
}

/* Hero : boutons sur le même axe */
.home .cd-hero .wp-block-buttons {
  width: min(1180px, calc(100% - 60px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
}

/* Suppression des décalages visuels dans les sections */
.home .cd-now-cards,
.home .cd-outdoor-cards,
.home .cd-feature-cards {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile */
@media (max-width: 600px) {
  .home .cd-hero > *,
  .home .cd-now > *,
  .home .cd-intro > *,
  .home .cd-guides > *,
  .home .cd-tech > *,
  .home .cd-outdoor > *,
  .home .cd-hero .wp-block-buttons {
    width: calc(100% - 40px) !important;
  }

  .home .cd-hero h1,
  .home .cd-now h2,
  .home .cd-intro h2,
  .home .cd-guides h2,
  .home .cd-tech h2,
  .home .cd-outdoor h2 {
    max-width: 100% !important;
  }
}


/* COTE DEHORS — VISUELS V1.4 */

/* HERO photographique */
.home .cd-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(247,245,239,.98) 0%,
      rgba(247,245,239,.94) 30%,
      rgba(247,245,239,.68) 48%,
      rgba(247,245,239,.08) 70%
    ),
    url('https://cotedehors.fr/wp-content/uploads/2026/10/cotedehors-hero-jardin-robot.webp')
    center center / cover no-repeat !important;
  min-height: 520px;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

/* On conserve une seule ligne verticale */
.home .cd-hero > * {
  width: min(1180px, calc(100% - 60px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* On ne recentre plus les blocs texte étroits */
.home .cd-hero h1 {
  max-width: 690px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: 490px;
  box-sizing: content-box;
}

.home .cd-hero .cd-lead {
  max-width: 1180px !important;
  padding-right: 570px;
  box-sizing: border-box;
}

.home .cd-hero .wp-block-buttons {
  width: min(1180px, calc(100% - 60px)) !important;
}

/* CARTES OCTOBRE */
.home .cd-now-cards {
  align-items: stretch;
  gap: 20px;
}

.home .cd-now-cards > .wp-block-column {
  overflow: hidden;
  padding: 0 0 24px !important;
  background: #fff;
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(23,63,53,.06);
}

.home .cd-now-cards .cd-card-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin: 0 0 18px;
}

.home .cd-now-cards .cd-card-tag,
.home .cd-now-cards h3,
.home .cd-now-cards p:not(.cd-card-tag) {
  margin-left: 22px !important;
  margin-right: 22px !important;
}

.home .cd-now-cards h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.home .cd-now-cards p:not(.cd-card-tag) {
  margin-bottom: 0;
}

/* Corrige la grille éditoriale : même bord gauche */
.home .cd-hero h1,
.home .cd-hero .cd-lead,
.home .cd-now h2,
.home .cd-now .cd-now-intro,
.home .cd-intro h2,
.home .cd-intro > p,
.home .cd-guides h2,
.home .cd-guides > p,
.home .cd-tech h2,
.home .cd-tech > p,
.home .cd-outdoor h2,
.home .cd-outdoor .cd-outdoor-intro {
  width: min(1180px, calc(100% - 60px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

/* Responsive */
@media (max-width: 900px) {
  .home .cd-hero {
    min-height: 620px;
    background:
      linear-gradient(
        180deg,
        rgba(247,245,239,.97) 0%,
        rgba(247,245,239,.92) 48%,
        rgba(247,245,239,.12) 78%
      ),
      url('https://cotedehors.fr/wp-content/uploads/2026/10/cotedehors-hero-jardin-robot.webp')
      65% center / cover no-repeat !important;
  }

  .home .cd-hero h1,
  .home .cd-hero .cd-lead {
    padding-right: 0;
    max-width: 1180px !important;
  }
}

@media (max-width: 600px) {
  .home .cd-hero {
    min-height: 600px;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .home .cd-hero > *,
  .home .cd-hero h1,
  .home .cd-hero .cd-lead,
  .home .cd-hero .wp-block-buttons,
  .home .cd-now > *,
  .home .cd-intro > *,
  .home .cd-guides > *,
  .home .cd-tech > *,
  .home .cd-outdoor > * {
    width: calc(100% - 40px) !important;
  }

  .home .cd-now-cards .cd-card-image {
    height: 220px;
  }
}

/* ==================================================
   COTE DEHORS — FINITIONS HOMEPAGE V1.5
   ================================================== */

/* HEADER : plus compact et mieux contenu */
.home .site-header .ast-container {
  width: min(1240px, calc(100% - 60px)) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .main-header-bar {
  min-height: 76px;
}

.home .site-branding {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* ==================================================
   AXE EDITORIAL UNIQUE
   ================================================== */

.home .cd-intro .cd-eyebrow,
.home .cd-intro h2,
.home .cd-intro > p,
.home .cd-guides .cd-eyebrow,
.home .cd-guides h2,
.home .cd-guides > p,
.home .cd-tech .cd-eyebrow,
.home .cd-tech h2,
.home .cd-tech > p,
.home .cd-outdoor .cd-eyebrow,
.home .cd-outdoor h2,
.home .cd-outdoor .cd-outdoor-intro {
  width: min(1180px, calc(100% - 60px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

/* Paragraphes lisibles tout en gardant le même bord gauche */
.home .cd-intro > p,
.home .cd-tech > p,
.home .cd-outdoor .cd-outdoor-intro {
  padding-right: 360px;
  box-sizing: border-box;
}

/* ==================================================
   CHOIX DU TERRAIN
   ================================================== */

.home .cd-intro .wp-block-columns {
  gap: 20px;
  margin-top: 38px;
}

.home .cd-intro .wp-block-column {
  position: relative;
  min-height: 190px;
  padding: 30px 26px 26px !important;
  border: 1px solid #dfe6e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23,63,53,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home .cd-intro .wp-block-column::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: #24594b;
}

.home .cd-intro .wp-block-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(23,63,53,.09);
}

.home .cd-intro .wp-block-column h3 {
  margin-top: 0;
  font-size: 21px;
  line-height: 1.2;
}

.home .cd-intro .wp-block-column p {
  color: #66716c;
  line-height: 1.65;
}

/* ==================================================
   NOS DOSSIERS
   ================================================== */

.home .cd-guides {
  background:
    linear-gradient(135deg, #f7f5ef 0%, #f3f6f2 100%);
}

.home .cd-feature-cards {
  gap: 22px;
  margin-top: 38px;
}

.home .cd-feature-cards > .wp-block-column {
  position: relative;
  min-height: 225px;
  padding: 36px 32px !important;
  overflow: hidden;
  border: 1px solid #e1e7e3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23,63,53,.055);
}

.home .cd-feature-cards > .wp-block-column::after {
  content: "→";
  position: absolute;
  right: 28px;
  bottom: 25px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d6e0da;
  border-radius: 50%;
  color: #173f35;
  font-size: 21px;
}

.home .cd-feature-cards h3 {
  font-size: 25px;
  margin-bottom: 22px;
}

.home .cd-feature-cards p {
  max-width: 82%;
  color: #66716c;
  line-height: 1.65;
}

/* ==================================================
   TECHNOLOGIE RTK / LIDAR
   ================================================== */

.home .cd-tech {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%,
      rgba(223,233,225,.13),
      transparent 30%),
    #173f35 !important;
}

.home .cd-tech::after {
  content: "RTK  •  LiDAR  •  VISION";
  position: absolute;
  right: 7%;
  bottom: 35px;
  color: rgba(255,255,255,.08);
  font-size: clamp(30px,4vw,64px);
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap;
}

.home .cd-tech .cd-eyebrow {
  color: #c8ddd3 !important;
}

.home .cd-tech h2 {
  color: #fff !important;
}

.home .cd-tech > p {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.82) !important;
  line-height: 1.7;
}

/* ==================================================
   MIEUX PROFITER DEHORS
   ================================================== */

.home .cd-outdoor {
  background:
    linear-gradient(180deg,#f3f7f3 0%,#eef4ef 100%);
}

.home .cd-outdoor-cards {
  gap: 20px;
  margin-top: 40px;
}

.home .cd-outdoor-cards > .wp-block-column {
  position: relative;
  min-height: 235px;
  padding: 34px 28px !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(23,63,53,.05);
}

.home .cd-outdoor-cards > .wp-block-column::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 30px;
  border-radius: 20px;
  background: #24594b;
}

.home .cd-outdoor-cards > .wp-block-column::after {
  content: "→";
  position: absolute;
  right: 25px;
  bottom: 23px;
  color: #24594b;
  font-size: 25px;
}

.home .cd-outdoor-cards h3 {
  margin-top: 0;
  font-size: 22px;
  line-height: 1.2;
}

.home .cd-outdoor-cards p {
  padding-right: 10px;
  color: #66716c;
  line-height: 1.6;
}

/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 900px) {
  .home .cd-intro > p,
  .home .cd-tech > p,
  .home .cd-outdoor .cd-outdoor-intro {
    padding-right: 0;
  }

  .home .cd-tech::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .home .site-header .ast-container {
    width: calc(100% - 40px) !important;
  }

  .home .cd-intro .cd-eyebrow,
  .home .cd-intro h2,
  .home .cd-intro > p,
  .home .cd-guides .cd-eyebrow,
  .home .cd-guides h2,
  .home .cd-guides > p,
  .home .cd-tech .cd-eyebrow,
  .home .cd-tech h2,
  .home .cd-tech > p,
  .home .cd-outdoor .cd-eyebrow,
  .home .cd-outdoor h2,
  .home .cd-outdoor .cd-outdoor-intro {
    width: calc(100% - 40px) !important;
  }

  .home .cd-intro .wp-block-column,
  .home .cd-feature-cards > .wp-block-column,
  .home .cd-outdoor-cards > .wp-block-column {
    min-height: auto;
  }
}


/* COTE DEHORS — IMAGES ARTICLES V1.6 */
.single-post .wp-block-image {
  overflow: visible !important;
}

.single-post .wp-block-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 16px;
}


/* ==================================================
   COTE DEHORS — HERO MOBILE FINAL
   ================================================== */

@media (max-width: 600px) {

  .home .cd-hero {
    min-height: 0 !important;
    padding: 40px 24px 32px !important;

    background:
      linear-gradient(
        180deg,
        rgba(247,245,239,.97) 0%,
        rgba(247,245,239,.90) 45%,
        rgba(247,245,239,.18) 72%
      ),
      url('https://cotedehors.fr/wp-content/uploads/2026/10/cotedehors-hero-jardin-robot.webp')
      68% center / cover no-repeat !important;
  }

  .home .cd-hero > * {
    width: 100% !important;
  }

  .home .cd-hero .cd-eyebrow {
    font-size: 12px !important;
    line-height: 1.4 !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 18px !important;
  }

  .home .cd-hero h1 {
    font-size: 36px !important;
    line-height: 1.05 !important;
    letter-spacing: -1px !important;
    margin-bottom: 20px !important;
  }

  .home .cd-hero .cd-lead {
    font-size: 17px !important;
    line-height: 1.45 !important;
    margin-bottom: 24px !important;
  }

  .home .cd-hero .wp-block-buttons {
    gap: 10px !important;
    margin-bottom: 0 !important;
  }

  .home .cd-hero .wp-block-button__link {
    min-height: 48px !important;
    padding: 11px 18px !important;
    font-size: 16px !important;
  }

  .home .cd-hero .wp-block-button.is-style-outline .wp-block-button__link {
    background: rgba(255,255,255,.94) !important;
    color: #124f40 !important;
    border: 2px solid #124f40 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.10) !important;
  }

}


/* HOME MOBILE - rapprochement section A LA UNE */
@media (max-width: 600px) {
  .home .cd-now {
    padding-top: 28px !important;
  }
}

/* COTE DEHORS - masquer auteur/date des articles */
.single-post .entry-meta {
    display: none !important;
}


