/* ==========================================================
   A TUTTA ZAMPA — BASE
   Variabili CSS, reset, tipografia, layout
   v1.1.0 | 2025-04-27
   ========================================================== */
/* ==========================================================
   CSS CUSTOM PROPERTIES — Brand A Tutta Zampa
   ========================================================== */
:root {
  --color-primary:       #1A4F8A;
  --color-primary-dark:  #123869;
  --color-primary-light: #2A6CB8;
  --color-secondary:     #3ABFA0;
  --color-secondary-dark:#2A9B82;
  --color-secondary-light:#5DD3B8;
  --color-accent:        #5BAD6F;
  --color-gold:          #D4A843;

  --color-bg:            #FFFFFF;
  --color-bg-light:      #F8FAFB;
  --color-bg-blue:       #EEF4FB;
  --color-bg-teal:       #EAF9F6;

  --color-text:          #2C3E50;
  --color-text-medium:   #5D6D7E;
  --color-text-light:    #8FA3B1;
  --color-border:        #DDE6EE;

  --font-heading:        'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:           'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-script:         'Dancing Script', cursive;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(26,79,138,.08), 0 1px 2px rgba(26,79,138,.06);
  --shadow-md:  0 4px 16px rgba(26,79,138,.12), 0 2px 8px rgba(26,79,138,.08);
  --shadow-lg:  0 12px 40px rgba(26,79,138,.15), 0 4px 16px rgba(26,79,138,.10);
  --shadow-xl:  0 24px 60px rgba(26,79,138,.18);

  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --container:  1200px;
  --section-pad: 80px;
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-secondary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; line-height: 1.8; color: var(--color-text-medium); }
.text-script { font-family: var(--font-script); font-weight: 400; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-light); }

/* ==========================================================
   LAYOUT
   ========================================================== */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container-narrow { max-width: 800px; }
.container-wide { max-width: 1400px; }

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.section-sm { padding-top: 48px; padding-bottom: 48px; }
.section-lg { padding-top: 120px; padding-bottom: 120px; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }