:root {
  --blue: #0a456f;
  --blue-dark: #052c49;
  --blue-deep: #031f34;
  --gold: #bd920f;
  --gold-light: #d8b64c;
  --cream: #f7f3e9;
  --white: #ffffff;
  --text-dark: #17394e;
  --text-soft: #647783;

  --radius-lg: 34px;
  --radius-md: 24px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  background: var(--blue-deep);
}

body {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(
      rgba(4, 35, 57, 0.40),
      rgba(4, 35, 57, 0.68)
    ),
    url("assets/domaine-drone.jpg")
      center center / cover fixed no-repeat;

  overscroll-behavior: none;
}

button,
input,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.hidden {
  display: none !important;
}


/* =========================================================
   APPLICATION
   ========================================================= */

.app {
  position: relative;
  width: 100%;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding:
    110px
    max(24px, env(safe-area-inset-right))
    40px
    max(24px, env(safe-area-inset-left));
}


/* =========================================================
   NAVIGATION PERMANENTE
   ========================================================= */

.kiosk-nav {
  position: fixed;
  z-index: 9000;

  top: 0;
  left: 0;
  right: 0;

  height: 86px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    12px
    max(24px, env(safe-area-inset-right))
    12px
    max(24px, env(safe-area-inset-left));

  background: rgba(4, 34, 55, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-button {
  width: auto;
  min-width: 160px;
  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  padding: 10px 22px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);

  color: white;

  font-size: 19px;
  font-weight: 700;
}

.home-button:active {
  transform: scale(0.97);
}

.home-icon {
  font-size: 28px;
  line-height: 1;
}

.nav-brand {
  margin-left: auto;
}

.nav-brand img {
  display: block;
  max-height: 58px;
  max-width: 170px;
  object-fit: contain;
}


/* =========================================================
   ÉCRANS
   ========================================================= */

.step {
  width: 100%;
}

.panel {
  width: min(92vw, 700px);

  padding: 34px;

  background: rgba(255, 255, 255, 0.97);
  color: var(--text-dark);

  border-radius: var(--radius-lg);
  border: 2px solid rgba(189, 146, 15, 0.85);

  box-shadow: var(--shadow);
}


/* =========================================================
   ACCUEIL V2
   ========================================================= */

.welcome-v2 {
  position: fixed;
  inset: 0;

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  z-index: 100;
}

.welcome-background {
  position: absolute;
  inset: 0;

  background:
    url("assets/domaine-drone.jpg")
    center center / cover no-repeat;

  transform: scale(1.03);
}

.welcome-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(2, 26, 43, 0.42) 0%,
      rgba(4, 40, 65, 0.65) 52%,
      rgba(2, 24, 40, 0.92) 100%
    );
}

.welcome-content {
  position: relative;
  z-index: 2;

  width: min(88vw, 700px);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  padding: 40px 0;
}

.welcome-logo {
  width: min(230px, 48vw);
  max-height: 150px;

  object-fit: contain;

  margin-bottom: 34px;

  filter:
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.welcome-intro {
  max-width: 650px;
}

.welcome-eyebrow {
  color: var(--gold-light);

  font-size: 15px;
  font-weight: 800;

  letter-spacing: 0.22em;

  margin-bottom: 13px;
}

.welcome-intro h1 {
  margin: 0;

  color: white;

  font-size: clamp(42px, 7vw, 68px);
  line-height: 0.98;

  letter-spacing: -0.035em;
}

.welcome-intro p {
  max-width: 580px;

  margin: 22px auto 35px;

  color: rgba(255, 255, 255, 0.88);

  font-size: clamp(18px, 2.8vw, 23px);
  line-height: 1.5;
}


/* =========================================================
   CARTES ACCUEIL
   ========================================================= */

.experience-grid {
  width: 100%;

  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.experience-card {
  position: relative;

  width: 100%;
  min-height: 145px;

  display: grid;
  grid-template-columns: 78px 1fr 42px;
  align-items: center;

  gap: 18px;

  padding: 24px;

  border-radius: 28px;

  text-align: left;

  color: white;

  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.26);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.experience-card:active {
  transform: scale(0.985);
}

.photo-card {
  background:
    linear-gradient(
      135deg,
      rgba(189, 146, 15, 0.98),
      rgba(155, 111, 0, 0.98)
    );
}

.domaine-card {
  background:
    linear-gradient(
      135deg,
      rgba(15, 79, 119, 0.98),
      rgba(4, 45, 73, 0.98)
    );

  border: 1px solid rgba(255, 255, 255, 0.20);
}

.experience-icon {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.16);

  font-size: 37px;
}

.experience-copy {
  display: flex;
  flex-direction: column;
}

.experience-small {
  margin-bottom: 5px;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.16em;

  opacity: 0.78;
}

.experience-copy strong {
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.1;
}

.experience-description {
  margin-top: 8px;

  font-size: 16px;
  line-height: 1.35;

  opacity: 0.88;
}

.experience-arrow {
  font-size: 38px;
  font-weight: 300;

  text-align: center;
}

.touch-hint {
  margin-top: 28px;

  color: rgba(255, 255, 255, 0.70);

  font-size: 15px;

  letter-spacing: 0.06em;
}


/* =========================================================
   TITRES DES ÉTAPES
   ========================================================= */

.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  margin-bottom: 26px;
}

.step-number {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  border-radius: 18px;

  background: var(--blue);
  color: white;

  font-size: 19px;
  font-weight: 800;
}

h2 {
  margin: 0 0 8px;

  color: var(--blue);

  font-size: clamp(29px, 5vw, 39px);
  line-height: 1.05;
}

.subtitle {
  margin: 0;

  color: #526c7d;

  font-size: 18px;
  line-height: 1.45;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.primary,
.secondary,
.print-btn,
.discover-btn {
  width: 100%;

  border-radius: 22px;

  padding: 21px 24px;

  font-weight: 800;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.primary:active,
.secondary:active,
.print-btn:active,
.discover-btn:active {
  transform: scale(0.98);
}

.primary {
  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold)
    );

  color: white;

  box-shadow:
    0 10px 24px rgba(155, 111, 0, 0.28);
}

.secondary {
  background: var(--cream);
  color: var(--blue);

  border: 2px solid rgba(189, 146, 15, 0.55);
}

.big-btn {
  margin-top: 20px;

  font-size: 23px;

  text-align: center;

  text-decoration: none;
}

.back-btn {
  margin-top: 13px;

  font-size: 18px;
}

.print-btn {
  margin-top: 13px;

  background: var(--blue);
  color: white;

  font-size: 21px;
}


/* =========================================================
   CADRES
   ========================================================= */

.frame-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.frame-card {
  width: 100%;

  padding: 10px;

  background: var(--cream);
  color: var(--blue);

  border: 4px solid transparent;
  border-radius: 24px;

  font-size: 17px;
  font-weight: 800;
}

.frame-card.active {
  background: white;

  border-color: var(--gold);

  box-shadow:
    0 0 0 4px rgba(189, 146, 15, 0.18);
}

.frame-preview {
  position: relative;

  width: 100%;
  aspect-ratio: 9 / 16;

  overflow: hidden;

  border-radius: 17px;

  background: #ddd;
}

.preview-photo,
.preview-frame {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.preview-photo {
  object-fit: cover;
}

.preview-frame {
  object-fit: fill;

  pointer-events: none;
}

.frame-card span {
  display: block;

  padding: 12px 0 6px;
}


/* =========================================================
   CAMERA
   ========================================================= */

.camera-zone {
  position: relative;

  width: 100%;

  overflow: hidden;

  border-radius: 28px;

  background: #080808;

  border: 3px solid var(--gold);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.20);
}

video {
  display: block;

  width: 100%;
  aspect-ratio: 9 / 16;

  object-fit: cover;

  background: #080808;
}

.countdown {
  position: absolute;
  inset: 0;

  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(4, 39, 63, 0.42);

  color: white;

  font-size: clamp(100px, 22vw, 180px);
  font-weight: 900;

  text-shadow:
    0 8px 30px rgba(0, 0, 0, 0.50);

  animation:
    countdownPulse 0.8s ease-in-out infinite;
}

@keyframes countdownPulse {
  0% {
    transform: scale(0.86);
    opacity: 0.68;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(0.86);
    opacity: 0.68;
  }
}

.flash {
  position: absolute;
  inset: 0;

  z-index: 5;

  background: white;

  opacity: 0;

  pointer-events: none;
}

.flash.active {
  animation: flashEffect 0.45s ease-out;
}

@keyframes flashEffect {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}


/* =========================================================
   APERÇU PHOTO
   ========================================================= */

.photo-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;

  overflow: hidden;

  border-radius: 28px;

  background: #111;

  border: 3px solid var(--gold);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.25);
}

#canvas {
  display: block;

  width: 100%;
  height: 100%;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.form-grid #email,
.form-grid #adresse_postale {
  grid-column: 1 / -1;
}

input {
  width: 100%;

  padding: 19px 18px;

  margin: 0;

  border: 2px solid #dce3e7;
  border-radius: 17px;

  background: #fafafa;

  color: var(--text-dark);

  font-size: 19px;
}

input:focus {
  outline: 0;

  background: white;

  border-color: var(--gold);

  box-shadow:
    0 0 0 4px rgba(189, 146, 15, 0.12);
}

.consent {
  display: grid;
  grid-template-columns: 34px 1fr;

  gap: 12px;

  align-items: flex-start;

  margin-top: 22px;

  color: #536b7b;

  font-size: 15px;
  line-height: 1.45;
}

.consent input {
  width: 27px;
  height: 27px;

  margin: 0;
}

.delivery-actions {
  margin-top: 8px;
}

#message {
  display: none;

  margin-top: 18px;
  padding: 16px;

  border-radius: 16px;

  text-align: center;

  font-weight: 700;
}

.success {
  display: block !important;

  background: #e3f7e7;
  color: #136b2d;
}

.error {
  display: block !important;

  background: #fde2e2;
  color: #9b1c1c;
}


/* =========================================================
   CONFIRMATION
   ========================================================= */

.confirmation {
  text-align: center;
}

.confirmation .check {
  width: 115px;
  height: 115px;

  margin: 5px auto 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold)
    );

  color: white;

  font-size: 72px;
  font-weight: 800;

  box-shadow:
    0 12px 30px rgba(189, 146, 15, 0.30);
}

.discover-box {
  margin-top: 28px;
  padding: 25px;

  border-radius: 25px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-dark)
    );

  color: white;

  border: 2px solid var(--gold);
}

.discover-title {
  margin-bottom: 9px;

  color: var(--gold-light);

  font-size: 23px;
  font-weight: 800;
}

.discover-text {
  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 17px;
  line-height: 1.45;
}

.discover-btn {
  display: inline-block;

  background: var(--gold);
  color: white;

  text-decoration: none;

  font-size: 18px;
}


/* =========================================================
   DOMAINE
   ========================================================= */

.domaine-view {
  width: min(92vw, 700px);
}

.domaine-placeholder {
  padding: 55px 35px;

  border-radius: var(--radius-lg);

  background: rgba(255, 255, 255, 0.97);

  color: var(--text-dark);

  text-align: center;

  border: 2px solid var(--gold);

  box-shadow: var(--shadow);
}

.domaine-logo {
  width: min(230px, 60%);

  margin-bottom: 30px;
}

.domaine-placeholder p {
  color: var(--text-soft);

  font-size: 19px;
  line-height: 1.5;
}

.domaine-link {
  display: block;
}


/* =========================================================
   ADMIN SECRET
   ========================================================= */

#admin-exit-zone {
  position: fixed;

  right: 0;
  bottom: 0;

  z-index: 99999;

  width: 90px;
  height: 90px;

  background: transparent;
}


/* =========================================================
   RESPONSIVE : ÉCRAN VERTICAL / TABLETTE
   ========================================================= */

@media (max-width: 700px) {

  .app {
    padding:
      96px
      15px
      25px;
  }

  .kiosk-nav {
    height: 76px;

    padding: 9px 15px;
  }

  .home-button {
    min-width: 125px;
    min-height: 54px;

    padding: 8px 15px;

    font-size: 16px;
  }

  .home-icon {
    font-size: 23px;
  }

  .nav-brand img {
    max-width: 120px;
    max-height: 50px;
  }

  .panel {
    width: 100%;

    padding: 23px;

    border-radius: 27px;
  }

  .welcome-content {
    width: 90vw;

    padding: 25px 0;
  }

  .welcome-logo {
    margin-bottom: 22px;
  }

  .welcome-intro p {
    margin-bottom: 25px;
  }

  .experience-card {
    min-height: 125px;

    grid-template-columns: 60px 1fr 30px;

    gap: 13px;

    padding: 18px;
  }

  .experience-icon {
    width: 58px;
    height: 58px;

    border-radius: 17px;

    font-size: 30px;
  }

  .experience-description {
    font-size: 14px;
  }

  .experience-arrow {
    font-size: 30px;
  }

  .frame-gallery {
    gap: 11px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid #email,
  .form-grid #adresse_postale {
    grid-column: auto;
  }

}


/* =========================================================
   GRAND ÉCRAN VERTICAL DE LA BORNE
   ========================================================= */

@media (min-width: 701px) and (orientation: portrait) {

  .panel,
  .domaine-view {
    width: min(84vw, 760px);
  }

  .welcome-content {
    width: min(80vw, 760px);
  }

  .experience-card {
    min-height: 165px;

    padding: 28px;
  }

  .frame-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   ÉCRAN PC HORIZONTAL POUR TES TESTS F12
   ========================================================= */

@media (min-width: 900px) and (orientation: landscape) {

  .welcome-content {
    width: min(900px, 86vw);
  }

  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .experience-card {
    min-height: 170px;
  }

}

/* Accueil : aucune barre de navigation */
body:has(#stepWelcome:not(.hidden)) .kiosk-nav {
  display: none;
}

/* L'accueil utilise réellement 100 % de l'écran */
body:has(#stepWelcome:not(.hidden)) .app {
  padding-top: 0;
}

/* =========================================================
   BORNE ELO - GRAND FORMAT PORTRAIT
   ========================================================= */

@media (min-width: 700px) and (orientation: portrait) {

  .welcome-content {
    width: min(86vw, 900px);
    min-height: 100vh;

    justify-content: center;

    padding: 70px 0;
  }

  .welcome-logo {
    width: 300px;
    max-height: 220px;

    margin-bottom: 55px;
  }

  .welcome-eyebrow {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .welcome-intro h1 {
    font-size: 76px;
    line-height: 0.98;
  }

  .welcome-intro p {
    max-width: 760px;

    margin: 32px auto 55px;

    font-size: 28px;
    line-height: 1.45;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 26px;

    width: 100%;
  }

  .experience-card {
    min-height: 210px;

    grid-template-columns: 120px 1fr 70px;

    gap: 28px;

    padding: 35px 40px;

    border-radius: 36px;
  }

  .experience-icon {
    width: 105px;
    height: 105px;

    border-radius: 30px;

    font-size: 52px;
  }

  .experience-small {
    font-size: 17px;
  }

  .experience-copy strong {
    font-size: 42px;
  }

  .experience-description {
    margin-top: 12px;

    font-size: 22px;
  }

  .experience-arrow {
    font-size: 55px;
  }

  .touch-hint {
    margin-top: 40px;

    font-size: 20px;
  }
}/* =========================================================
   BORNE ELO - GRAND FORMAT PORTRAIT
   ========================================================= */

@media (min-width: 700px) and (orientation: portrait) {

  .welcome-content {
    width: 88vw;
    max-width: 950px;

    min-height: 100vh;

    justify-content: center;

    padding: 90px 0;
  }

  .welcome-logo {
    width: 360px;
    max-height: 260px;

    margin-bottom: 65px;
  }

  .welcome-eyebrow {
    font-size: 25px;
    letter-spacing: 0.20em;

    margin-bottom: 22px;
  }

  .welcome-intro h1 {
    font-size: 92px;
    line-height: 0.98;
  }

  .welcome-intro p {
    max-width: 800px;

    margin: 38px auto 70px;

    font-size: 31px;
    line-height: 1.45;
  }

  .experience-grid {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 32px;
  }

  .experience-card {
    min-height: 245px;

    grid-template-columns: 135px 1fr 80px;

    gap: 32px;

    padding: 40px 45px;

    border-radius: 40px;
  }

  .experience-icon {
    width: 120px;
    height: 120px;

    border-radius: 32px;

    font-size: 60px;
  }

  .experience-small {
    margin-bottom: 8px;

    font-size: 19px;
    letter-spacing: 0.16em;
  }

  .experience-copy strong {
    font-size: 48px;
  }

  .experience-description {
    margin-top: 14px;

    font-size: 25px;
    line-height: 1.35;
  }

  .experience-arrow {
    font-size: 62px;
  }

  .touch-hint {
    margin-top: 48px;

    font-size: 23px;
  }
}

/* =========================================================
   BORNE ELO - CHOIX DU CADRE
   ========================================================= */

@media (min-width: 700px) and (orientation: portrait) {

  #step1.panel {
    width: 92vw;
    max-width: 1000px;

    padding: 48px;

    margin-top: 80px;

    border-radius: 42px;
  }

  #step1 .step-heading {
    gap: 28px;
    margin-bottom: 45px;
  }

  #step1 .step-number {
    width: 82px;
    height: 82px;

    border-radius: 24px;

    font-size: 27px;
  }

  #step1 h2 {
    font-size: 54px;
    margin-bottom: 12px;
  }

  #step1 .subtitle {
    font-size: 24px;
  }

  #step1 .frame-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  #step1 .frame-card {
    padding: 14px;

    border-radius: 28px;

    font-size: 23px;

    border-width: 5px;
  }

  #step1 .frame-preview {
    border-radius: 20px;
  }

  #step1 .frame-card span {
    padding: 17px 0 10px;

    font-size: 23px;
  }

  #step1 .big-btn {
    min-height: 105px;

    margin-top: 38px;

    border-radius: 28px;

    font-size: 31px;
  }
}

@media (min-width: 700px) and (orientation: portrait) {

  .kiosk-nav {
    height: 120px;
    padding: 20px 40px;
  }

  .home-button {
    min-width: 210px;
    min-height: 72px;

    padding: 14px 25px;

    border-radius: 20px;

    font-size: 23px;
  }

  .home-icon {
    font-size: 30px;
  }

  .nav-brand img {
    max-width: 180px;
    max-height: 72px;
  }

  .app {
    padding-top: 145px;
  }
}

/* =========================================================
   V2 - SUPPRESSION BARRE HAUTE
   Accueil flottant
   ========================================================= */

.kiosk-nav {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  height: auto;

  padding: 24px;

  pointer-events: none;
}

.home-button {
  pointer-events: auto;

  min-width: 190px;
  min-height: 70px;

  background: rgba(4, 45, 73, 0.88);
  color: white;

  border: 2px solid rgba(255, 255, 255, 0.35);

  border-radius: 22px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-brand {
  display: none;
}


/* Plus besoin de réserver 145px pour la barre */
@media (min-width: 700px) and (orientation: portrait) {

  .app {
    padding-top: 35px;
  }

  #step1.panel {
    margin-top: 100px;
  }

}


/* =========================================================
   CENTRAGE VERTICAL DU CHOIX DES CADRES
   ========================================================= */

@media (min-width: 700px) and (orientation: portrait) {

  #step1.panel {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;
  }

}

/* =========================================================
   BORNE ELO - ECRAN CAMERA
   ========================================================= */

@media (min-width: 700px) and (orientation: portrait) {

  #step2.panel {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 86vw;
    max-width: 900px;

    padding: 38px;

    margin: 0;

    border-radius: 40px;
  }

  #step2 .step-heading {
    gap: 24px;
    margin-bottom: 30px;
  }

  #step2 .step-number {
    width: 76px;
    height: 76px;

    border-radius: 22px;

    font-size: 25px;
  }

  #step2 h2 {
    font-size: 48px;
  }

  #step2 .subtitle {
    font-size: 23px;
  }

  #step2 .camera-zone {
    width: 100%;

    max-height: 1050px;

    border-radius: 32px;
  }

  #step2 video {
    width: 100%;
    height: 1000px;

    aspect-ratio: auto;

    object-fit: cover;
  }

  #step2 .primary.big-btn {
    min-height: 110px;

    margin-top: 28px;

    border-radius: 28px;

    font-size: 32px;
  }

  #step2 .back-btn {
    min-height: 80px;

    margin-top: 18px;

    border-radius: 24px;

    font-size: 24px;
  }

}

/* =========================================================
   COMPTE À REBOURS / SOURIEZ
   ========================================================= */

#step2 .countdown {
  border-radius: 30px;
  text-align: center;
  padding: 30px;
}

#step2 .smile-text {
  display: block;

  width: 100%;

  font-size: 70px;
  line-height: 1.05;

  text-align: center;

  color: white;

  white-space: nowrap;

  text-shadow:
    0 8px 25px rgba(0, 0, 0, 0.55);
}

@media (min-width: 700px) and (orientation: portrait) {

  #step2 .smile-text {
    font-size: 120px;
  }

}

 #stepPreview .primary.big-btn {
    min-height: 105px;

    margin-top: 28px;

    border-radius: 28px;

    font-size: 30px;
  }

  #stepPreview .back-btn {
    min-height: 80px;

    margin-top: 18px;

    border-radius: 24px;

    font-size: 24px;
  }
}

/* =========================================================
   CENTRAGE VERTICAL RÉEL DES ÉCRANS BORNE
   ========================================================= */

@media (min-width: 700px) and (orientation: portrait) {

  .app {
    min-height: 100vh;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  #step1.panel,
  #step2.panel,
  #stepPreview.panel {
    position: relative;

    top: auto;
    left: auto;

    transform: none;

    margin: auto;

    flex: 0 0 auto;
  }

}