/* Mise en page éditoriale de l’accueil Nazarian. */
.riv-home {
  --riv-ink: #1c352b; --riv-copy: #405147; --riv-leaf: #284f3b;
  --riv-bronze: #9c753d; --riv-line: #d7dcd1; --riv-paper: #f7f6f0;
  --riv-shell: 76rem; --riv-gutter: clamp(1.25rem, 5.35vw, 6rem);
  --riv-space: clamp(3.75rem, 7vw, 6.8rem);
  --riv-serif: 'Playfair Display', Georgia, serif;
  color: var(--riv-ink); background: white;
}
.riv-home .riv-shell { width: min(var(--riv-shell), calc(100% - var(--riv-gutter) * 2)); margin-inline: auto; }
.riv-home .riv-section { padding-block: var(--riv-space); }
.riv-home :where(.riv-heading,.riv-aside,.riv-card-copy) > :first-child { margin-top: 0; }
.riv-home :where(.riv-heading,.riv-aside,.riv-card-copy) > :last-child { margin-bottom: 0; }
.riv-home .riv-section h2, .riv-home .riv-contact h2 {
  font: 700 clamp(2.2rem,4.1vw,4.1rem)/1.08 var(--riv-serif); letter-spacing: -.05em;
  text-wrap: balance; text-transform: none; color: inherit; margin: 0;
}
.riv-home .riv-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(1.65rem,3.8vw,3.3rem); }
.riv-home .riv-heading h2 { max-width: 20ch; }
.riv-home .riv-heading p, .riv-home .riv-aside > p:not(.riv-kicker), .riv-home .riv-content > p {
  font-size: clamp(.97rem,1.08vw,1.09rem); line-height: 1.78; max-width: 58ch; margin: 1rem 0 0; color: var(--riv-copy);
}
.riv-home .riv-kicker { font: 650 .71rem/1.45 'Montserrat',Arial,sans-serif; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 1.15rem; }
.riv-home .riv-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; align-items: center; }
.riv-home :is(.riv-button,.riv-button-secondary) {
  display:inline-flex; align-items: center; justify-content: center; min-height: 3.1rem;
  padding: .8rem 1.45rem; border: 1px solid transparent; border-radius: .24rem;
  font-weight: 650; font-size: .88rem; line-height: 1.3; text-decoration: none;
}
.riv-home .riv-button { background:var(--riv-leaf); color:#fff; }
.riv-home .riv-button-secondary { background: transparent; color: inherit; border-color: currentColor; }
.riv-home a.riv-link { display:inline-flex; align-items:center; align-self: flex-end; min-height:2.75rem; font-size:.88rem; font-weight:650; line-height:1.45; color:inherit; text-decoration:underline; text-underline-offset:.36em; text-decoration-color:var(--riv-bronze); text-decoration-thickness:1px; }
.riv-home :is(.riv-section,.riv-hero,.riv-contact) :is(a,button,summary):focus-visible { outline:3px solid #c38d44; outline-offset:4px; }

/* The first photograph is fully present with or without JavaScript. */
body.naz-v13-home #accueil.riv-hero {
  position:relative; isolation:isolate; display:grid; overflow:hidden; min-height:33rem;
  height:clamp(33rem,calc(100vh - 7.6rem),59rem); height:clamp(33rem,calc(100svh - 7.6rem),59rem);
  background:#243e30; color:white;
}
.riv-hero-media, .riv-hero-media::after, .riv-hero-media .riv-slide { position:absolute; inset:0; }
.riv-hero-media { z-index:-1; overflow:hidden; }
.riv-hero-media::after { content:''; pointer-events:none; background:linear-gradient(180deg,rgba(13,27,19,.58),transparent 30%,transparent 69%,rgba(15,28,21,.28)),linear-gradient(90deg,rgba(13,26,18,.83) 0%,rgba(15,30,22,.59) 38%,rgba(14,32,23,.09) 75%); }
.riv-hero-media .riv-slide { display:block; opacity:0; pointer-events:none; }
.riv-hero-media .riv-slide:first-child,.riv-hero-media .riv-slide.is-current { opacity:1; }
.riv-hero-media[data-ready] .riv-slide:not(.is-current) { opacity:0; }
.riv-hero-media img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 53%; color:transparent; }
.riv-hero-inner { display:flex; align-items:center; position:relative; padding-block:var(--nev-header,6rem) 2.8rem; }
.riv-home .riv-hero-copy { max-width:min(100%,59rem); }
.riv-home .riv-hero .riv-kicker { display:flex; align-items:center; gap:.9rem; color:#f3e7d2; letter-spacing:.19em; text-shadow:0 1px 5px #172a1d; }
.riv-home .riv-hero .riv-kicker::before { content:''; width:2.4rem; height:1px; background:#dab987; }
.riv-home #accueil.riv-hero h1 { font:700 clamp(3.35rem,5.75vw,6.05rem)/1.04 var(--riv-serif); letter-spacing:-.035em; text-wrap:balance; margin:0; text-transform:none; color:white; text-shadow:0 2px 18px rgba(13,27,17,.25); }
.riv-home #accueil.riv-hero h1 :is(em,span) { display:block; font:italic 700 1em/1.04 var(--riv-serif); letter-spacing:inherit; color:#f5e4c9; }
.riv-hero .riv-lead { color:#f8f6f0; line-height:1.65; font-size:clamp(1rem,1.26vw,1.19rem); max-width:46ch; margin:1.35rem 0 0; text-shadow:0 1px 5px rgba(5,16,10,.5); }
.riv-hero .riv-actions { margin-top:clamp(1.4rem,3.2vw,2.4rem); }
.riv-hero .riv-button { color:#203e2a; background:#fbf9f0; }
.riv-hero .riv-button-secondary { color:white; background:rgba(22,39,28,.32); border-color:#c4c7b9; }
.riv-hero-controls { position:absolute; z-index:2; bottom:2rem; right:max(var(--riv-gutter),calc((100% - var(--riv-shell)) / 2)); display:flex; align-items:center; gap:.75rem; }
.riv-hero-inner .riv-hero-controls { right:0; }
.riv-hero-controls[hidden] { display:none; }
.riv-hero-controls button { display:grid; place-items:center; min-width:2.9rem;min-height:2.9rem; border-radius:50%; background:rgba(17,34,23,.65); color:white; border:1px solid rgba(255,255,255,.7); cursor:pointer; font:500 1.18rem/1 Arial,sans-serif; }
.riv-hero-controls [data-count] { color:#fff; font:600 .72rem/1.4 'Montserrat',Arial,sans-serif; letter-spacing:.12em; font-variant-numeric:tabular-nums; text-shadow:0 1px 4px #17291b; }
.riv-home #references-clients { position:relative; border-block-end:1px solid var(--riv-line); }

/* Three service families and a photographic portfolio. */
.riv-home #services { background:var(--riv-paper); }
.riv-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.1rem,2.6vw,2.6rem); }
.riv-service { min-width:0; position:relative; }
.riv-service figure,.riv-project { margin:0; }
.riv-service figure { position:relative; aspect-ratio:1.51; overflow:hidden; border-radius:.18rem; background:#d6dbcf; }
.riv-service figure img,.riv-project img { display:block;object-fit:cover;width:100%;height:100%; }
.riv-card-copy { padding:1.2rem 0 0; }
.riv-card-copy h3 { margin:0; font:700 clamp(1.45rem,2.05vw,2.18rem)/1.18 var(--riv-serif); letter-spacing:-.035em; color:var(--riv-ink); }
.riv-card-copy h3 a { text-decoration:none; }
.riv-card-copy p { margin:.6rem 0 .92rem; color:var(--riv-copy); font-size:.93rem; line-height:1.65; }
.riv-inline { display:flex; flex-wrap:wrap; align-items:baseline; gap:.45rem 1rem; margin:0; padding:0; list-style:none; }
.riv-inline a { display:inline-block; text-underline-offset:.25em; text-decoration:underline; text-decoration-color:#9eaf99; text-decoration-thickness:1px; font-size:.82rem; line-height:1.6; font-weight:600; }
.riv-home #realisations { background:#fff; }
.riv-gallery { display:grid; grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(0,1fr)); gap:clamp(.65rem,1.2vw,1.15rem); }
.riv-project { position:relative; overflow:hidden; background:#344c3a; color:white; min-height:0; }
.riv-project { min-height:clamp(17rem,31vw,26rem); }
.riv-project figcaption strong, .riv-project figcaption span { display:block; }
.riv-project figcaption strong { font:700 clamp(1.05rem,1.55vw,1.55rem)/1.2 var(--riv-serif); }
.riv-project figcaption span { font-size:.78rem; opacity:.92; margin-top:.2rem; }
.riv-project :is(img,picture),.riv-project > a { display:block; width:100%;height:100%; }
.riv-project img { position:absolute; inset:0; }
.riv-project figcaption { position:absolute;left:0;right:0;bottom:0; padding:2.6rem clamp(1.1rem,2vw,2rem) 1rem; pointer-events:none; background:linear-gradient(transparent,rgba(12,30,20,.78)); text-shadow:0 1px 4px rgba(0,0,0,.4); font:600 .91rem/1.5 'Montserrat',Arial,sans-serif; }
.riv-home #realisations .riv-actions { margin-top:1.5rem; }

/* More detailed information is arranged in practical, readable chapters. */
.riv-split { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); gap:clamp(2rem,7vw,7.2rem); align-items:start; }
.riv-aside h2 { max-width:17ch; }
.riv-home #entreprise { background:#203c30;color:#fff; }
.riv-home #entreprise .riv-aside > p:not(.riv-kicker),.riv-home #entreprise .riv-content > p { color:#e4e9e1; }
.riv-home #entreprise .riv-content > p:first-child { margin-top:0; }
.riv-home #entreprise .riv-kicker { color:#e9cfaa; }
.riv-home #entreprise .riv-details { margin-top:1.45rem; border-color:#617468; }
.riv-details { border-block:1px solid var(--riv-line); }
.riv-details + .riv-details { border-top:0; }
.riv-details summary { display:flex; align-items:center; justify-content:space-between; gap:1.2rem; cursor:pointer; padding:1rem .15rem 1rem 0; font-size:1.01rem; line-height:1.55; font-weight:600;list-style:none; }
.riv-details summary::-webkit-details-marker { display:none; }
.riv-details summary::after { content:'+'; display:grid; place-items:center; width:1.65rem;height:1.65rem;flex:none; font-size:1.3rem;line-height:1; font-weight:400; }
.riv-details[open] > summary::after { content:'−'; }
.riv-details > :where(p,ul,div) { margin:0; padding:0 1.5rem 1.15rem 0; line-height:1.7; font-size:.92rem; }
.riv-details ul { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem 1.4rem; padding-left:1rem;list-style:disc; }
.riv-home #expertises { background:var(--riv-paper); }
.riv-home .riv-experts,.riv-guides { border-top:1px solid var(--riv-line); }
.riv-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.95rem .3rem .95rem 0; border-bottom:1px solid var(--riv-line); color:inherit; text-decoration:none; }
.riv-row > span:first-child { min-width:0; }
.riv-row strong { display:block; font:700 clamp(1.12rem,1.65vw,1.55rem)/1.35 var(--riv-serif);letter-spacing:-.025em; }
.riv-row small { display:block; margin-top:.22rem; font-size:.86rem; line-height:1.5; color:var(--riv-copy); }
.riv-arrow { flex:none; position:relative; width:1.9rem;height:1.9rem; border-radius:50%;border:1px solid #aebda9; }
.riv-arrow::before,.riv-arrow::after { content:'';position:absolute; width:.6rem; height:1px; top:50%; left:50%; background:currentColor;transform:translate(-50%,-50%); }
.riv-arrow::after { transform:translate(-50%,-50%) rotate(90deg); }
.riv-guides .riv-arrow::before { width:.44rem;height:.44rem;background:transparent;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translate(-65%,-50%) rotate(45deg); }
.riv-guides .riv-arrow::after { display:none; }
.riv-home #zones { background:#edf0e7; }
.riv-places .riv-inline { gap:.6rem 1.2rem; }
.riv-places .riv-inline a { font-size:.94rem; }
.riv-places .riv-link { margin-top:.9rem; }
.riv-guides { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(1.4rem,4vw,4rem); }
.riv-home #faq { background:var(--riv-paper); }
.riv-home #contact.riv-contact { padding-block:var(--riv-space); }
.riv-contact > .container { width:min(var(--riv-shell),calc(100% - var(--riv-gutter) * 2)); max-width:none; padding-inline:0; }
.riv-home .riv-contact #ajaxForm { border-radius:.55rem; box-shadow:none; border:1px solid #dfe5da; background:#f6f7f1; }
.riv-home .riv-contact #ajaxForm input:not([type=hidden]),.riv-home .riv-contact #ajaxForm textarea { box-shadow:none;border:1px solid #d8ded4; border-radius:.35rem; }

@media (hover:hover) {
  .riv-home .riv-link:hover,.riv-home .riv-inline a:hover,.riv-card-copy h3 a:hover { color:#446d4f; text-decoration-color:currentColor; }
  .riv-home #entreprise .riv-link:hover { color:#ead3a8; }
  .riv-hero .riv-button:hover { background:#e4eedf; }
  .riv-hero .riv-button-secondary:hover,.riv-hero-controls button:hover { background:#233e2e; }
  .riv-home .riv-row:hover .riv-arrow { background:#274e38; color:white; border-color:#274e38; }
}
@media (prefers-reduced-motion:no-preference) {
  .riv-hero-media[data-ready] .riv-slide { transition:opacity .62s cubic-bezier(.3,0,.25,1); }
  .riv-hero-media[data-ready] .riv-slide img { transform:scale(1.026);transition:transform 1.4s cubic-bezier(.2,.6,.25,1); }
  .riv-hero-media[data-ready] .riv-slide.is-current img { transform:scale(1); }
  .riv-hero-copy { animation:riv-arrivee .85s cubic-bezier(.2,.65,.3,1) both; }
  @keyframes riv-arrivee { from { opacity:.76; transform:translateY(.9rem); } }
  .riv-button,.riv-button-secondary,.riv-row,.riv-arrow,.riv-hero-controls button { transition:background-color .24s,color .24s,border-color .24s,translate .24s; }
  .riv-gallery img,.riv-services figure img { transition:transform .7s cubic-bezier(.22,.68,.28,1); }
  @media (hover:hover) {
    .riv-row:hover .riv-arrow { translate:.2rem 0; }
    .riv-services .riv-service:hover figure img,.riv-gallery figure:hover img { transform:scale(1.035); }
  }
  .riv-details[open] > :is(p,div,ul) { animation:riv-deplier .24s ease-out; }
  @keyframes riv-deplier { from { transform:translateY(-.25rem);opacity:.7; } }
}
@media (max-width:900px) {
  .riv-home { --riv-gutter:clamp(1.35rem,4.5vw,3rem); }
  .riv-split { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:2.1rem; }
  .riv-home .riv-heading h2 { max-width:23ch; }
  .riv-services { gap:1.05rem; }
}
@media (max-width:767px) {
  .riv-home { --riv-gutter:clamp(1.18rem,5.6vw,2.3rem); --riv-space:clamp(3rem,9vw,4.2rem); }
  body.naz-v13-home #accueil.riv-hero { height:auto; min-height:max(22.8rem,calc(100vh - 12.4rem)); min-height:max(22.8rem,calc(100svh - 12.4rem)); }
  .riv-hero-inner { padding-block:calc(var(--nev-header) + 1.5rem) 4.85rem; }
  .riv-hero-media::after { background:linear-gradient(180deg,rgba(10,26,16,.48),rgba(7,25,15,.07) 28%,rgba(10,28,18,.64) 80%),linear-gradient(90deg,rgba(13,29,18,.66),rgba(13,30,18,.08)); }
  .riv-home #accueil.riv-hero h1 { font-size:clamp(2.5rem,9.3vw,4.55rem);max-width:100%; }
  .riv-home .riv-hero .riv-kicker { letter-spacing:.12em;gap:.6rem;margin-bottom:.75rem; }
  .riv-home .riv-hero .riv-kicker::before { width:1.5rem; }
  .riv-hero .riv-lead { font-size:clamp(.9rem,3.55vw,1.05rem); line-height:1.56;margin-top:.85rem;max-width:36ch; }
  .riv-hero .riv-actions { gap:.55rem; margin-top:1.2rem; }
  .riv-hero :is(.riv-button,.riv-button-secondary) { min-height:2.72rem;padding:.65rem .82rem;font-size:.81rem; }
  .riv-hero-controls { bottom:.8rem;gap:.5rem; }
  .riv-hero-controls button { min-width:2.65rem; min-height:2.65rem; }
  .riv-home .riv-heading { align-items:flex-start; flex-direction:column; gap:.45rem; }
  .riv-home .riv-heading .riv-link { align-self:flex-start; }
  .riv-services { grid-template-columns:1fr; gap:2.2rem; }
  .riv-service figure { aspect-ratio:1.9; }
  .riv-home .riv-card-copy { padding-top:.85rem; }
  .riv-home .riv-card-copy p { margin:.4rem 0 .6rem; }
  .riv-gallery { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
  .riv-project { min-height:0; }
  .riv-project:first-child { grid-column:1 / -1; aspect-ratio:1.6; }
  .riv-project:not(:first-child) { aspect-ratio:1.13; }
  .riv-project figcaption { padding:1.5rem .65rem .65rem; font-size:.75rem;line-height:1.38; }
  .riv-split,.riv-guides { grid-template-columns:1fr; }
  .riv-split { gap:1.45rem; }
  .riv-home .riv-aside h2 { max-width:22ch; }
  .riv-home .riv-contact #ajaxForm { padding:clamp(1.05rem,5vw,2rem); }
}
@media (max-width:370px) {
  .riv-home { --riv-gutter:1rem; }
  .riv-home #accueil.riv-hero h1 { font-size:2.45rem; }
  .riv-hero-inner { padding-block-start:calc(var(--nev-header) + .5rem);padding-block-end:3.85rem; }
  .riv-hero-controls { bottom:.5rem; }
  .riv-hero .riv-kicker { font-size:.65rem; }
}
@media (max-width:370px) and (max-height:680px) {
  .riv-home #accueil.riv-hero h1 { font-size:clamp(1.86rem,9.4vw,2.1rem); line-height:1.04; }
  .riv-home .riv-hero .riv-kicker { font-size:.62rem; margin-bottom:.45rem; }
  .riv-hero-inner { padding-block-start:calc(var(--nev-header) + .35rem);padding-block-end:3.25rem; }
  .riv-hero .riv-lead { font-size:.825rem; line-height:1.45; margin-top:.54rem; }
  .riv-hero .riv-actions { flex-wrap:nowrap; align-items:center; gap:.68rem; margin-top:.8rem; }
  .riv-home .riv-hero :is(.riv-button,.riv-button-secondary) { font-size:.75rem; min-height:2.55rem; padding:.45rem .65rem; }
  .riv-home .riv-hero .riv-button-secondary { border-color:transparent; padding-inline:0; text-decoration:underline; text-underline-offset:.35em; }
  .riv-hero-controls { bottom:.26rem; }
}
@media (forced-colors:active) { .riv-hero-copy { background:Canvas;padding:.5rem; } .riv-home .riv-hero-copy * { color:CanvasText; } }
