/* ============================================
   JIMMY ULLOA — STYLE GLOBAL
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

/* --- Variables --- */
:root {
  --rouge: #c1181a;
  --noir: #0d0d0d;
  --footer: #111111;
  --gris: #f5f5f5;
  --blanc: #ffffff;
  --texte: #1a1a1a;
  --texte-light: #555555;
  --nav-height: 72px;
  --radius: 50px;
  --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 60px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--texte);
  transition: color var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--rouge);
}

.nav-links a.active {
  font-weight: 700;
  color: var(--texte);
}

.nav-links a.nav-cta {
  background: var(--rouge);
  color: var(--blanc) !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav-links a.nav-cta:hover {
  background: #a01416;
  color: var(--blanc) !important;
  transform: translateY(-1px);
}

/* Burger menu (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texte);
  transition: all 0.3s ease;
}

/* ============================================
   BOUTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-blanc {
  background: var(--blanc);
  color: var(--texte);
}

.btn-blanc:hover {
  background: var(--gris);
  transform: translateY(-2px);
}

.btn-rouge {
  background: var(--rouge);
  color: var(--blanc);
}

.btn-rouge:hover {
  background: #a01416;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 2px solid var(--blanc);
}

.btn-outline:hover {
  background: var(--blanc);
  color: var(--texte);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero — entrée au chargement */
.hero-content .hero-subtitle {
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.1s;
}
.hero-content .hero-title {
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.25s;
}
.hero-content .hero-desc {
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.4s;
}
.hero-content .btn {
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.55s;
}
.hero-photo-wrap {
  animation: fadeIn 0.9s ease both;
  animation-delay: 0.4s;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--noir);
  color: var(--blanc);
  height: calc(100vh - var(--nav-height));
  min-height: 500px;
  max-height: 780px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 560px;
  z-index: 2;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  opacity: 0.75;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 300;
  opacity: 0.8;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-photo-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.hero-photo {
  position: absolute;
  bottom: 0;
  right: 60px;
  height: 580px;
  width: auto;
  max-width: none;
  display: block;
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */

section {
  padding: 100px 60px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--texte-light);
  margin-bottom: 60px;
}

/* ============================================
   SECTION SERVICES (ACCUEIL)
   ============================================ */

.section-services {
  background: var(--gris);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--blanc);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.service-card:hover img {
  filter: grayscale(0%);
}

.service-card-body {
  padding: 20px;
}

.service-card-body h3 {
  font-size: 17px;
  font-weight: 700;
}

/* ============================================
   SECTION PROJETS — CARROUSEL
   ============================================ */

.section-projets {
  background: var(--blanc);
  padding-bottom: 100px;
}

.section-projets .section-inner {
  text-align: center;
}

.carousel-wrapper {
  width: 100%;
  overflow: visible;
  padding: 0 60px;
  margin-top: 40px;
}

.carousel-outer {
  overflow: hidden;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}

.carousel-viewport.dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  user-select: none;
}

.projet-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
}

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

.projet-card:hover img {
  transform: scale(1.04);
}

.projet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projet-card:hover .projet-overlay {
  opacity: 1;
}

.projet-name {
  color: var(--blanc);
  font-size: 18px;
  font-weight: 700;
}

.projet-type {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin-top: 4px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--footer);
  color: var(--blanc);
  padding: 60px 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.6;
  max-width: 320px;
  line-height: 1.7;
}

.footer-nav h4 {
  display: none;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.8;
  transition: color var(--transition), opacity var(--transition);
}

.footer-nav a:hover {
  color: var(--rouge);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.45;
}

/* ============================================
   PAGE HERO (pages secondaires)
   ============================================ */

.page-hero {
  background: var(--noir);
  color: var(--blanc);
  padding: 100px 60px;
  text-align: center;
}

.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  opacity: 0.7;
  font-weight: 300;
}

/* ============================================
   PAGE OFFRES
   ============================================ */

.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.offre-card {
  background: var(--blanc);
  border: 2px solid #ebebeb;
  border-radius: 20px;
  padding: 40px 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.offre-card:hover {
  border-color: var(--rouge);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(193,24,26,0.1);
}

.offre-card.featured {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.offre-card.featured:hover {
  border-color: var(--rouge);
}

.offre-icon {
  width: 52px;
  height: 52px;
  background: var(--gris);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 24px;
}

.offre-card.featured .offre-icon {
  background: rgba(255,255,255,0.1);
}

.offre-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.offre-card .offre-desc {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 28px;
  line-height: 1.6;
}

.offre-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}

.offre-card ul li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

.offre-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--rouge);
  border-radius: 50%;
  flex-shrink: 0;
}

.offre-cta {
  text-align: center;
  margin-top: 12px;
}

.offre-badge {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.offres-note {
  font-size: 20px;
  color: var(--texte-light);
  margin-top: 32px;
  font-style: italic;
}

.section-offres {
  background: var(--gris);
  text-align: center;
}

.offre-card-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  line-height: 0;
  font-size: 0;
}

.offre-card-img img {
  width: 100%;
  display: block;
  vertical-align: bottom;
}

.offre-card-img:not(.offre-featured-first) {
  transform: scale(0.9);
  transform-origin: center center;
}

.offre-featured-first {
  position: relative;
  z-index: 1;
}

/* Sur mobile, Starter Pack passe en premier */
@media (max-width: 768px) {
  .offres-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .offre-card-img {
    width: 85%;
  }
  .offre-featured-first {
    order: -1;
    transform: none;
    width: 85%;
  }
  .offre-card-img:not(.offre-featured-first) {
    transform: none;
  }
}

/* ============================================
   PAGE PORTFOLIO
   ============================================ */

.section-portfolio {
  background: var(--gris);
  padding-top: 48px;
}

.section-offres {
  padding-top: 48px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.portfolio-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  display: block;
  text-decoration: none;
  background: var(--gris);
}

.portfolio-item .img-nb,
.portfolio-item .img-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.4s ease;
}

.portfolio-item .img-nb {
  opacity: 1;
  z-index: 1;
}

.portfolio-item .img-color {
  opacity: 0;
  z-index: 2;
}

.portfolio-item:hover .img-nb {
  opacity: 0;
}

.portfolio-item:hover .img-color {
  opacity: 1;
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--blanc);
  font-size: 18px;
  font-weight: 700;
}

.portfolio-overlay span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  display: block;
  margin-top: 4px;
}

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

/* ============================================
   PAGE CONTACT (nouvelle version)
   ============================================ */

.section-contact {
  background: var(--gris);
  padding: 72px 60px 80px;
}

.contact-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--texte);
}

.contact-form-simple {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-simple input,
.contact-form-simple textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--texte);
  background: var(--blanc);
  border: none;
  border-radius: 100px;
  padding: 18px 28px;
  outline: none;
  width: 100%;
  transition: box-shadow var(--transition);
}

.contact-form-simple input::placeholder,
.contact-form-simple textarea::placeholder {
  color: #aaa;
}

.contact-form-simple input:focus,
.contact-form-simple textarea:focus {
  box-shadow: 0 0 0 2px var(--rouge);
}

.contact-form-simple textarea {
  border-radius: 24px;
  min-height: 200px;
  resize: vertical;
}

.contact-submit {
  background: var(--rouge);
  color: var(--blanc);
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 20px;
  width: 100%;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-submit:hover {
  background: #a01416;
  transform: translateY(-2px);
}

.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  background: var(--blanc);
  border-radius: 20px;
  margin-bottom: 64px;
}

.contact-success-icon {
  width: 64px;
  height: 64px;
  background: var(--rouge);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-success-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--texte);
  margin-bottom: 12px;
}

.contact-success-text {
  font-size: 16px;
  color: var(--texte-light);
  line-height: 1.6;
}

.contact-infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-info-icon {
  width: 80px;
  height: 80px;
  background: var(--blanc);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.contact-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-info-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--texte);
}

.contact-info-value {
  font-size: 15px;
  color: var(--texte-light);
  transition: color var(--transition);
}

.contact-info-value:hover {
  color: var(--rouge);
}

@media (max-width: 768px) {
  .section-contact {
    padding: 48px 24px 64px;
  }
  .contact-row {
    grid-template-columns: 1fr;
  }
  .contact-infos {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================
   PAGE MENTIONS LÉGALES
   ============================================ */

.section-mentions {
  background: var(--blanc);
  padding: 72px 60px 100px;
}

.mentions-inner {
  max-width: 760px;
}

.mentions-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 56px;
  color: var(--texte);
}

.mentions-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.mentions-block:last-child {
  border-bottom: none;
}

.mentions-block h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--texte);
}

.mentions-block p {
  font-size: 15px;
  color: var(--texte-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.mentions-block p:last-child {
  margin-bottom: 0;
}

.mentions-block a {
  color: var(--rouge);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .section-mentions {
    padding: 48px 24px 64px;
  }
}

/* ============================================
   PAGE CONTACT (ancienne version — conservée)
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--texte-light);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--gris);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: var(--blanc);
  color: var(--texte);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rouge);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .btn {
  align-self: flex-start;
  padding: 16px 40px;
  font-size: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero, section, .page-hero, footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  nav {
    padding: 0 32px;
  }

  .services-grid,
  .projets-grid,
  .offres-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--blanc);
    flex-direction: column;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 24px;
  }

  .nav-links.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 48px 24px 0;
    max-height: none;
    height: 520px;
    min-height: unset;
  }

  .hero-inner {
    height: 100%;
    align-items: flex-start;
    padding-top: 0;
  }

  .hero-content {
    max-width: 58%;
    padding-top: 20px;
    position: relative;
    z-index: 2;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-title {
    font-size: 32px !important;
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 14px !important;
    margin-bottom: 28px;
  }

  .btn-blanc {
    white-space: nowrap;
    padding: 14px 24px;
  }

  .hero-photo-wrap {
    width: auto;
    height: auto;
    right: 0;
    bottom: 0;
    overflow: visible;
  }

  .hero-photo {
    display: block;
    position: absolute;
    bottom: 0;
    right: -240px;
    height: 480px;
    width: auto;
    max-width: none;
    object-fit: unset;
  }

  .hero, section, .page-hero, footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  footer {
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .section-subtitle {
    margin-bottom: 32px;
  }

  .services-grid {
    margin-bottom: 32px;
  }

  .section-projets {
    padding-bottom: 48px;
  }

  .carousel-wrapper {
    margin-top: 24px;
  }

  .section-projets .section-inner:last-child {
    margin-top: 28px;
  }

  nav {
    padding: 0 24px;
  }

  .services-grid,
  .offres-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .carousel-wrapper {
    padding: 0 8px;
  }

  .projet-card {
    flex: 0 0 240px;
  }

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

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
