/*
Theme Name:   Design Effect V3
Theme URI:    https://design-effect.fr
Description:  Child theme minimaliste pour Astra — Design Effect V3
Author:       Design Effect
Author URI:   https://design-effect.fr
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  design-effect-v3
*/

/* ============================================================
   VARIABLES CSS GLOBALES
   ============================================================ */
:root {
  --de-navy:       #0D1B2A;
  --de-gold:       #C9A84C;
  --de-cream:      #F5F0E8;
  --de-white:      #FFFFFF;
  --de-navy-light: #162436;

  --de-font-title: 'Playfair Display', Georgia, serif;
  --de-font-body:  'Inter', Arial, sans-serif;

  --de-radius:     4px;
  --de-transition: 0.25s ease;

  --de-spacing-xs: 0.5rem;
  --de-spacing-sm: 1rem;
  --de-spacing-md: 2rem;
  --de-spacing-lg: 4rem;
}

/* ============================================================
   TYPOGRAPHIE GLOBALE
   ============================================================ */
body {
  font-family: var(--de-font-body);
  color: var(--de-navy);
  background-color: var(--de-white);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.widget-title {
  font-family: var(--de-font-title);
  color: var(--de-navy);
  font-weight: 700;
}

/* ============================================================
   HEADER — FOND NAVY
   ============================================================ */
#masthead,
.site-header,
.ast-site-header-wrap,
.main-header-bar {
  background-color: var(--de-navy) !important;
  border-bottom: none;
}

/* Logo texte fallback */
.site-title a,
.ast-site-identity a {
  color: var(--de-white) !important;
  font-family: var(--de-font-title);
  font-weight: 700;
}

/* ============================================================
   NAVIGATION — BLANCHE avec survol OR
   ============================================================ */
.main-header-bar .main-navigation a,
.ast-header-break-point .main-navigation a,
.main-navigation .menu > li > a {
  color: var(--de-white) !important;
  font-family: var(--de-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--de-transition);
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a,
.main-header-menu li a:hover,
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a {
  color: var(--de-gold) !important;
}

/* Sous-menus */
.main-navigation .sub-menu {
  background-color: var(--de-navy-light);
  border-top: 2px solid var(--de-gold);
}

.main-navigation .sub-menu a {
  color: var(--de-cream) !important;
}

.main-navigation .sub-menu a:hover {
  color: var(--de-gold) !important;
  background-color: var(--de-navy);
}

/* ============================================================
   BOUTON "DEMANDER UN DEVIS" dans le menu
   ============================================================ */
.menu-item-devis > a,
.nav-menu .menu-item-devis > a {
  background-color: var(--de-gold) !important;
  color: var(--de-navy) !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border-radius: var(--de-radius);
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background-color var(--de-transition), color var(--de-transition);
  margin-left: var(--de-spacing-xs);
}

.menu-item-devis > a:hover {
  background-color: var(--de-cream) !important;
  color: var(--de-navy) !important;
}

/* ============================================================
   FOOTER — FOND NAVY, TEXTE CRÈME
   ============================================================ */
#colophon,
.site-footer,
.ast-small-footer,
.footer-widget-area {
  background-color: var(--de-navy) !important;
  color: var(--de-cream) !important;
}

.site-footer a,
.ast-small-footer a,
.footer-widget-area a {
  color: var(--de-gold) !important;
  transition: color var(--de-transition);
}

.site-footer a:hover,
.ast-small-footer a:hover {
  color: var(--de-cream) !important;
}

.site-footer p,
.ast-small-footer p,
.ast-footer-copyright {
  color: var(--de-cream) !important;
}

/* Widgets footer */
.footer-widget-area .widget-title {
  color: var(--de-gold);
  font-family: var(--de-font-title);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: var(--de-spacing-xs);
  margin-bottom: var(--de-spacing-sm);
}

/* ============================================================
   BOUTONS GLOBAUX
   ============================================================ */
.ast-btn,
.button,
button,
input[type="submit"],
.wp-block-button__link {
  background-color: var(--de-gold);
  color: var(--de-navy);
  border: none;
  border-radius: var(--de-radius);
  font-family: var(--de-font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color var(--de-transition), color var(--de-transition);
}

.ast-btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--de-navy);
  color: var(--de-gold);
}

/* ============================================================
   LIENS GLOBAUX
   ============================================================ */
a {
  color: var(--de-gold);
  transition: color var(--de-transition);
}

a:hover {
  color: var(--de-navy);
}

/* ============================================================
   MENU MOBILE (hamburger)
   ============================================================ */
.ast-mobile-menu-buttons .menu-toggle,
.ast-header-break-point .menu-toggle {
  color: var(--de-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--de-radius);
}

.ast-mobile-menu-buttons .menu-toggle:hover {
  border-color: var(--de-gold);
  color: var(--de-gold);
}

/* Menu mobile ouvert */
.ast-header-break-point .main-navigation .menu,
.ast-mobile-header-stack .main-navigation .menu {
  background-color: var(--de-navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

/* Liens du menu mobile — couleur dorée */
.ast-mobile-header-content .menu-link,
.ast-mobile-header-content .main-header-menu a,
#ast-mobile-header .menu-link,
#ast-mobile-header .nav-link,
.ast-mobile-popup-menu a {
  color: #C9A84C !important;
}

.ast-mobile-header-content .menu-link:hover,
#ast-mobile-header .menu-link:hover {
  color: #E8C96A !important;
}

/* ============================================================
   MASQUER LE BOUTON ROSE NATIF D'ASTRA (Header Builder)
   ============================================================ */
.ast-header-button-1,
.ast-builder-button-wrap {
  display: none !important;
}

/* ============================================================
   RESET GLOBAL — overflow & scroll
   ============================================================ */
html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ============================================================
   OVERRIDE ASTRA — pleine largeur sur la home
   ============================================================ */

/* Supprimer le max-width imposé par Astra sur la home */
body.home .ast-container,
body.home #content,
body.home #primary,
body.home .site-content,
body.home .content-area,
body.home .ast-article-inner,
body.home .entry-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Supprimer les marges Astra sur l'article home */
body.home .site-content .ast-article-post,
body.home .hentry,
body.home article.page {
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   FRONT PAGE — BASE & CONTAINER
   ============================================================ */
.de-main {
  width: 100%;
  overflow-x: hidden;
}

/* Conteneur interne centré — max 1400px */
.de-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 5vw, 4rem);
  padding-right: clamp(1rem, 5vw, 4rem);
}

/* Sections full-width */
.de-section {
  width: 100%;
  position: relative;
}

/* ============================================================
   TYPOGRAPHIE COMMUNE AUX SECTIONS
   ============================================================ */
.de-eyebrow {
  display: inline-block;
  font-family: var(--de-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--de-gold);
  margin-bottom: 1rem;
}

.de-eyebrow--dark {
  color: var(--de-gold);
}

.de-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.de-section-title {
  font-family: var(--de-font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--de-navy);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.de-section-title em {
  font-style: italic;
  color: var(--de-gold);
}

.de-section-title--light {
  color: var(--de-cream);
}

.de-section-subtitle {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

.de-section-subtitle--light {
  color: rgba(245, 240, 232, 0.8);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.de-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--de-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: var(--de-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--de-transition),
              color var(--de-transition),
              border-color var(--de-transition),
              transform var(--de-transition);
  white-space: nowrap;
}

.de-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow:
    0 0 12px rgba(201, 168, 76, 0.5),
    0 0 28px rgba(201, 168, 76, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.de-btn--primary {
  background-color: var(--de-gold);
  color: var(--de-navy);
  border-color: var(--de-gold);
}

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

.de-btn--outline {
  background-color: transparent;
  color: var(--de-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.de-btn--outline:hover {
  border-color: var(--de-gold);
  color: var(--de-gold);
}

.de-btn--gold {
  background-color: var(--de-gold);
  color: var(--de-navy);
  border-color: var(--de-gold);
}

.de-btn--gold:hover {
  background-color: transparent;
  color: var(--de-gold);
}

.de-btn--outline-gold {
  background-color: transparent;
  color: var(--de-gold);
  border-color: var(--de-gold);
}

.de-btn--outline-gold:hover {
  background-color: var(--de-gold);
  color: var(--de-navy);
}

.de-btn--full {
  width: 100%;
}

.de-btn--mt {
  margin-top: 1.5rem;
}

/* ============================================================
   HÉRO
   ============================================================ */
.de-hero {
  background-image: linear-gradient(
    135deg,
    #0D1B2A 0%,
    #1A2A4A 60%,
    #1e3060 100%
  );
  padding: 80px 0;
  padding-bottom: 80px !important;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Grille décorative subtile */
.de-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(201, 168, 76, 0.04) 79px,
      rgba(201, 168, 76, 0.04) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(201, 168, 76, 0.04) 79px,
      rgba(201, 168, 76, 0.04) 80px
    );
  pointer-events: none;
  z-index: 0;
}

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

/* Grille 55% texte / 45% visuel */
.de-hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

/* Colonne texte */
.de-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.de-hero__title {
  font-family: var(--de-font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--de-white);
  line-height: 1.1;
  margin: 0.75rem 0 1.25rem;
}

.de-hero__title em {
  font-style: italic;
  color: var(--de-gold);
}

.de-hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.75;
  margin: 0 0 2rem;
  max-width: 520px;
}

.de-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Stats */
.de-hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  width: 100%;
}

.de-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.de-stat__num {
  font-family: var(--de-font-title);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--de-gold);
  line-height: 1;
}

.de-stat__label {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.de-hero__tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

/* Ligne du haut — séparateur entre les boutons et le texte */
.de-hero__tagline-line:first-child {
  display: block;
  width: 100%;
}

/* Ligne du bas — masquée */
.de-hero__tagline-line:last-child {
  display: none;
}

.de-hero__tagline p {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.7);
  white-space: normal;
  margin: 0;
}

.de-hero__tagline-line {
  height: 1px;
  background: linear-gradient(90deg, #C9A84C, transparent);
}

/* Colonne visuelle — background-image CSS */
.de-hero__visual {
  width: 100%;
  min-height: 500px;
  height: 100%;
  background-image: url('assets/images/hero.png'); /* fallback si JS désactivé */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

/* Cadre décoratif or autour du visuel */
.de-hero__visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(201, 168, 76, 0.3);
  border-radius: 9px;
  pointer-events: none;
  z-index: 1;
}

/* Dégradé bas du visuel */
.de-hero__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(13, 27, 42, 0.4));
  border-radius: 0 0 8px 8px;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   SERVICES
   ============================================================ */
.de-services {
  background-color: var(--de-white);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.de-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cartes services */
.de-card {
  background-color: var(--de-navy);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--de-transition),
              border-color var(--de-transition),
              box-shadow var(--de-transition);
  position: relative;
  overflow: hidden;
}

.de-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--de-gold), transparent);
  opacity: 0;
  transition: opacity var(--de-transition);
}

.de-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.de-card:hover::before {
  opacity: 1;
}

.de-card__icon {
  color: var(--de-gold);
  flex-shrink: 0;
}

.de-card__title {
  font-family: var(--de-font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--de-white);
  margin: 0;
}

.de-card__text {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.de-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--de-gold);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--de-transition);
  margin-top: auto;
}

.de-card__link:hover {
  color: var(--de-cream);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.de-portfolio {
  background-color: var(--de-navy);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

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

.de-portfolio__item {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

/* Placeholder thumbnail */
/* Carte portfolio — image en background-image */
.de-portfolio__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: border-color var(--de-transition), transform var(--de-transition);
  background-color: var(--de-navy-light); /* fallback si image manquante */
}

.de-portfolio__item:hover .de-portfolio__thumb {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-4px);
}

/* Overlay sombre permanent (bas) + survol global */
.de-portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0)    30%,
    rgba(13, 27, 42, 0.6)  70%,
    rgba(13, 27, 42, 0.85) 100%
  );
  transition: background var(--de-transition);
  z-index: 1;
}

.de-portfolio__item:hover .de-portfolio__overlay {
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0.3)  0%,
    rgba(13, 27, 42, 0.75) 60%,
    rgba(13, 27, 42, 0.92) 100%
  );
}

/* Infos superposées en bas à gauche */
.de-portfolio__info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1rem 1.25rem;
}

.de-portfolio__cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--de-gold);
  margin-bottom: 0.3rem;
}

.de-portfolio__name {
  font-family: var(--de-font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--de-white);
  margin: 0;
  line-height: 1.2;
}

/* Carte 06 — pleine largeur sur la dernière ligne */
/* Carte 07 — pleine largeur sur la dernière ligne */
.de-portfolio__item:nth-child(7) {
  grid-column: 1 / -1;
}

.de-portfolio__item:nth-child(7) .de-portfolio__thumb {
  aspect-ratio: 16 / 5;
  background-position: center center;
  background-size: cover;
}

.de-portfolio__cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.de-about {
  background-color: var(--de-cream);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.de-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* Colonne gauche : badge + valeurs */
.de-about__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Badge 5 ans */
.de-badge {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.de-badge__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: var(--de-navy);
  border-radius: 50%;
  text-align: center;
}

.de-badge__num {
  font-family: var(--de-font-title);
  font-size: 4rem;
  font-weight: 700;
  color: var(--de-gold);
  line-height: 1;
}

.de-badge__unit {
  font-family: var(--de-font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--de-white);
  line-height: 1;
}

.de-badge__sub {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Anneaux décoratifs */
.de-badge__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--de-gold);
}

.de-badge__ring--1 {
  width: 185px;
  height: 185px;
  opacity: 0.3;
}

.de-badge__ring--2 {
  width: 210px;
  height: 210px;
  opacity: 0.1;
}

/* Liste des valeurs */
.de-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.de-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--de-font-body);
  font-size: 0.95rem;
  color: var(--de-navy);
  font-weight: 500;
}

.de-value__dot {
  width: 8px;
  height: 8px;
  background-color: var(--de-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Colonne droite : contenu */
.de-about__content .de-section-title {
  margin-bottom: 1.5rem;
}

.de-about__text {
  font-size: 1rem;
  color: #3d4a5c;
  line-height: 1.8;
  margin: 0 0 1rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.de-contact {
  background-color: var(--de-navy);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.de-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* Colonne info */
.de-contact__desc {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.7;
  margin: 1rem 0 1.75rem;
}

.de-contact__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.de-contact__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--de-cream);
}

.de-contact__list a {
  color: var(--de-gold);
  text-decoration: none;
  transition: color var(--de-transition);
}

.de-contact__list a:hover {
  color: var(--de-cream);
}

.de-contact__icon {
  font-size: 1.125rem;
  color: var(--de-gold);
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

/* Garanties */
.de-contact__garanties {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.de-garantie {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.75);
}

.de-garantie__icon {
  color: var(--de-gold);
  font-size: 0.875rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================
   FORMULAIRE
   ============================================================ */
.de-contact__form-wrap {
  background-color: var(--de-navy-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.de-form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.de-form__row--2 {
  grid-template-columns: 1fr 1fr;
}

.de-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.de-form__group:last-child {
  margin-bottom: 0;
}

.de-form__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--de-cream);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.de-form__required {
  color: var(--de-gold);
  text-decoration: none;
  border-bottom: none;
  font-style: normal;
  font-size: 1rem;
}

.de-form__input,
.de-form__select,
.de-form__textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--de-radius);
  color: var(--de-cream);
  font-family: var(--de-font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--de-transition),
              background-color var(--de-transition),
              box-shadow var(--de-transition);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.de-form__input::placeholder,
.de-form__textarea::placeholder {
  color: rgba(245, 240, 232, 0.35);
}

.de-form__input:focus,
.de-form__select:focus,
.de-form__textarea:focus {
  outline: none;
  border-color: var(--de-gold);
  background-color: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.de-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.de-form__select option {
  background-color: var(--de-navy);
  color: var(--de-cream);
}

.de-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Feedback formulaire */
.de-form-feedback {
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.de-form-feedback p {
  margin: 0;
}

.de-form-feedback--success {
  background-color: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--de-gold);
}

.de-form-feedback--error {
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  margin-bottom: 1.25rem;
}

.de-form-feedback__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — TABLETTE (< 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .de-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .de-about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .de-about__left {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
  }

  .de-contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .de-contact__info {
    max-width: 600px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 768px) {

  .de-hero {
    padding: 60px 0 50px;
    min-height: auto;
  }

  .de-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .de-hero__visual {
    min-height: 280px;
    order: -1; /* Image en premier sur mobile */
  }

  .de-hero__title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .de-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .de-hero__ctas .de-btn {
    text-align: center;
    justify-content: center;
  }

  .de-hero__stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .de-services__grid {
    grid-template-columns: 1fr;
  }

  .de-portfolio__grid {
    grid-template-columns: 1fr;
  }

  .de-about__left {
    flex-direction: column;
    align-items: center;
  }

  .de-form__row--2 {
    grid-template-columns: 1fr;
  }

  .de-contact__form-wrap {
    padding: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE — PETIT MOBILE (< 480px)
   ============================================================ */
@media (max-width: 480px) {

  .de-hero__stats {
    gap: 1rem;
  }

  .de-stat__num {
    font-size: 1.5rem;
  }

  .de-badge {
    width: 160px;
    height: 160px;
  }

  .de-badge__inner {
    width: 130px;
    height: 130px;
  }

  .de-badge__num {
    font-size: 3rem;
  }

  .de-badge__ring--1 {
    width: 148px;
    height: 148px;
  }

  .de-badge__ring--2 {
    width: 168px;
    height: 168px;
  }
}

/* ============================================================
   RESPONSIVE — ULTRAWIDE (> 1800px)
   ============================================================ */
@media (min-width: 1800px) {

  .de-container {
    max-width: 1600px;
  }

  .de-hero__title {
    font-size: 4.5rem;
  }
}

/* ============================================================
   PAGES SERVICES — OVERRIDE ASTRA FULL WIDTH
   ============================================================ */
body.de-service-template .ast-container,
body.de-service-template #content,
body.de-service-template #primary,
body.de-service-template .site-content,
body.de-service-template .content-area,
body.de-service-template .ast-article-inner,
body.de-service-template .entry-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

body.de-service-template .site-content .ast-article-post,
body.de-service-template .hentry,
body.de-service-template article.page {
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   .de-service-page — HÉRO PLEINE LARGEUR
   ============================================================ */
.de-service-page__hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay navy semi-transparent */
.de-service-page__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.7);
  z-index: 1;
}

.de-service-page__hero .de-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 120px;
  padding-bottom: 80px;
}

.de-service-page__hero-tag {
  display: inline-block;
  font-family: var(--de-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--de-gold);
  margin-bottom: 1rem;
}

.de-service-page__hero-title {
  font-family: var(--de-font-title);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--de-white);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 800px;
}

.de-service-page__hero-subtitle {
  font-family: var(--de-font-body);
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  color: var(--de-gold);
  font-weight: 500;
  margin: 0 0 1.25rem;
  max-width: 620px;
  line-height: 1.5;
}

.de-service-page__hero-desc {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 0 2.5rem;
}

/* ============================================================
   .de-service-page — DESCRIPTION (fond crème)
   ============================================================ */
.de-service-page__desc {
  background-color: var(--de-cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.de-service-page__desc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.de-service-page__desc-title {
  font-family: var(--de-font-title);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--de-navy);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.2;
}

.de-service-page__desc-text {
  font-size: 1rem;
  color: #3d4a5c;
  line-height: 1.85;
  margin: 0 0 1.25rem;
}

.de-service-page__deliverables-title {
  font-family: var(--de-font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--de-navy);
  margin: 0 0 1.25rem;
}

.de-service-page__deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.de-service-page__deliverable {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: var(--de-navy);
  line-height: 1.55;
}

.de-service-page__deliverable::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background-color: var(--de-gold);
  border-radius: 50%;
  margin-top: 0.38rem;
  flex-shrink: 0;
}

/* ============================================================
   .de-service-page — GALERIE (fond navy)
   ============================================================ */
.de-service-page__gallery {
  background-color: var(--de-navy);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.de-service-page__gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.de-service-page__gallery-grid {
  display: grid;
  gap: 1.5rem;
}

.de-service-page__gallery-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.de-service-page__gallery-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.de-service-page__gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: border-color var(--de-transition), transform var(--de-transition);
}

.de-service-page__gallery-item:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-4px);
}

.de-service-page__gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--de-navy-light);
  display: flex;
  align-items: flex-end;
}

.de-service-page__gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0)    30%,
    rgba(13, 27, 42, 0.6)  70%,
    rgba(13, 27, 42, 0.85) 100%
  );
  z-index: 1;
}

.de-service-page__gallery-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1rem 1.25rem;
}

.de-service-page__gallery-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--de-gold);
  margin-bottom: 0.3rem;
}

.de-service-page__gallery-name {
  font-family: var(--de-font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--de-white);
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   .de-service-page — CTA FINAL (fond navy)
   ============================================================ */
.de-service-page__cta {
  background-color: var(--de-navy);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.de-service-page__cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.de-service-page__cta-title {
  font-family: var(--de-font-title);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--de-white);
  margin: 1rem 0 1.5rem;
  line-height: 1.2;
}

.de-service-page__cta-title em {
  font-style: italic;
  color: var(--de-gold);
}

.de-service-page__cta-text {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.8;
  margin: 0 auto 2.5rem;
  max-width: 600px;
}

/* ============================================================
   .de-service-page — RESPONSIVE TABLETTE (< 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .de-service-page__desc-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .de-service-page__gallery-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   .de-service-page — RESPONSIVE MOBILE (< 768px)
   ============================================================ */
@media (max-width: 768px) {

  .de-service-page__hero {
    min-height: 70vh;
  }

  .de-service-page__hero .de-container {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .de-service-page__hero-title {
    font-size: clamp(2.25rem, 7vw, 3rem);
  }

  .de-service-page__gallery-grid--2,
  .de-service-page__gallery-grid--3 {
    grid-template-columns: 1fr;
  }
}
